From 6f4a5454ac8fc9d5f1b31c06b6773bc96197dd5e Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 17 Feb 2022 23:35:48 +0100 Subject: [PATCH] vc/eltan/security/verified_boot/Makefile: add fmap_config.h dependency Compiling vboot_check.c depends on fmap_config.h already being generated so add this dependency. Signed-off-by: Felix Held Change-Id: I1fe2b738d76ae16dee3e1ebdca512264303a481c Reviewed-on: https://review.coreboot.org/c/coreboot/+/62148 Tested-by: build bot (Jenkins) Reviewed-by: Erik van den Bogaert Reviewed-by: Frans Hendriks --- src/vendorcode/eltan/security/verified_boot/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vendorcode/eltan/security/verified_boot/Makefile.inc b/src/vendorcode/eltan/security/verified_boot/Makefile.inc index 9158760322..aef81943a8 100644 --- a/src/vendorcode/eltan/security/verified_boot/Makefile.inc +++ b/src/vendorcode/eltan/security/verified_boot/Makefile.inc @@ -10,6 +10,11 @@ postcar-y += vboot_check.c romstage-y += vboot_check.c ramstage-y += vboot_check.c +$(call src-to-obj,bootblock,$(dir)/vboot_check.c) : $(obj)/fmap_config.h +$(call src-to-obj,postcar,$(dir)/vboot_check.c) : $(obj)/fmap_config.h +$(call src-to-obj,romstage,$(dir)/vboot_check.c) : $(obj)/fmap_config.h +$(call src-to-obj,ramstage,$(dir)/vboot_check.c) : $(obj)/fmap_config.h + ifeq ($(CONFIG_VENDORCODE_ELTAN_VBOOT),y) cbfs-files-y += oemmanifest.bin oemmanifest.bin-file := $(obj)/oemmanifest.bin