Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77984
b: refs/heads/master
c: 80daa56
h: refs/heads/master
v: v3
  • Loading branch information
Roman Zippel authored and Sam Ravnborg committed Jan 28, 2008
1 parent 04f2b31 commit 497b40c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93449082e905ce73d0346d617dd67c4b668b58af
refs/heads/master: 80daa56008dad44f08d0b47670cf2513aa98ab53
8 changes: 8 additions & 0 deletions trunk/init/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
config ARCH
string
option env="ARCH"

config KERNELVERSION
string
option env="KERNELVERSION"

config DEFCONFIG_LIST
string
depends on !UML
Expand Down
15 changes: 0 additions & 15 deletions trunk/scripts/kconfig/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ void sym_init(void)
{
struct symbol *sym;
struct utsname uts;
char *p;
static bool inited = false;

if (inited)
Expand All @@ -56,20 +55,6 @@ 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;
sym->flags |= SYMBOL_AUTO;
p = getenv("KERNELVERSION");
if (p)
sym_add_default(sym, p);

sym = sym_lookup("UNAME_RELEASE", 0);
sym->type = S_STRING;
sym->flags |= SYMBOL_AUTO;
Expand Down

0 comments on commit 497b40c

Please sign in to comment.