fix "make" after "rm -rf build"
authorStefan Reinauer <stepan@coresystems.de>
Sun, 21 Mar 2010 22:35:58 +0000 (22:35 +0000)
committerStefan Reinauer <stepan@openbios.org>
Sun, 21 Mar 2010 22:35:58 +0000 (22:35 +0000)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5264 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

Makefile

index 008e399e1f3a244517688422d2b11b4622a24858..2f0f4de9ff871fdc852beb6682c9aa27adeac58a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -124,9 +124,11 @@ all:
        chmod +x .ccwrap
        scan-build $(CONFIG_SCANBUILD_REPORT_LOCATION) -analyze-headers --use-cc=$(top)/.ccwrap --use-c++=$(top)/.ccwrap $(MAKE) INNER_SCANBUILD=y
 else
-all: coreboot
+all: $(obj)/config.h coreboot
 endif
 
+$(obj)/config.h:
+       $(MAKE) oldconfig
 
 #######################################################################
 # Build the tools