summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/pciutils/pciutils_3.8.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2022-12-05 10:30:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-06 15:23:18 +0000
commit7937c7be893e70b38bd881a3207bc549c7f4003c (patch)
tree1935f9549ad107c654f541cb676fd1cfe3f8500f /meta/recipes-bsp/pciutils/pciutils_3.8.0.bb
parentce8970cdbf9879c3be47bc46275ea46361cf6c18 (diff)
downloadpoky-7937c7be893e70b38bd881a3207bc549c7f4003c.tar.gz
pciutils: upgrade 3.8.0 -> 3.9.0
configure.patch refreshed for 3.9.0 Changelog: ========== * We decode Compute Express Link (CXL) capabilities. * The tree mode of lspci is now compatible with filtering options. * When setpci is used with a named register, it checks whether the register is present in the particular header type. * Linux: The intel-conf[12] back-ends prefer to use ioperm() instead of iopl() to gain access to I/O ports. * Windows: We have two new back-ends One uses the NT SysDbg interface, the other uses kldbgdrv.sys (which is a part of the Microsoft WinDbg tool). * Windows: We support building libpci as a DLL. Also, Windows binaries now include meta-data with version. * Hurd: The Hurd back-end works again. * mmio-conf1(-ext): Added a new back-end implementing the intel-conf1 interface over MMIO. This is useful on some ARM machines, but it requires manual configuration of the MMIO addresses. * As usually, updated pci.ids to the current snapshot of the database. (From OE-Core rev: 8a784f5aa7ceec1866ef12f2bedf4e8b4e4f269f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pciutils/pciutils_3.8.0.bb')
-rw-r--r--meta/recipes-bsp/pciutils/pciutils_3.8.0.bb64
1 files changed, 0 insertions, 64 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils_3.8.0.bb b/meta/recipes-bsp/pciutils/pciutils_3.8.0.bb
deleted file mode 100644
index 4f57342e1e..0000000000
--- a/meta/recipes-bsp/pciutils/pciutils_3.8.0.bb
+++ /dev/null
@@ -1,64 +0,0 @@
1SUMMARY = "PCI utilities"
2DESCRIPTION = 'The PCI Utilities package contains a library for portable access \
3to PCI bus configuration space and several utilities based on this library.'
4HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
5SECTION = "console/utils"
6
7LICENSE = "GPL-2.0-or-later"
8LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
9# Can drop make-native when all systems have make 4.3
10# https://git.savannah.gnu.org/cgit/make.git/commit/?id=b90fabc8d6f34fb37d428dc0fb1b8b1951a9fbed
11# causes space issues in lib/libpci.pc
12DEPENDS = "zlib kmod make-native"
13
14SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
15 file://configure.patch"
16
17SRC_URI[sha256sum] = "91edbd0429a84705c9ad156d4ff38ccc724d41ea54c4c5b88e38e996f8a34f05"
18
19inherit multilib_header pkgconfig update-alternatives
20
21PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}"
22PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
23
24PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes STRIP= LIBDIR=${libdir}"
25
26# see configure.patch
27do_configure () {
28 (
29 cd lib && \
30 # PACKAGECONFIG_CONFARGS for this recipe could only possibly contain 'HWDB=yes/no',
31 # so we put it before ./configure
32 ${PCI_CONF_FLAG} ${PACKAGECONFIG_CONFARGS} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH}
33 )
34}
35
36export PREFIX = "${prefix}"
37export SBINDIR = "${sbindir}"
38export SHAREDIR = "${datadir}"
39export MANDIR = "${mandir}"
40
41EXTRA_OEMAKE = "-e MAKEFLAGS= ${PCI_CONF_FLAG}"
42
43ASNEEDED = ""
44
45# The configure script breaks if the HOST variable is set
46HOST[unexport] = "1"
47
48do_install () {
49 oe_runmake DESTDIR=${D} install install-lib
50
51 install -d ${D}${bindir}
52
53 oe_multilib_header pci/config.h
54}
55
56PACKAGES =+ "${PN}-ids libpci"
57FILES:${PN}-ids = "${datadir}/pci.ids*"
58FILES:libpci = "${libdir}/libpci.so.*"
59SUMMARY:${PN}-ids = "PCI utilities - device ID database"
60DESCRIPTION:${PN}-ids = "Package providing the PCI device ID database for pciutils."
61RDEPENDS:${PN} += "${PN}-ids"
62
63ALTERNATIVE:${PN} = "lspci"
64ALTERNATIVE_PRIORITY = "100"