]> code.ossystems Code Review - openembedded-core.git/commitdiff
vim: set PACKAGECONFIG idiomatically
authorRoss Burton <ross@burtonini.com>
Tue, 30 Nov 2021 16:53:13 +0000 (16:53 +0000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 21 Feb 2022 17:28:56 +0000 (07:28 -1000)
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>
meta/recipes-support/vim/vim.inc

index 11fed67527b0cb04fd3b6be6300ec06121c66aba..e811de598123e5ff42414a7a865adf6fcba780b9 100644 (file)
@@ -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 \