From 9690ad873dc10baa9b67410928fe47f4d402fec6 Mon Sep 17 00:00:00 2001 From: Benjamin Doron Date: Sun, 12 Feb 2023 19:47:50 +0000 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72673 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer Reviewed-by: Felix Held Reviewed-by: Lean Sheng Tan --- src/drivers/smmstore/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) 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