diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-03-16 10:40:58 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-22 14:47:29 +0000 |
| commit | e5c4db30c5fa1b951b8e101d975711c027a06408 (patch) | |
| tree | c078230928d873bd387089254777e205a278e4e8 /meta | |
| parent | 44375eccf1f4bcabe3ae6bafa570a869624440df (diff) | |
| download | poky-e5c4db30c5fa1b951b8e101d975711c027a06408.tar.gz | |
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>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index c0b8f65625..775aab9297 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 | |||
| 51 | 51 | ||
| 52 | BBCLASSEXTEND = "native nativesdk" | 52 | BBCLASSEXTEND = "native nativesdk" |
| 53 | 53 | ||
| 54 | ANY_OF_DISTRO_FEATURES:class-target = "opengl vulkan" | 54 | ANY_OF_DISTRO_FEATURES = "opengl vulkan" |
| 55 | 55 | ||
| 56 | PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}" | 56 | PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}" |
| 57 | 57 | ||
