summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-12 08:14:19 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-01-14 13:28:50 +0000
commit2fed41d46275999061be637dcd26d7dd3a2737e6 (patch)
tree7d0e8a4a7d7aad10a5bc7280f26dab8a989f0db1
parentd0d33d40ce8274acc4be65185b0fbce5c4763b6a (diff)
downloadcoreboot-2fed41d46275999061be637dcd26d7dd3a2737e6.tar.gz
coreboot-2fed41d46275999061be637dcd26d7dd3a2737e6.tar.bz2
coreboot-2fed41d46275999061be637dcd26d7dd3a2737e6.zip
drivers/intel/i210/Makefile.inc: Fix "No such file or directory" error
Fix: cc1: error: src/drivers/intel/i210: No such file or directory [-Werror=missing-include-dirs] Change-Id: I94b0f99353ed3a582ea590cbc6b12dec6294c75d Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70468 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/drivers/intel/i210/Makefile.inc2
-rw-r--r--src/drivers/intel/i210/include/i210.h (renamed from src/drivers/intel/i210/i210.h)0
2 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/i210/Makefile.inc b/src/drivers/intel/i210/Makefile.inc
index 218b1b45f99d..bbbde88f6c62 100644
--- a/src/drivers/intel/i210/Makefile.inc
+++ b/src/drivers/intel/i210/Makefile.inc
@@ -3,5 +3,5 @@
ramstage-$(CONFIG_DRIVER_INTEL_I210)+= i210.c
ifeq ($(CONFIG_DRIVER_INTEL_I210),y)
-CFLAGS_x86_32 += -Isrc/drivers/intel/i210
+CPPFLAGS_common += -I$(src)/drivers/intel/i210/include
endif
diff --git a/src/drivers/intel/i210/i210.h b/src/drivers/intel/i210/include/i210.h
index baaab6e3d594..baaab6e3d594 100644
--- a/src/drivers/intel/i210/i210.h
+++ b/src/drivers/intel/i210/include/i210.h