diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-04-03 22:20:35 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-04-03 22:20:35 +0000 |
commit | c7582274068429db814b130ba83e6f123c961f80 (patch) | |
tree | 1ee025ce69019d9a0313f9195e0d103d8f5a32d5 /payloads/coreinfo/util | |
parent | 0a89625f55ac3b220b89fe7f122e98ef49af925b (diff) | |
download | coreboot-c7582274068429db814b130ba83e6f123c961f80.tar.xz |
Doing another 'make' after a 'make clean' was broken until now. Fix it
by not deleting build/config.h during 'make clean' (only in 'make distclean').
Also, change the default behaviour of 'make' from asking the user to
run 'make config' (or similar) to actually _run_ 'make config' without
asking questions. It's always possible to explicitly invoke
'make menuconfig' or 'make xconfig' and so on, of course.
Finally, make _all_ targets (allyesconfig, randconfig, and so on)
generate a build/config.h file, as we always #include it.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3211 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/coreinfo/util')
-rw-r--r-- | payloads/coreinfo/util/kconfig/conf.c | 4 | ||||
-rw-r--r-- | payloads/coreinfo/util/kconfig/confdata.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/payloads/coreinfo/util/kconfig/conf.c b/payloads/coreinfo/util/kconfig/conf.c index cb215a6c70..3d42572420 100644 --- a/payloads/coreinfo/util/kconfig/conf.c +++ b/payloads/coreinfo/util/kconfig/conf.c @@ -624,6 +624,10 @@ int main(int ac, char **av) fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); return 1; } + if (conf_write_autoconf()) { + fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); + return 1; + } skip_check: if (input_mode == ask_silent && conf_write_autoconf()) { fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); diff --git a/payloads/coreinfo/util/kconfig/confdata.c b/payloads/coreinfo/util/kconfig/confdata.c index da24d2759f..087b366f21 100644 --- a/payloads/coreinfo/util/kconfig/confdata.c +++ b/payloads/coreinfo/util/kconfig/confdata.c @@ -679,8 +679,10 @@ int conf_write_autoconf(void) file_write_dep("build/auto.conf.cmd"); +#if 0 if (conf_split_config()) return 1; +#endif out = fopen(".tmpconfig", "w"); if (!out) |