summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-21 22:35:58 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-21 22:35:58 +0000
commit1425add4c83cf55ed57c33607fb9922c77905565 (patch)
tree7eccb648a2e25a711c7d72fcd5716667d0526ec6 /Makefile
parent121f0b8cf0999af0ead783c72fab151156325a69 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 008e399e1f..2f0f4de9ff 100644
--- 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