summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-12 08:26:22 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-01-13 16:49:18 +0000
commit4d616e372f9da77dd47d642ff5fad71748d3005c (patch)
tree6f819abd16e90b18db8107a66666744bf8b22902 /src
parent15790c842c5c0adc132bf88d5ac6e55224e6ad97 (diff)
vc/siemens/hwilib/Makefile.inc: Fix "No such file or directory" error
Fix: cc1: error: src/vendorcode/siemens/hwilib: No such file or directory [-Werror=missing-include-dirs] Change-Id: I0e805ead90dddbee3ba3577d119e465f669231ba Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70469 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/siemens/Makefile.inc2
-rw-r--r--src/vendorcode/siemens/hwilib/Makefile.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vendorcode/siemens/Makefile.inc b/src/vendorcode/siemens/Makefile.inc
index 88fd1c3911..342375b416 100644
--- a/src/vendorcode/siemens/Makefile.inc
+++ b/src/vendorcode/siemens/Makefile.inc
@@ -1,3 +1,5 @@
## SPDX-License-Identifier: GPL-2.0-only
subdirs-$(CONFIG_USE_SIEMENS_HWILIB) += hwilib
+
+CPPFLAGS_common += -I$(src)/vendorcode/siemens/hwilib
diff --git a/src/vendorcode/siemens/hwilib/Makefile.inc b/src/vendorcode/siemens/hwilib/Makefile.inc
index 2456db2427..9a5d4be342 100644
--- a/src/vendorcode/siemens/hwilib/Makefile.inc
+++ b/src/vendorcode/siemens/hwilib/Makefile.inc
@@ -1,6 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-only
-CFLAGS_x86_32 += -Isrc/vendorcode/siemens/hwilib
-
romstage-y += hwilib.c
ramstage-y += hwilib.c