diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-02-27 14:02:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 11:17:45 +0000 |
commit | 254bfb107134702d8d1e0bfbdd1b011212e8c291 (patch) | |
tree | 188ddf3ea786bc1b913904330e4f95125bd6def4 /meta/recipes-support | |
parent | dec5650bc292aa3c4a0a04ace72d2cf762e9620b (diff) | |
download | poky-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.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 4 | ||||
-rw-r--r-- | meta/recipes-support/consolekit/consolekit_0.4.6.bb | 3 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl_7.52.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/libcap/libcap_2.25.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/nspr/nspr_4.13.1.bb | 2 |
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' |
40 | CCACHE = "" | 40 | CCACHE = "" |
41 | 41 | ||
42 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | 42 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
43 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 43 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
44 | 44 | ||
45 | do_configure_prepend() { | 45 | do_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" | |||
45 | PACKAGECONFIG[python] = ",,python python3" | 45 | PACKAGECONFIG[python] = ",,python python3" |
46 | 46 | ||
47 | BOOST_LIBS += "\ | 47 | BOOST_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 | ||
24 | S = "${WORKDIR}/ConsoleKit-${PV}" | 24 | S = "${WORKDIR}/ConsoleKit-${PV}" |
25 | 25 | ||
26 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | 26 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}" |
27 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
28 | 27 | ||
29 | PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam" | 28 | PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam" |
30 | PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit" | 29 | PACKAGECONFIG[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 | |||
20 | CVE_PRODUCT = "libcurl" | 20 | CVE_PRODUCT = "libcurl" |
21 | inherit autotools pkgconfig binconfig multilib_header | 21 | inherit autotools pkgconfig binconfig multilib_header |
22 | 22 | ||
23 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} gnutls proxy zlib" | 23 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls proxy zlib" |
24 | PACKAGECONFIG_class-native = "ipv6 proxy ssl zlib" | 24 | PACKAGECONFIG_class-native = "ipv6 proxy ssl zlib" |
25 | PACKAGECONFIG_class-nativesdk = "ipv6 proxy ssl zlib" | 25 | PACKAGECONFIG_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 | ||
30 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | 30 | PACKAGECONFIG ??= "${@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)}" |
32 | PACKAGECONFIG_class-native ??= "" | 32 | PACKAGECONFIG_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 | ||
148 | inherit autotools | 148 | inherit autotools |
149 | 149 | ||
150 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" | 150 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
151 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 151 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
152 | 152 | ||
153 | do_compile_prepend() { | 153 | do_compile_prepend() { |