summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Doron <benjamin.doron00@gmail.com>2023-02-12 19:47:50 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-02-13 12:52:11 +0000
commit9690ad873dc10baa9b67410928fe47f4d402fec6 (patch)
tree78ff66858f5319ac5029b5b22647ec57889b1e3d
parent50bdc61cff97dd66dfc05054d0152803090c13ed (diff)
drivers/smmstore: Fix fmap_config.h dependency
Update the fmap_config.h dependency now that SMMSTORE is compiled into all phases. This makes parallel builds work again. Change-Id: Ie8a44c28ea9f3d4794f06d0fd320f5c765513a32 Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72673 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
-rw-r--r--src/drivers/smmstore/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/smmstore/Makefile.inc b/src/drivers/smmstore/Makefile.inc
index 03f85c5130..1c2e3367ae 100644
--- a/src/drivers/smmstore/Makefile.inc
+++ b/src/drivers/smmstore/Makefile.inc
@@ -1,6 +1,10 @@
all-$(CONFIG_SMMSTORE) += store.c
ifeq ($(CONFIG_SMMSTORE),y)
+$(call src-to-obj,bootblock,$(dir)/store.c) : $(obj)/fmap_config.h
+$(call src-to-obj,verstage,$(dir)/store.c) : $(obj)/fmap_config.h
+$(call src-to-obj,romstage,$(dir)/store.c) : $(obj)/fmap_config.h
+$(call src-to-obj,postcar,$(dir)/store.c) : $(obj)/fmap_config.h
$(call src-to-obj,ramstage,$(dir)/store.c) : $(obj)/fmap_config.h
$(call src-to-obj,smm,$(dir)/store.c) : $(obj)/fmap_config.h
endif