aboutsummaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-10-08 14:35:39 -0500
committerRob Landley <rob@landley.net>2019-10-08 14:35:39 -0500
commit511e6a97d4b7f7f258e847a75adf728e9753a340 (patch)
tree1c944b3bf965f54e0f8cdfc01434a66048998373 /kconfig
parent84cf40d8fad184b89060821a0c8e8935d176cbe7 (diff)
downloadtoybox-511e6a97d4b7f7f258e847a75adf728e9753a340.tar.gz
Disable conflicting internal symbol "ARCH".
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/symbol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kconfig/symbol.c b/kconfig/symbol.c
index ee225ced..6dbed0e5 100644
--- a/kconfig/symbol.c
+++ b/kconfig/symbol.c
@@ -55,12 +55,14 @@ void sym_init(void)
uname(&uts);
+/*
sym = sym_lookup("ARCH", 0);
sym->type = S_STRING;
sym->flags |= SYMBOL_AUTO;
p = getenv("ARCH");
if (p)
sym_add_default(sym, p);
+*/
sym = sym_lookup("KERNELVERSION", 0);
sym->type = S_STRING;