diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-07-19 10:55:30 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-07-20 19:51:10 +0200 |
commit | 05560bfbe083190c0d1eeb87791696f66bffb218 (patch) | |
tree | fd0805e88c323f6b1f07aa8bd4af90f380cccf6d | |
parent | ed3d0e8d428d497b1d680fec20054906d26990ab (diff) | |
download | coreboot-05560bfbe083190c0d1eeb87791696f66bffb218.tar.xz |
build system: avoid warning about missing .xcompile
That file will be generated, but not before make managed
to complain about it.
So let's just generate it if missing - it won't hurt the
dependency tracking some lines later which is looking at
time stamps.
Change-Id: I615f38457eb27a8ffb4352b5234e262ee95d84ac
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6305
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,6 +30,10 @@ ## SUCH DAMAGE. ## +# in addition to the dependency below, create the file if it doesn't exist +# to silence stupid warnings about a file that would be generated anyway. +$(if $(wildcard .xcompile),,$(eval $(shell util/xcompile/xcompile $(XGCCPATH) > .xcompile))) + .xcompile: util/xcompile/xcompile A=`mktemp $@.XXXXXX`; $< $(XGCCPATH) > $$A && mv $$A $@ 2> /dev/null |