Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/70469 )
Change subject: vc/siemens/hwilib/Makefile.inc: Fix "No such file or directory" error ......................................................................
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 --- M src/vendorcode/siemens/Makefile.inc M src/vendorcode/siemens/hwilib/Makefile.inc 2 files changed, 19 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Werner Zeh: Looks good to me, approved Eric Lai: Looks good to me, approved
diff --git a/src/vendorcode/siemens/Makefile.inc b/src/vendorcode/siemens/Makefile.inc index 88fd1c3..342375b 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 2456db2..9a5d4be 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