[oe-commits] Chen Qi : pciutils: change default value of PACKAGECONFIG
git at git.openembedded.org
git at git.openembedded.org
Wed Dec 31 08:18:05 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 9a7d1149c5f97c8f7b8fef12b4f77ae7c6d88b2c
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9a7d1149c5f97c8f7b8fef12b4f77ae7c6d88b2c
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