[oe] [meta-qt5][PATCH V2] qtbase: add disable option to opengl PACKAGECONFIG

Hongxu Jia hongxu.jia at windriver.com
Tue Apr 17 09:17:36 UTC 2018


The qtbase detect oepngl by default and report error if not found,
add disable option while explicitly disable it.

Remove useless no-opengl PACKAGECONFIG

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 recipes-qt/qt5/qtbase_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 5c4fe4f..ca056af 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -111,9 +111,8 @@ PACKAGECONFIG[ico] = "-ico,-no-ico"
 PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib"
 PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre"
 PACKAGECONFIG[eglfs] = "-eglfs,-no-eglfs,drm"
-PACKAGECONFIG[gl] = "-opengl desktop,,virtual/libgl"
+PACKAGECONFIG[gl] = "-opengl desktop,-no-opengl,virtual/libgl"
 PACKAGECONFIG[gles2] = "-opengl es2,,virtual/libgles2 virtual/egl"
-PACKAGECONFIG[no-opengl] = "-no-opengl"
 PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib"
 PACKAGECONFIG[cups] = "-cups,-no-cups,cups"
 PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus"
-- 
2.7.4




More information about the Openembedded-devel mailing list