diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-03-01 18:30:49 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-07 13:30:26 +0100 |
| commit | 0c31f55bcfd6630d894dd2dda6ca483bea5de4ab (patch) | |
| tree | 362ae6300bfa295709e24a4879639fb4c0fb5116 /meta-oe/recipes-devtools | |
| parent | b4524eb786472e69e28212a58a329a5e44e40547 (diff) | |
| download | meta-openembedded-0c31f55bcfd6630d894dd2dda6ca483bea5de4ab.tar.gz | |
Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
| -rw-r--r-- | meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/php/php.inc | 3 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb index 8ae0185031..8f4e5b1e6e 100644 --- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb +++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb | |||
| @@ -23,7 +23,7 @@ S = "${WORKDIR}/git" | |||
| 23 | 23 | ||
| 24 | inherit autotools | 24 | inherit autotools |
| 25 | 25 | ||
| 26 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | 26 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" |
| 27 | PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind" | 27 | PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind" |
| 28 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" | 28 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" |
| 29 | 29 | ||
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index c4fb1d90b9..f882e32319 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc | |||
| @@ -69,8 +69,7 @@ EXTRA_OECONF_class-native = " \ | |||
| 69 | " | 69 | " |
| 70 | 70 | ||
| 71 | PACKAGECONFIG ??= "mysql sqlite3 imap \ | 71 | PACKAGECONFIG ??= "mysql sqlite3 imap \ |
| 72 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | 72 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ |
| 73 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | ||
| 74 | " | 73 | " |
| 75 | PACKAGECONFIG_class-native = "" | 74 | PACKAGECONFIG_class-native = "" |
| 76 | 75 | ||
diff --git a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb index 402c42e417..0849e88564 100644 --- a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb +++ b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | |||
| @@ -17,7 +17,7 @@ SRC_URI[sha256sum] = "53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520 | |||
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/imap-${PV}" | 18 | S = "${WORKDIR}/imap-${PV}" |
| 19 | 19 | ||
| 20 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | 20 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" |
| 21 | PACKAGECONFIG[pam] = ",,libpam" | 21 | PACKAGECONFIG[pam] = ",,libpam" |
| 22 | 22 | ||
| 23 | EXTRA_OEMAKE = "CC='${CC}' ARRC='${AR} -rc' RANLIB='${RANLIB}'" | 23 | EXTRA_OEMAKE = "CC='${CC}' ARRC='${AR} -rc' RANLIB='${RANLIB}'" |
