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>
This commit is contained in:
Benjamin Doron 2023-02-12 19:47:50 +00:00 committed by Felix Held
parent 50bdc61cff
commit 9690ad873d
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
all-$(CONFIG_SMMSTORE) += store.c all-$(CONFIG_SMMSTORE) += store.c
ifeq ($(CONFIG_SMMSTORE),y) 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,ramstage,$(dir)/store.c) : $(obj)/fmap_config.h
$(call src-to-obj,smm,$(dir)/store.c) : $(obj)/fmap_config.h $(call src-to-obj,smm,$(dir)/store.c) : $(obj)/fmap_config.h
endif endif