summaryrefslogtreecommitdiff
path: root/src/drivers/smmstore
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-02-11 16:27:00 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-14 16:13:41 +0000
commit8b875d028dc9af595f06cc6c6ce52b5e1c22214b (patch)
tree46c90a161c7f954d2a6c91aa5c2bcafbed7fdfef /src/drivers/smmstore
parent646b6a0f6f849105f2ebe06c330466fcb6535b13 (diff)
drivers/smmstore/store.c: Add fmap_config.h dependency
This fixes building with -jx Change-Id: I51efc03839c53b96fa248e6fe5dc0e00b773aa53 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61865 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/drivers/smmstore')
-rw-r--r--src/drivers/smmstore/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/smmstore/Makefile.inc b/src/drivers/smmstore/Makefile.inc
index 90bcdece9d..6d9a9d6a2f 100644
--- a/src/drivers/smmstore/Makefile.inc
+++ b/src/drivers/smmstore/Makefile.inc
@@ -1,4 +1,9 @@
ramstage-$(CONFIG_SMMSTORE) += store.c
+
+ifeq ($(CONFIG_SMMSTORE),y)
+$(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
ramstage-$(CONFIG_SMMSTORE_V2) += ramstage.c
smm-$(CONFIG_SMMSTORE) += store.c smi.c