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-support/vim/vim_8.0.0022.bb | |
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-support/vim/vim_8.0.0022.bb')
-rw-r--r-- | meta-oe/recipes-support/vim/vim_8.0.0022.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/vim/vim_8.0.0022.bb b/meta-oe/recipes-support/vim/vim_8.0.0022.bb index 126fe6162..1ccc52cd9 100644 --- a/meta-oe/recipes-support/vim/vim_8.0.0022.bb +++ b/meta-oe/recipes-support/vim/vim_8.0.0022.bb | |||
@@ -32,8 +32,7 @@ do_configure () { | |||
32 | 32 | ||
33 | #Available PACKAGECONFIG options are gtkgui, acl, x11, tiny | 33 | #Available PACKAGECONFIG options are gtkgui, acl, x11, tiny |
34 | PACKAGECONFIG ??= "" | 34 | PACKAGECONFIG ??= "" |
35 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}" | 35 | PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}" |
36 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | ||
37 | 36 | ||
38 | PACKAGECONFIG[gtkgui] = "--enable-gtk2-test --enable-gui=gtk2,--enable-gui=no,gtk+," | 37 | PACKAGECONFIG[gtkgui] = "--enable-gtk2-test --enable-gui=gtk2,--enable-gui=no,gtk+," |
39 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," | 38 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," |