summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/pciutils
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-bsp/pciutils
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pciutils')
-rw-r--r--meta/recipes-bsp/pciutils/pciutils_3.14.0.bb55
1 files changed, 0 insertions, 55 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils_3.14.0.bb b/meta/recipes-bsp/pciutils/pciutils_3.14.0.bb
deleted file mode 100644
index a267ea34b7..0000000000
--- a/meta/recipes-bsp/pciutils/pciutils_3.14.0.bb
+++ /dev/null
@@ -1,55 +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 = "https://mj.ucw.cz/sw/pciutils/"
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 = "make-native"
13
14SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz"
15SRC_URI[sha256sum] = "e7713409882813991d2269d125e40dad1f54a019a52b78b3962941c1d4a6f86f"
16
17inherit multilib_header pkgconfig update-alternatives
18
19PACKAGECONFIG ??= "hwdb kmod zlib"
20PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
21PACKAGECONFIG[kmod] = "LIBKMOD=yes,LIBKMOD=no,kmod"
22PACKAGECONFIG[zlib] = "ZLIB=yes,ZLIB=no,zlib"
23
24# Configuration options
25EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS} DNS=yes SHARED=yes"
26# Construct a HOST that matches what lib/configure expects
27EXTRA_OEMAKE += "HOST="${HOST_ARCH}-${HOST_OS}""
28# Toolchain. We need to pass CFLAGS via CC as this is the only variable
29# available to the caller without clobbering assignments (notably, -fPIC)
30EXTRA_OEMAKE += "CC="${CC} ${CFLAGS}" AR="${AR}" STRIP= LDFLAGS="${LDFLAGS}""
31# Paths
32EXTRA_OEMAKE += "PREFIX=${prefix} LIBDIR=${libdir} SBINDIR=${sbindir} SHAREDIR=${datadir} MANDIR=${mandir}"
33
34do_install () {
35 # Do these in separate calls as they expose a race in pseudo when creating
36 # symlinks when ran in parallel.
37 oe_runmake DESTDIR=${D} install
38 oe_runmake DESTDIR=${D} install-lib
39
40 install -d ${D}${bindir}
41
42 oe_multilib_header pci/config.h
43}
44
45PACKAGES =+ "${PN}-ids libpci"
46
47FILES:${PN}-ids = "${datadir}/pci.ids*"
48SUMMARY:${PN}-ids = "PCI utilities - device ID database"
49DESCRIPTION:${PN}-ids = "Package providing the PCI device ID database for pciutils."
50RDEPENDS:${PN} += "${PN}-ids"
51
52FILES:libpci = "${libdir}/libpci.so.*"
53
54ALTERNATIVE:${PN} = "lspci"
55ALTERNATIVE_PRIORITY = "100"