As ??= assignment will be overwritten by += in any case, one can't define a default of PACKAGECONFIG in this recipe. Using _append instead mitigates chances of accidental overwriting the default
Signed-off-by: Konrad Weihmann <[email protected]> --- meta/recipes-support/vim/vim-tiny_8.2.bb | 2 +- meta/recipes-support/vim/vim.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/vim/vim-tiny_8.2.bb b/meta/recipes-support/vim/vim-tiny_8.2.bb index e4c26d23f6..ed5631af91 100644 --- a/meta/recipes-support/vim/vim-tiny_8.2.bb +++ b/meta/recipes-support/vim/vim-tiny_8.2.bb @@ -2,7 +2,7 @@ require vim.inc SUMMARY += " (with tiny features)" -PACKAGECONFIG += "tiny" +PACKAGECONFIG_append = " tiny" do_install() { install -D -m 0755 ${S}/src/vim ${D}/${bindir}/vim.tiny diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 9f3dc08027..6f64104ded 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc @@ -51,7 +51,7 @@ do_compile() { #Available PACKAGECONFIG options are gtkgui, acl, x11, tiny PACKAGECONFIG ??= "" -PACKAGECONFIG += " \ +PACKAGECONFIG_append = " \ ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \ " -- 2.20.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#139131): https://lists.openembedded.org/g/openembedded-core/message/139131 Mute This Topic: https://lists.openembedded.org/mt/74636784/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
