From: Chen Qi Date: Mon, 29 Dec 2014 12:04:38 +0000 (+0800) Subject: pciutils: change default value of PACKAGECONFIG X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31703 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a7d1149c5f97c8f7b8fef12b4f77ae7c6d88b2c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pciutils: change default value of PACKAGECONFIG Default PACKAGECONFIG value to "hwdb" if 'systemd' is in DISTRO_FEATURES. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-bsp/pciutils/pciutils_3.3.0.bb b/meta/recipes-bsp/pciutils/pciutils_3.3.0.bb index f544919e8eb..b713512dc63 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"