summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2019-07-09 09:52:16 -0600
committerMartin Roth <martinroth@google.com>2019-08-28 18:29:15 +0000
commit4007d7f8c73d2872c6fe74f2b58a673161d6c947 (patch)
tree1045c7d879d3f89439e3c440701c66cd6e496dc6 /Makefile.inc
parent3beb108a629d133d7f512dbabb905f3d7e23863b (diff)
downloadcoreboot-4007d7f8c73d2872c6fe74f2b58a673161d6c947.tar.gz
coreboot-4007d7f8c73d2872c6fe74f2b58a673161d6c947.tar.bz2
coreboot-4007d7f8c73d2872c6fe74f2b58a673161d6c947.zip
Makefile: Pass .xcompile into genbuild_h
I'm moving the .xcompile file into the $(obj) directory so we can leave the source pristine. We need to pass the location of .xcompile into genbuild_h.sh. BUG=b:112267918 TEST=Ran genbuild_h with and without an .xcompile and verified it was passed. Change-Id: I8b3a75b478fad92a0b09246f0a00b0580f8c4aef Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34240 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index e5603388ddf2..3c3088d5ff7a 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -497,7 +497,7 @@ build_h_exports := BUILD_TIMELESS KERNELVERSION COREBOOT_EXTRA_VERSION
# Report new `build.ht` as dependency if `build.h` differs.
build_h_check := \
export $(foreach exp,$(build_h_exports),$(exp)="$($(exp))"); \
- util/genbuild_h/genbuild_h.sh >$(build_h)t 2>/dev/null; \
+ util/genbuild_h/genbuild_h.sh .xcompile >$(build_h)t 2>/dev/null; \
cmp -s $(build_h)t $(build_h) >/dev/null 2>&1 || echo $(build_h)t
$(build_h): $$(shell $$(build_h_check))