aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-12-29 19:56:44 +0800
committerChen Qi <Qi.Chen@windriver.com>2014-12-29 20:00:10 +0800
commit0c335371a36ab95904e0f14b2eb5f2d7392e38ea (patch)
treece942ed42c35fa346b3a1e210aedc69671e7505f
parent859fb4d9ec6974be9ce755e4ffefd9b199f3604c (diff)
downloadopenembedded-core-contrib-ChenQi/pciutils-PACKAGECONFIG.tar.gz
pciutils: change default value of PACKAGECONFIGChenQi/pciutils-PACKAGECONFIG
Default PACKAGECONFIG value to "hwdb" if 'systemd' is in DISTRO_FEATURES. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-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"