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