summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-21 19:00:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-27 11:04:47 +0100
commit08a3d674e05786b81f2062e24d8b0127f00237c7 (patch)
tree25e5d9ec268fe495b56a5eaf112cb0b2967dd5b0
parent2e29151a3a660871db3009fc64a5e1e72f1827b0 (diff)
downloadpoky-08a3d674e05786b81f2062e24d8b0127f00237c7.tar.gz
libsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEATURES
This allows virgl support in qemu with the SDL frontend (From OE-Core rev: 0e0113c350e599f4da00eda384570e0db04f3b5d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb
index c1c941e452..83dce86801 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb
@@ -45,8 +45,8 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
45# and BSP layers to pick either (desktop) opengl, gles2, or no GL 45# and BSP layers to pick either (desktop) opengl, gles2, or no GL
46PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" 46PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
47 47
48PACKAGECONFIG_class-native = "x11" 48PACKAGECONFIG_class-native = "x11 ${PACKAGECONFIG_GL}"
49PACKAGECONFIG_class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 49PACKAGECONFIG_class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}"
50PACKAGECONFIG ??= " \ 50PACKAGECONFIG ??= " \
51 ${PACKAGECONFIG_GL} \ 51 ${PACKAGECONFIG_GL} \
52 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \ 52 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \