[coreboot] [commit] r5213 - trunk

repository service svn at coreboot.org
Mon Mar 15 14:35:19 CET 2010

Author: oxygene
Date: Mon Mar 15 14:35:19 2010
New Revision: 5213
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5213

Create a new build.h on every make call; this makes sure it contains a
valid compiler signature and time stamp. Since we maintain correct build.h
dependencies in the source code we can also drop "prepare2"

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Ronald G. Minnich <rminnich at gmail.com>


Modified: trunk/Makefile
--- trunk/Makefile	Mon Mar 15 11:32:59 2010	(r5212)
+++ trunk/Makefile	Mon Mar 15 14:35:19 2010	(r5213)
@@ -306,7 +306,7 @@
-coreboot: prepare prepare2 $(obj)/coreboot.rom
+coreboot: prepare $(obj)/coreboot.rom
@@ -315,9 +315,7 @@
 	mkdir -p $(obj)/util/kconfig/lxdialog $(obj)/util/cbfstool
 	test -n "$(alldirs)" && mkdir -p $(alldirs) || true
-prepare2: $(obj)/build.h
+$(obj)/build.h: .xcompile
 	@printf "    GEN        build.h\n"
 	rm -f $(obj)/build.h
 	printf "/* build system definitions (autogenerated) */\n" > $(obj)/build.ht
@@ -386,5 +384,5 @@
 	@# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
 	$(HOSTCC) -g $(STACK) -Wall -o $@ $<
-.PHONY: $(PHONY) prepare prepare2 clean distclean doxygen doxy coreboot
+.PHONY: $(PHONY) prepare clean distclean doxygen doxy coreboot .xcompile

More information about the coreboot mailing list