diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-01-13 09:15:07 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-15 23:54:09 +0000 |
commit | 2cc5bcbf7f80d48950da90dd142a931a55392cc0 (patch) | |
tree | 4e792b0981c35d83927080475374974e9cb70a87 /Makefile.inc | |
parent | 0b7d3a154e9966524256a06a3fb1c6de87358976 (diff) |
build system: Always add coreboot.pre dependency to intermediates
They all operate on that file, so just add it globally.
Change-Id: I953975a4078d0f4a5ec0b6248f0dcedada69afb2
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49380
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc index a67b22c84d..f0cbb34e38 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1145,7 +1145,7 @@ RAMSTAGE= endif add_intermediate = \ - $(1): $(2) | $(INTERMEDIATE) \ + $(1): $(obj)/coreboot.pre $(2) | $(INTERMEDIATE) \ $(eval INTERMEDIATE+=$(1)) $(eval PHONY+=$(1)) $(obj)/coreboot.rom: $(obj)/coreboot.pre $(RAMSTAGE) $(CBFSTOOL) $$(INTERMEDIATE) @@ -1251,7 +1251,7 @@ cbfs-get-segments-cmd = $(CBFSTOOL) $(obj)/coreboot.pre print -v | sed -n \ ramstage-symbol-addr-cmd = $(OBJDUMP_ramstage) -t $(objcbfs)/ramstage.elf | \ sed -n '/ $(1)$$/s/^\([0-9a-fA-F]*\) .*/0x\1/p' -$(call add_intermediate, check-ramstage-overlaps, $(obj)/coreboot.pre) +$(call add_intermediate, check-ramstage-overlaps) programs=$$($(foreach file,$(check-ramstage-overlap-files), \ $(call cbfs-get-segments-cmd,$(file)) ; )) ; \ regions=$$($(foreach region,$(check-ramstage-overlap-regions), \ |