mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
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). (From OE-Core rev: 3daa991705c2c8e6e3d86a2c7e427f84176b31c2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
44375eccf1
commit
e5c4db30c5
@@ -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)}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user