summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2021-01-13 09:15:07 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-15 23:54:09 +0000
commit2cc5bcbf7f80d48950da90dd142a931a55392cc0 (patch)
tree4e792b0981c35d83927080475374974e9cb70a87 /src/mainboard
parent0b7d3a154e9966524256a06a3fb1c6de87358976 (diff)
downloadcoreboot-2cc5bcbf7f80d48950da90dd142a931a55392cc0.tar.xz
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 'src/mainboard')
-rw-r--r--src/mainboard/amd/majolica/Makefile.inc2
-rw-r--r--src/mainboard/amd/mandolin/Makefile.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/amd/majolica/Makefile.inc b/src/mainboard/amd/majolica/Makefile.inc
index 7472599772..8c35d9a438 100644
--- a/src/mainboard/amd/majolica/Makefile.inc
+++ b/src/mainboard/amd/majolica/Makefile.inc
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
ifeq ($(CONFIG_MAJOLICA_HAVE_MCHP_FW),y)
-$(call add_intermediate, add_mchp_fw, $(obj)/coreboot.pre)
+$(call add_intermediate, add_mchp_fw)
$(CBFSTOOL) $(obj)/coreboot.pre write -r EC -f $(CONFIG_MAJOLICA_MCHP_FW_FILE) --fill-upward
else
files_added:: warn_no_mchp
diff --git a/src/mainboard/amd/mandolin/Makefile.inc b/src/mainboard/amd/mandolin/Makefile.inc
index 6644bb36db..bff7e6385a 100644
--- a/src/mainboard/amd/mandolin/Makefile.inc
+++ b/src/mainboard/amd/mandolin/Makefile.inc
@@ -18,7 +18,7 @@ endif
ifeq ($(CONFIG_MANDOLIN_HAVE_MCHP_FW),y)
-$(call add_intermediate, add_mchp_fw, $(obj)/coreboot.pre)
+$(call add_intermediate, add_mchp_fw)
$(CBFSTOOL) $(obj)/coreboot.pre write -r EC -f $(CONFIG_MANDOLIN_MCHP_FW_FILE) --fill-upward
else