]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
mesa: allow mesa-native/nativesdk only subject to opengl/vulkan DISTRO_FEATURE
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 16 Mar 2023 09:40:58 +0000 (10:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Mar 2023 14:47:26 +0000 (14:47 +0000)
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 <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-graphics/mesa/mesa.inc

index c0b8f65625850acd30a51a756d3973520b4192e1..775aab9297e51e3312c79168ba5211359fbee1cd 100644 (file)
@@ -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)}"