summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-12-29 20:04:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-30 11:38:41 +0000
commit9a7d1149c5f97c8f7b8fef12b4f77ae7c6d88b2c (patch)
tree44d9444fcaac11e8b04d90b505f12bbef27fe4f2 /meta
parent7225d6e0c82f264057de40c04b31655f2b0e0c96 (diff)
downloadopenembedded-core-9a7d1149c5f97c8f7b8fef12b4f77ae7c6d88b2c.tar.gz
openembedded-core-9a7d1149c5f97c8f7b8fef12b4f77ae7c6d88b2c.tar.bz2
openembedded-core-9a7d1149c5f97c8f7b8fef12b4f77ae7c6d88b2c.zip
pciutils: change default value of PACKAGECONFIG
Default PACKAGECONFIG value to "hwdb" if 'systemd' is in DISTRO_FEATURES. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/pciutils/pciutils_3.3.0.bb2
1 files changed, 1 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 f544919e8e..b713512dc6 100644
--- a/meta/recipes-bsp/pciutils/pciutils_3.3.0.bb
+++ b/meta/recipes-bsp/pciutils/pciutils_3.3.0.bb
@@ -18,7 +18,7 @@ SRC_URI[sha256sum] = "413395d4bdc66fdedd6c993ed9083d1dd73812bf2a679d320f73de35c7
inherit multilib_header
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}"
PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes"