summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/cannonlake/Makefile.inc')
-rw-r--r--src/soc/intel/cannonlake/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/Makefile.inc b/src/soc/intel/cannonlake/Makefile.inc
index f8f91980bb..0a09eb6780 100644
--- a/src/soc/intel/cannonlake/Makefile.inc
+++ b/src/soc/intel/cannonlake/Makefile.inc
@@ -73,8 +73,11 @@ verstage-y += pmutil.c
verstage-y += spi.c
verstage-$(CONFIG_UART_DEBUG) += uart.c
-CPPFLAGS_common += -I$(src)/soc/intel/cannonlake/include/fsp20
+ifeq ($(CONFIG_SOC_INTEL_COFFEELAKE),y)
+CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/coffeelake
+else
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/cannonlake
+endif
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake/include