diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-05 05:02:53 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-05 05:02:53 +0000 |
commit | ebaee63a76b0c3117d72bcb7bf8cb3bf03a83361 (patch) | |
tree | 05216d14cb4825ef5812369686ec1a414cc2ce50 | |
parent | d79988b6ec28b70c2db783a847acedc4f6a42984 (diff) |
Patch from M. R. Brown to fix 'make defconfig'
-rw-r--r-- | extra/config/symbol.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/config/symbol.c b/extra/config/symbol.c index 59c88d253..d02876060 100644 --- a/extra/config/symbol.c +++ b/extra/config/symbol.c @@ -79,6 +79,13 @@ void sym_init(void) sym->type = S_STRING; sym->flags |= SYMBOL_AUTO; sym_add_default(sym, uts.release); + + sym = sym_lookup("TARGET_ARCH", 0); + sym->type = S_STRING; + sym->flags |= SYMBOL_AUTO; + p = getenv("TARGET_ARCH"); + if (p) + sym_add_default(sym, p); } int sym_get_type(struct symbol *sym) |