diff options
author | Markus Volk <f_l_k@t-online.de> | 2022-03-16 18:07:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-17 16:44:33 +0000 |
commit | 188c5ff44474917c001467242c5ac9d514153e20 (patch) | |
tree | 07e57bb20ecf29493c41d374bcc959baccea1bca | |
parent | a6ad1d410dcc65edb0c53cfda47b31b5cfd06bb9 (diff) | |
download | poky-188c5ff44474917c001467242c5ac9d514153e20.tar.gz |
mesa: align target- and native build
(From OE-Core rev: bfa40b777f08bab97263559a1f91200005eb180c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 2a89b8e8f0..116a9ed861 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -82,16 +82,14 @@ EXTRA_OEMESON = " \ | |||
82 | def strip_comma(s): | 82 | def strip_comma(s): |
83 | return s.strip(',') | 83 | return s.strip(',') |
84 | 84 | ||
85 | PACKAGECONFIG:class-target ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland vulkan', d)} \ | 85 | PACKAGECONFIG = " \ |
86 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm gallium virgl', '', d)} \ | 86 | gallium \ |
87 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} \ | 87 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland', d)} \ |
88 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ | 88 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm virgl', '', d)} \ |
89 | elf-tls \ | 89 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'dri3', '', d)} \ |
90 | " | 90 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ |
91 | PACKAGECONFIG:class-native ?= "gbm gallium egl opengl elf-tls x11" | 91 | ${@bb.utils.contains('TCLIBC', 'glibc', 'elf-tls', '', d)} \ |
92 | PACKAGECONFIG:class-nativesdk ?= "gbm gallium egl opengl elf-tls x11" | 92 | " |
93 | |||
94 | PACKAGECONFIG:remove:libc-musl = "elf-tls" | ||
95 | 93 | ||
96 | # "gbm" requires "opengl" | 94 | # "gbm" requires "opengl" |
97 | PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled" | 95 | PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled" |