[PATCH] Add proper include path for pci header files for bullseye

11 views
Skip to first unread message

Srinuvasan A

unread,
Oct 14, 2021, 4:31:34 AM10/14/21
to efibootg...@googlegroups.com, jan.k...@siemens.com, Srinuvasan A
From: Srinuvasan A <srinuv...@mentor.com>

When we build efibootguard for bullseye distro, the path of required pci
header files are changed, hence added the correct path in makefile for
bullseye builds.

Some drivers files expecting the <pci/header.h> file and path of this
header file should be add in makefile.

In buster <pci/header.h> under /usr/include but in bullseye it is
changed to /usr/include/<arch>-linux-gnu.

Signed-off-by: Srinuvasan A <srinuv...@mentor.com>
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index f000d73..665402b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -159,6 +159,7 @@ efi_cppflags = \
-I$(GNUEFI_SYS_DIR)/usr/include \
-I$(GNUEFI_INC_DIR) \
-I$(GNUEFI_INC_DIR)/$(ARCH) \
+ -I$(GNUEFI_SYS_DIR)/usr/include/$(ARCH)-linux-gnu \
-I$(GNUEFI_INC_DIR)/$(MACHINE_TYPE_NAME) \
$(LIBPCI_CFLAGS)

--
2.25.1

Jan Kiszka

unread,
Oct 14, 2021, 5:01:25 AM10/14/21
to Srinuvasan A, efibootg...@googlegroups.com
Something is broken: LIBPCI_CFLAGS is supposed to supply this. Could you
analyze this in more details, please?

Jan

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Srinuvasan Arjunan

unread,
Oct 14, 2021, 5:04:56 AM10/14/21
to EFI Boot Guard
  Sure jan will check and update soon. 

Jan Kiszka

unread,
Oct 14, 2021, 5:04:56 AM10/14/21
to Srinuvasan A, efibootg...@googlegroups.com
I suspect you were testing 0.8 release only. In master, 717310e7 is
supposed to resolve this. And I vaguely recall having validated this.

Srinuvasan Arjunan

unread,
Oct 14, 2021, 5:09:36 AM10/14/21
to EFI Boot Guard
  Thanks for sharing this details will verify with latest next and uprev in cip-core 
Reply all
Reply to author
Forward
0 new messages