summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-11-30 16:53:13 +0000
committerSteve Sakoman <steve@sakoman.com>2022-02-21 07:28:56 -1000
commitad373242381feec72d0c257031da7671281c0321 (patch)
tree80a525d79b1cf75c8e80d31304bb960657908fa8
parent519f30e697f14d6a3864a22ec2e12544a9d3a107 (diff)
downloadopenembedded-core-contrib-ad373242381feec72d0c257031da7671281c0321.tar.gz
vim: set PACKAGECONFIG idiomatically
Don't set an empty default value and them immediately assign to it. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d7565241437487618a57d8f3f21da6fed69f6b8a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-support/vim/vim.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index 11fed67527..e811de5981 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -67,9 +67,7 @@ do_compile() {
autotools_do_compile
}
-#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny selinux, elfutils, nls
-PACKAGECONFIG ??= ""
-PACKAGECONFIG += " \
+PACKAGECONFIG ??= "\
${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \
nls \