aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_0/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/intel/fsp1_0/Makefile.inc')
-rw-r--r--src/drivers/intel/fsp1_0/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp1_0/Makefile.inc b/src/drivers/intel/fsp1_0/Makefile.inc
index 67741a927a..604b9bc0a7 100644
--- a/src/drivers/intel/fsp1_0/Makefile.inc
+++ b/src/drivers/intel/fsp1_0/Makefile.inc
@@ -47,4 +47,12 @@ mrc.cache-type := mrc_cache
endif
endif
+ifneq ($(call strip_quotes,$(CONFIG_FSP_SRC_PATH)),)
+ramstage-y += $(call strip_quotes,$(CONFIG_FSP_SRC_PATH))
+endif
+
+ifneq ($(call strip_quotes,$(CONFIG_FSP_HEADER_PATH)),)
+CPPFLAGS_common += -I$(CONFIG_FSP_HEADER_PATH)
+endif
+
endif