vim: set PACKAGECONFIG idiomatically

Don't set an empty default value and them immediately assign to it.

(From OE-Core rev: d7565241437487618a57d8f3f21da6fed69f6b8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2021-11-30 16:53:13 +00:00 committed by Richard Purdie
parent 3eecf843e7
commit 5b359440bb

View 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 \