summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-12-07 08:10:09 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-13 14:33:12 +0000
commit12149ec0a3b22a7038df5886a6fb71a155f2d5f1 (patch)
tree3eea81997142942de7cca62a916d83d6956ff18a
parent167b7fcdd93410b27950762373409ef8775e8282 (diff)
mb/intel/coffeelake_rvp/Makefile.inc: Avoid link to non-existent folder
Found using 'Wmissing-include-dirs' command option. Change-Id: I178c849d07e61d7a237629f3be1b52d3b4abb513 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70459 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/mainboard/intel/coffeelake_rvp/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/intel/coffeelake_rvp/Makefile.inc b/src/mainboard/intel/coffeelake_rvp/Makefile.inc
index 77f06913fa..57e73bcf72 100644
--- a/src/mainboard/intel/coffeelake_rvp/Makefile.inc
+++ b/src/mainboard/intel/coffeelake_rvp/Makefile.inc
@@ -16,4 +16,6 @@ subdirs-y += variants/baseboard
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
subdirs-y += variants/$(VARIANT_DIR)
+ifeq ($(CONFIG_BOARD_INTEL_COMETLAKE_RVPU)$(CONFIG_BOARD_INTEL_WHISKEYLAKE_RVP),y)
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
+endif