summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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