summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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