summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-02-27 14:02:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 11:17:45 +0000
commit254bfb107134702d8d1e0bfbdd1b011212e8c291 (patch)
tree188ddf3ea786bc1b913904330e4f95125bd6def4 /meta/recipes-support
parentdec5650bc292aa3c4a0a04ace72d2cf762e9620b (diff)
downloadpoky-254bfb107134702d8d1e0bfbdd1b011212e8c291.tar.gz
recipes: Make use of the new bb.utils.filter() function
(From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/apr/apr_1.5.2.bb2
-rw-r--r--meta/recipes-support/boost/boost.inc4
-rw-r--r--meta/recipes-support/consolekit/consolekit_0.4.6.bb3
-rw-r--r--meta/recipes-support/curl/curl_7.52.1.bb2
-rw-r--r--meta/recipes-support/libcap/libcap_2.25.bb2
-rw-r--r--meta/recipes-support/nspr/nspr_4.13.1.bb2
6 files changed, 7 insertions, 8 deletions
diff --git a/meta/recipes-support/apr/apr_1.5.2.bb b/meta/recipes-support/apr/apr_1.5.2.bb
index f560c8b9c4..079f8cd654 100644
--- a/meta/recipes-support/apr/apr_1.5.2.bb
+++ b/meta/recipes-support/apr/apr_1.5.2.bb
@@ -39,7 +39,7 @@ CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sct
39# x86_64-linux-libtool: error: specify a tag with '--tag' 39# x86_64-linux-libtool: error: specify a tag with '--tag'
40CCACHE = "" 40CCACHE = ""
41 41
42PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" 42PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
43PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 43PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
44 44
45do_configure_prepend() { 45do_configure_prepend() {
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 0b2b17d032..87b6b884f2 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -45,9 +45,9 @@ PACKAGECONFIG[mpi] = ",,mpich"
45PACKAGECONFIG[python] = ",,python python3" 45PACKAGECONFIG[python] = ",,python python3"
46 46
47BOOST_LIBS += "\ 47BOOST_LIBS += "\
48 ${@bb.utils.contains('PACKAGECONFIG', 'locale', 'locale', '', d)} \ 48 ${@bb.utils.filter('PACKAGECONFIG', 'locale', d)} \
49 ${@bb.utils.contains('PACKAGECONFIG', 'graph_parallel', 'graph_parallel mpi', \ 49 ${@bb.utils.contains('PACKAGECONFIG', 'graph_parallel', 'graph_parallel mpi', \
50 bb.utils.contains('PACKAGECONFIG', 'mpi', 'mpi', '', d), d)} \ 50 bb.utils.filter('PACKAGECONFIG', 'mpi', d), d)} \
51 ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python python3', '', d)} \ 51 ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python python3', '', d)} \
52" 52"
53 53
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
index ceac0fe31a..80d48bf84f 100644
--- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb
+++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
@@ -23,8 +23,7 @@ SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf9751464
23 23
24S = "${WORKDIR}/ConsoleKit-${PV}" 24S = "${WORKDIR}/ConsoleKit-${PV}"
25 25
26PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ 26PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}"
27 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
28 27
29PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam" 28PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam"
30PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit" 29PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit"
diff --git a/meta/recipes-support/curl/curl_7.52.1.bb b/meta/recipes-support/curl/curl_7.52.1.bb
index 2882bc08cc..a61420423c 100644
--- a/meta/recipes-support/curl/curl_7.52.1.bb
+++ b/meta/recipes-support/curl/curl_7.52.1.bb
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "d16185a767cb2c1ba3d5b9096ec54e5ec198b213f45864a38b3bda4bbf
20CVE_PRODUCT = "libcurl" 20CVE_PRODUCT = "libcurl"
21inherit autotools pkgconfig binconfig multilib_header 21inherit autotools pkgconfig binconfig multilib_header
22 22
23PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} gnutls proxy zlib" 23PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls proxy zlib"
24PACKAGECONFIG_class-native = "ipv6 proxy ssl zlib" 24PACKAGECONFIG_class-native = "ipv6 proxy ssl zlib"
25PACKAGECONFIG_class-nativesdk = "ipv6 proxy ssl zlib" 25PACKAGECONFIG_class-nativesdk = "ipv6 proxy ssl zlib"
26 26
diff --git a/meta/recipes-support/libcap/libcap_2.25.bb b/meta/recipes-support/libcap/libcap_2.25.bb
index 343aeb6c40..26d7bf2a6e 100644
--- a/meta/recipes-support/libcap/libcap_2.25.bb
+++ b/meta/recipes-support/libcap/libcap_2.25.bb
@@ -27,7 +27,7 @@ do_configure() {
27 sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile 27 sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile
28} 28}
29 29
30PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ 30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
31 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" 31 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
32PACKAGECONFIG_class-native ??= "" 32PACKAGECONFIG_class-native ??= ""
33 33
diff --git a/meta/recipes-support/nspr/nspr_4.13.1.bb b/meta/recipes-support/nspr/nspr_4.13.1.bb
index 23f8944a87..343800c80f 100644
--- a/meta/recipes-support/nspr/nspr_4.13.1.bb
+++ b/meta/recipes-support/nspr/nspr_4.13.1.bb
@@ -147,7 +147,7 @@ TESTS = " \
147 147
148inherit autotools 148inherit autotools
149 149
150PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" 150PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
151PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 151PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
152 152
153do_compile_prepend() { 153do_compile_prepend() {