Skip to contentSkip to conversation

pciutils: Fix multilib header conflict - pci/config.h

PATCH New Ming Liu 1 participant 1 message Oct 30, 2014

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/1 pciutils: Fix multilib header conflict - pci/config.h

pci/config.h conflicts between 32-bit and 64-bit versions.

---
 meta/recipes-bsp/pciutils/pciutils_3.2.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-bsp/pciutils/pciutils_3.2.1.bb +4 -0
index 852a93e..6e29953 100644
@@ -17,6 +17,8 @@ SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "425b1acad6854cc2bbb06ac8e48e76fc"
 SRC_URI[sha256sum] = "12d52b19042e2fd058af12e7d877bbbce72213cb3a0b5ec7ff0703ac09e3dcde"
 
+inherit multilib_header
+
 PARALLEL_MAKE = ""
 
 PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes"
@@ -49,6 +51,8 @@ do_install () {
 
 	install -d ${D}${bindir}
 	ln -s ../sbin/lspci ${D}${bindir}/lspci
+
+	oe_multilib_header pci/config.h
 }
 
 PACKAGES =+ "${PN}-ids libpci libpci-dev libpci-dbg"
Signature · 1 line
1.8.4.1