]> code.ossystems Code Review - meta-freescale.git/commitdiff
qtbase: Allow easy override of the mainline BSP GL backend
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 2 May 2020 00:33:39 +0000 (21:33 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 5 May 2020 11:43:07 +0000 (08:43 -0300)
Using a weak setting, allow distributions to override it and make
customizations if need (use gl, for example).

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: Id1ee47764148e07feba86e16cd7d282a37dcf9e9

dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend

index 6393d362aaa4e79af5c63269c358f3220cb070f8..d24957ed88861faa4d492815e2bdfc5316721f99 100644 (file)
@@ -19,7 +19,7 @@ SRC_URI_append_imxgpu3d = " \
 PACKAGECONFIG_GL_imxpxp   = "gles2"
 PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}"
 PACKAGECONFIG_GL_imxgpu3d = "gles2"
-PACKAGECONFIG_GL_use-mainline-bsp = "gles2 gbm kms"
+PACKAGECONFIG_GL_use-mainline-bsp ?= "gles2 gbm kms"
 
 PACKAGECONFIG_PLATFORM          = ""
 PACKAGECONFIG_PLATFORM_imxgpu2d = "no-opengl linuxfb"