diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2019-02-22 11:09:31 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-25 10:43:06 +0000 |
commit | 8d80e3e48f9c8e6303382f3aca525ee5f371236f (patch) | |
tree | 6725b83461cf7a187a41d0a32f3f708348376f5b /meta/recipes-graphics/mesa | |
parent | 8f112c3ed0b093598376ece6af1182c9b5efbfe9 (diff) | |
download | poky-8d80e3e48f9c8e6303382f3aca525ee5f371236f.tar.gz |
mesa: Add opengl to native and nativesdk PACKAGECONFIG
Allow the use of opengl for native and nativesdk packages.
Based on https://patchwork.openembedded.org/patch/158748/
(From OE-Core rev: 4a94dc8daab8890aaff36ffafdfe2feaa52902d4)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index b2c6395a31..59e8a204c7 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -49,8 +49,8 @@ PACKAGECONFIG_class-target ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland v | |||
49 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} \ | 49 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} \ |
50 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ | 50 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ |
51 | " | 51 | " |
52 | PACKAGECONFIG_class-native ?= "gbm dri egl" | 52 | PACKAGECONFIG_class-native ?= "gbm dri egl opengl" |
53 | PACKAGECONFIG_class-nativesdk ?= "gbm dri egl" | 53 | PACKAGECONFIG_class-nativesdk ?= "gbm dri egl opengl" |
54 | 54 | ||
55 | # "gbm" requires "dri", "opengl" | 55 | # "gbm" requires "dri", "opengl" |
56 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" | 56 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" |