diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-15 23:43:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-22 09:16:01 +0100 |
commit | 5e9b0569e2f1ba613bf0b28e40cf2fe8a2fb6a10 (patch) | |
tree | e05393da61d04ee77ef476f1fe4e3a3245683964 /meta/recipes-bsp/pciutils/pciutils_3.5.4.bb | |
parent | 4c2d0b1205be2c0e42cafea1de18e46edf4a374b (diff) | |
download | poky-5e9b0569e2f1ba613bf0b28e40cf2fe8a2fb6a10.tar.gz |
pciutils: Fold patches into a single patch with a description
Patches patching content from other patches is bad. This folds the three
patches into one, improves some of what its doing to be a little
cleaner and adds a proper description to the patch header.
This also moves the STRIP override to the configure commandline rather
than patching and handles passing libdir the same way.
(From OE-Core rev: 186b30798cf74b738483e8708157cac628c1d3cd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pciutils/pciutils_3.5.4.bb')
-rw-r--r-- | meta/recipes-bsp/pciutils/pciutils_3.5.4.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb b/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb index d387fba61a..418f712a03 100644 --- a/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb +++ b/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb | |||
@@ -9,9 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | |||
9 | DEPENDS = "zlib kmod" | 9 | DEPENDS = "zlib kmod" |
10 | 10 | ||
11 | SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \ | 11 | SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \ |
12 | file://configure.patch \ | 12 | file://configure.patch" |
13 | file://guess-fix.patch \ | ||
14 | file://makefile.patch" | ||
15 | 13 | ||
16 | SRC_URI[md5sum] = "e82537cd2194111c45fa7e684b52252e" | 14 | SRC_URI[md5sum] = "e82537cd2194111c45fa7e684b52252e" |
17 | SRC_URI[sha256sum] = "64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66" | 15 | SRC_URI[sha256sum] = "64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66" |
@@ -21,7 +19,7 @@ inherit multilib_header | |||
21 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}" | 19 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}" |
22 | PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev" | 20 | PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev" |
23 | 21 | ||
24 | PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes" | 22 | PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes STRIP= LIBDIR=${libdir}" |
25 | 23 | ||
26 | # see configure.patch | 24 | # see configure.patch |
27 | do_configure () { | 25 | do_configure () { |