← Commit list

c6ab08500

Denis Vlasenko
Denis Vlasenko
2009-02-15
FAILED Duration: 29s

Subject

Make "shadowed" numeric config entries (ones which depend on other options which are off) to have the value of 0, not "".

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

scripts/kconfig/confdata.c+2 -0
@@ -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);