projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ea429
)
Make "shadowed" numeric config entries (ones which depend on
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 15 Feb 2009 12:01:14 +0000
(12:01 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 15 Feb 2009 12:01:14 +0000
(12:01 -0000)
other options which are off) to have the value of 0, not "".
scripts/kconfig/confdata.c
patch
|
blob
|
history
diff --git
a/scripts/kconfig/confdata.c
b/scripts/kconfig/confdata.c
index ec107bf929168d6cbf34e0cca92a042d5798435c..58ea96d5c43e5e30532bfec6493b2086169afb2d 100644
(file)
--- a/
scripts/kconfig/confdata.c
+++ b/
scripts/kconfig/confdata.c
@@
-524,6
+524,8
@@
int conf_write(const char *name)
}
case S_INT:
str = sym_get_string_value(sym);
+ if (!str[0])
+ str = "0";
fprintf(out, "CONFIG_%s=%s\n", sym->name, str);
if (out_h) {
fprintf(out_h, "#define CONFIG_%s %s\n", sym->name, str);