summaryrefslogtreecommitdiff
path: root/extra/config/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/config/symbol.c')
-rw-r--r--extra/config/symbol.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/extra/config/symbol.c b/extra/config/symbol.c
index d02876060..7ec2ff48b 100644
--- a/extra/config/symbol.c
+++ b/extra/config/symbol.c
@@ -61,24 +61,28 @@ void sym_init(void)
uname(&uts);
+#if 0
sym = sym_lookup("ARCH", 0);
sym->type = S_STRING;
sym->flags |= SYMBOL_AUTO;
p = getenv("ARCH");
if (p)
sym_add_default(sym, p);
+#endif
- sym = sym_lookup("KERNELRELEASE", 0);
+ sym = sym_lookup("VERSION", 0);
sym->type = S_STRING;
sym->flags |= SYMBOL_AUTO;
- p = getenv("KERNELRELEASE");
+ p = getenv("VERSION");
if (p)
sym_add_default(sym, p);
+#if 0
sym = sym_lookup("UNAME_RELEASE", 0);
sym->type = S_STRING;
sym->flags |= SYMBOL_AUTO;
sym_add_default(sym, uts.release);
+#endif
sym = sym_lookup("TARGET_ARCH", 0);
sym->type = S_STRING;