From: Alexander Kanavin Date: Thu, 16 Mar 2023 09:40:58 +0000 (+0100) Subject: mesa: allow mesa-native/nativesdk only subject to opengl/vulkan DISTRO_FEATURE X-Git-Tag: 2023-04-mickledore~152 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3daa991705c2c8e6e3d86a2c7e427f84176b31c2;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git mesa: allow mesa-native/nativesdk only subject to opengl/vulkan DISTRO_FEATURE This prevents accidental builds of it when native/nativesdk opengl is not actually enabled (which may cause undesirable lengthening of dependency chains or build failures because those dependencies don't enable options required for mesa). Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index c0b8f656258..775aab9297e 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -51,7 +51,7 @@ inherit meson pkgconfig python3native gettext features_check BBCLASSEXTEND = "native nativesdk" -ANY_OF_DISTRO_FEATURES:class-target = "opengl vulkan" +ANY_OF_DISTRO_FEATURES = "opengl vulkan" PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"