summaryrefslogtreecommitdiff
path: root/payloads/coreinfo/Makefile
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-04-03 22:20:35 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-04-03 22:20:35 +0000
commitc7582274068429db814b130ba83e6f123c961f80 (patch)
tree1ee025ce69019d9a0313f9195e0d103d8f5a32d5 /payloads/coreinfo/Makefile
parent0a89625f55ac3b220b89fe7f122e98ef49af925b (diff)
downloadcoreboot-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/Makefile')
-rw-r--r--payloads/coreinfo/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile
index a05edbc051..e3d4b6ed1b 100644
--- a/payloads/coreinfo/Makefile
+++ b/payloads/coreinfo/Makefile
@@ -59,8 +59,7 @@ TARGET = $(obj)/coreinfo.elf
ifeq ($(strip $(HAVE_DOTCONFIG)),)
-all:
- $(Q)printf "Please run make config/menuconfig/xconfig/gconfig first.\n"
+all: config
else
@@ -91,9 +90,10 @@ prepare:
$(Q)mkdir -p $(obj)/util/kconfig/lxdialog
clean:
- $(Q)rm -rf build
+ $(Q)rm -rf build/util build/*.conf build/*.cmd build/*.elf build/*.o
distclean: clean
+ $(Q)rm -rf build
$(Q)rm -f .config .config.old ..config.tmp .kconfig.d .tmpconfig*
include util/kconfig/Makefile