diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-12-26 17:35:31 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-27 22:53:38 +0000 |
commit | 8bc9af428246f6b670f3210ea5dc3a4b5c4d8679 (patch) | |
tree | f253cef82f55c16c4d36eb68aeae6273f7e80c14 /meta/recipes-bsp | |
parent | 39e21d1fe54adfac303b8b7e357374851cf78b25 (diff) | |
download | poky-8bc9af428246f6b670f3210ea5dc3a4b5c4d8679.tar.gz |
pciutils: add PACKAGECONFIG for 'hwdb'
Add PACKAGECONFIG for 'hwdb' to fix the following QA warning.
WARNING: QA Issue: libpci rdepends on libudev, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: pciutils rdepends on libudev, but it isn't a build dependency? [build-deps]
(From OE-Core rev: 9188a2672013cb6960590f03f753178999fe4c3c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/pciutils/pciutils_3.3.0.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-bsp/pciutils/pciutils_3.3.0.bb b/meta/recipes-bsp/pciutils/pciutils_3.3.0.bb index 71f7e04d62..f544919e8e 100644 --- a/meta/recipes-bsp/pciutils/pciutils_3.3.0.bb +++ b/meta/recipes-bsp/pciutils/pciutils_3.3.0.bb | |||
@@ -18,13 +18,18 @@ SRC_URI[sha256sum] = "413395d4bdc66fdedd6c993ed9083d1dd73812bf2a679d320f73de35c7 | |||
18 | 18 | ||
19 | inherit multilib_header | 19 | inherit multilib_header |
20 | 20 | ||
21 | PACKAGECONFIG ??= "" | ||
22 | PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev" | ||
23 | |||
21 | PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes" | 24 | PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes" |
22 | 25 | ||
23 | # see configure.patch | 26 | # see configure.patch |
24 | do_configure () { | 27 | do_configure () { |
25 | ( | 28 | ( |
26 | cd lib && \ | 29 | cd lib && \ |
27 | ${PCI_CONF_FLAG} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH} | 30 | # EXTRA_OECONF for this recipe could only possibly contain 'HWDB=yes/no', so we put it |
31 | # before ./configure | ||
32 | ${PCI_CONF_FLAG} ${EXTRA_OECONF} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH} | ||
28 | ) | 33 | ) |
29 | } | 34 | } |
30 | 35 | ||