commit | 2fed41d46275999061be637dcd26d7dd3a2737e6 | [log] [tgz] |
---|---|---|
author | Elyes Haouas <ehaouas@noos.fr> | Thu Jan 12 08:14:19 2023 +0100 |
committer | Elyes Haouas <ehaouas@noos.fr> | Sat Jan 14 13:28:50 2023 +0000 |
tree | 7d0e8a4a7d7aad10a5bc7280f26dab8a989f0db1 | |
parent | d0d33d40ce8274acc4be65185b0fbce5c4763b6a [diff] |
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>
diff --git a/src/drivers/intel/i210/Makefile.inc b/src/drivers/intel/i210/Makefile.inc index 218b1b4..bbbde88 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 similarity index 100% rename from src/drivers/intel/i210/i210.h rename to src/drivers/intel/i210/include/i210.h