Hi Alex,
I have changed this patch accordingly to your suggestions 🙂

BR
Piotr
________________________________
Od: Alexander Kanavin <alex.kana...@gmail.com>
Wysłane: wtorek, 11 lipca 2023 18:50
Do: Piotr Łobacz <p.lob...@welotec.com>
DW: openembedded-core@lists.openembedded.org 
<openembedded-core@lists.openembedded.org>
Temat: Re: [OE-Core][PATCH 1/3] bitbake.conf: add acl and xattr distro native 
features support

On Mon, 10 Jul 2023 at 11:59, Piotr Łobacz <p.lob...@welotec.com> wrote:
>  # Native distro features (will always be used for -native, even if they
>  # are not enabled for target)
> -DISTRO_FEATURES_NATIVE ?= "x11 ipv6 xattr"
> +DISTRO_FEATURES_NATIVE ?= "x11 ipv6 ${@bb.utils.filter('DISTRO_FEATURES', 
> 'acl xattr', d)}"
>  DISTRO_FEATURES_NATIVESDK ?= "x11"
>
>  # Normally target distro features will not be applied to native builds:

... and the next lines after that are:
# Native distro features on this list will use the target feature value
DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation debuginfod opengl wayland"

So you can simply add acl/xattr to DISTRO_FEATURES_FILTER_NATIVE
instead, which is purpose-made for the use case.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#184161): 
https://lists.openembedded.org/g/openembedded-core/message/184161
Mute This Topic: https://lists.openembedded.org/mt/100090121/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to