From 0c335371a36ab95904e0f14b2eb5f2d7392e38ea Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Mon, 29 Dec 2014 19:56:44 +0800 Subject: pciutils: change default value of PACKAGECONFIG Default PACKAGECONFIG value to "hwdb" if 'systemd' is in DISTRO_FEATURES. Signed-off-by: Chen Qi --- meta/recipes-bsp/pciutils/pciutils_3.3.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit 1.2.3-korg