From: Ross Burton Date: Tue, 30 Nov 2021 16:53:13 +0000 (+0000) Subject: vim: set PACKAGECONFIG idiomatically X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ad373242381feec72d0c257031da7671281c0321;p=openembedded-core.git vim: set PACKAGECONFIG idiomatically Don't set an empty default value and them immediately assign to it. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit d7565241437487618a57d8f3f21da6fed69f6b8a) Signed-off-by: Steve Sakoman --- 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 \