When the SDL2 recipe detects "opengl" as a distro feature it selects
desktop OpenGL, although we advertise "opengl" as a feature we only
actually support the embedded standard ES. This causes a build failure
on libsdl2 for our platforms. Specify the correct GL standard.

Signed-off-by: Andrew F. Davis <[email protected]>
---
 meta-arago-distro/conf/distro/arago.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-arago-distro/conf/distro/arago.conf 
b/meta-arago-distro/conf/distro/arago.conf
index e7c274a1..99ba36f8 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -128,6 +128,9 @@ PACKAGECONFIG_append_pn-open62541 = " encrypt"
 # Enable netperf intervals/pacing and histogram
 PACKAGECONFIG_append_pn-netperf = "intervals histogram"
 
+# Use OpenGL ES2 for SDL2
+PACKAGECONFIG_GL_pn-libsdl2 = "gles2"
+
 # Configure RAMFS for jailhouse linux-demo
 JH_RAMFS_IMAGE = "arago-tiny-image"
 
-- 
2.17.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to