diff mbox series

[1/3] bitbake.conf: add vulkan to DISTRO_FEATURES_FILTER_NATIVE{,SDK}

Message ID 20250912152548.730100-1-dmitry.baryshkov@oss.qualcomm.com
State New
Headers show
Series [1/3] bitbake.conf: add vulkan to DISTRO_FEATURES_FILTER_NATIVE{,SDK} | expand

Commit Message

Dmitry Baryshkov Sept. 12, 2025, 3:25 p.m. UTC
Follow the example of OpenGL and propagate vulkan from the target
DISTRO_FEATURES into the native build. This helps us to resolve mesa ->
mesa-native dependency if 'opengl' is not a part of DISTRO_FEATURES

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 meta/conf/bitbake.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Quentin Schulz Sept. 12, 2025, 3:36 p.m. UTC | #1
Hi Dmitry,

On 9/12/25 5:25 PM, Dmitry Baryshkov via lists.openembedded.org wrote:
> Follow the example of OpenGL and propagate vulkan from the target
> DISTRO_FEATURES into the native build. This helps us to resolve mesa ->
> mesa-native dependency if 'opengl' is not a part of DISTRO_FEATURES
> 

It's unclear to me how this "helps us to resolve mesa -> mesa-native 
dependency if 'opengl' is not a part of DISTRO_FEATURES" and same remark 
for patch 2/3 in this series.

Can you please provide a bit more context on the issue you're trying to 
solve?

Thanks!
Quentin
Alexander Kanavin Sept. 12, 2025, 3:56 p.m. UTC | #2
On Fri, 12 Sept 2025 at 17:36, Quentin Schulz via
lists.openembedded.org
<quentin.schulz=cherry.de@lists.openembedded.org> wrote:
>
> Hi Dmitry,
>
> On 9/12/25 5:25 PM, Dmitry Baryshkov via lists.openembedded.org wrote:
> > Follow the example of OpenGL and propagate vulkan from the target
> > DISTRO_FEATURES into the native build. This helps us to resolve mesa ->
> > mesa-native dependency if 'opengl' is not a part of DISTRO_FEATURES
> >
>
> It's unclear to me how this "helps us to resolve mesa -> mesa-native
> dependency if 'opengl' is not a part of DISTRO_FEATURES" and same remark
> for patch 2/3 in this series.
>
> Can you please provide a bit more context on the issue you're trying to
> solve?

I agree; this needs to be more specific and explain what native bits
need native vulkan distro feature set in order for target vulkan to
work.

Alex
diff mbox series

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8e90c7bbc85c..6ed8128b101a 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -915,8 +915,8 @@  DISTRO_FEATURES_NATIVESDK:mingw32 = "x11 ipv6"
 
 # Normally target distro features will not be applied to native builds:
 # Native distro features on this list will use the target feature value
-DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation debuginfod opengl wayland"
-DISTRO_FEATURES_FILTER_NATIVESDK ?= "api-documentation debuginfod opengl wayland"
+DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation debuginfod opengl wayland vulkan"
+DISTRO_FEATURES_FILTER_NATIVESDK ?= "api-documentation debuginfod opengl wayland vulkan"
 
 DISTRO_FEATURES_BACKFILL = "pulseaudio sysvinit gobject-introspection-data ldconfig"
 MACHINE_FEATURES_BACKFILL = "rtc qemu-usermode"