fix "make" after "rm -rf build"

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
diff --git a/Makefile b/Makefile
index 008e399..2f0f4de 100644
--- a/Makefile
+++ b/Makefile
@@ -124,9 +124,11 @@
 	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