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 <felix-coreboot@felixheld.de>
Change-Id: I1fe2b738d76ae16dee3e1ebdca512264303a481c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62148
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Erik van den Bogaert <ebogaert@eltan.com>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
diff --git a/src/vendorcode/eltan/security/verified_boot/Makefile.inc b/src/vendorcode/eltan/security/verified_boot/Makefile.inc
index 9158760..aef8194 100644
--- a/src/vendorcode/eltan/security/verified_boot/Makefile.inc
+++ b/src/vendorcode/eltan/security/verified_boot/Makefile.inc
@@ -10,6 +10,11 @@
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