From 2cc5bcbf7f80d48950da90dd142a931a55392cc0 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 13 Jan 2021 09:15:07 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49380 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Julius Werner --- src/mainboard/amd/majolica/Makefile.inc | 2 +- src/mainboard/amd/mandolin/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/amd') 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 -- cgit v1.2.3