From: Srinuvasan A <[email protected]>

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 <[email protected]>
---
 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

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20211014083107.3911630-1-Srinuvasan_A%40mentor.com.

Reply via email to