diff options
author | Ross Burton <ross@burtonini.com> | 2021-11-30 16:53:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-01 16:23:45 +0000 |
commit | 5b359440bb151c95c7bac00a2d3a47dfa3eea913 (patch) | |
tree | 829d88065824a623a62af71de7ec0d4c63d1f195 /meta/recipes-support/vim | |
parent | 3eecf843e7f9462d743dc766ba25cfaa5f48b3e0 (diff) | |
download | poky-5b359440bb151c95c7bac00a2d3a47dfa3eea913.tar.gz |
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>
Diffstat (limited to 'meta/recipes-support/vim')
-rw-r--r-- | meta/recipes-support/vim/vim.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 6cdf157cb6..a0692755b6 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc | |||
@@ -67,9 +67,7 @@ do_compile() { | |||
67 | autotools_do_compile | 67 | autotools_do_compile |
68 | } | 68 | } |
69 | 69 | ||
70 | #Available PACKAGECONFIG options are gtkgui, acl, x11, tiny selinux, elfutils, nls | 70 | PACKAGECONFIG ??= "\ |
71 | PACKAGECONFIG ??= "" | ||
72 | PACKAGECONFIG += " \ | ||
73 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \ | 71 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \ |
74 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \ | 72 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \ |
75 | nls \ | 73 | nls \ |