[oe-commits] Chen Qi : pciutils: change default value of PACKAGECONFIG

git at git.openembedded.org git at git.openembedded.org
Tue Dec 30 09:21:22 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 6d7f42d69420f66308ed74880552b26783c1c44c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6d7f42d69420f66308ed74880552b26783c1c44c

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Mon Dec 29 20:04:38 2014 +0800

pciutils: change default value of PACKAGECONFIG

Default PACKAGECONFIG value to "hwdb" if 'systemd' is in DISTRO_FEATURES.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 f544919..b713512 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"



More information about the Openembedded-commits mailing list