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@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5213 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
8f4546f7ca
commit
c0fbbd0416
8
Makefile
8
Makefile
|
@ -306,7 +306,7 @@ ifeq ($(CONFIG_COMPRESSED_PAYLOAD_LZMA),y)
|
||||||
CBFS_PAYLOAD_COMPRESS_FLAG:=l
|
CBFS_PAYLOAD_COMPRESS_FLAG:=l
|
||||||
endif
|
endif
|
||||||
|
|
||||||
coreboot: prepare prepare2 $(obj)/coreboot.rom
|
coreboot: prepare $(obj)/coreboot.rom
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -315,9 +315,7 @@ prepare:
|
||||||
mkdir -p $(obj)/util/kconfig/lxdialog $(obj)/util/cbfstool
|
mkdir -p $(obj)/util/kconfig/lxdialog $(obj)/util/cbfstool
|
||||||
test -n "$(alldirs)" && mkdir -p $(alldirs) || true
|
test -n "$(alldirs)" && mkdir -p $(alldirs) || true
|
||||||
|
|
||||||
prepare2: $(obj)/build.h
|
$(obj)/build.h: .xcompile
|
||||||
|
|
||||||
$(obj)/build.h:
|
|
||||||
@printf " GEN build.h\n"
|
@printf " GEN build.h\n"
|
||||||
rm -f $(obj)/build.h
|
rm -f $(obj)/build.h
|
||||||
printf "/* build system definitions (autogenerated) */\n" > $(obj)/build.ht
|
printf "/* build system definitions (autogenerated) */\n" > $(obj)/build.ht
|
||||||
|
@ -386,5 +384,5 @@ $(obj)/romcc: $(top)/util/romcc/romcc.c
|
||||||
@# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
|
@# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
|
||||||
$(HOSTCC) -g $(STACK) -Wall -o $@ $<
|
$(HOSTCC) -g $(STACK) -Wall -o $@ $<
|
||||||
|
|
||||||
.PHONY: $(PHONY) prepare prepare2 clean distclean doxygen doxy coreboot
|
.PHONY: $(PHONY) prepare clean distclean doxygen doxy coreboot .xcompile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue