diff options
Diffstat (limited to 'src/soc/intel/cannonlake/Makefile.inc')
-rw-r--r-- | src/soc/intel/cannonlake/Makefile.inc | 5 |
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 |