From: Denis Vlasenko Date: Sun, 15 Feb 2009 12:01:14 +0000 (-0000) Subject: Make "shadowed" numeric config entries (ones which depend on X-Git-Tag: 1_14_0~324 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c6ab0850027e65b2ce880da1527690e2a5f93b03;p=oweals%2Fbusybox.git Make "shadowed" numeric config entries (ones which depend on other options which are off) to have the value of 0, not "". --- diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index ec107bf92..58ea96d5c 100644 --- 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);