From 6e96f4ac7e1d970109a504f633554f068afd9e74 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 20 Sep 2016 19:03:15 +0200 Subject: [PATCH] qtbase: add i.MX6UL overrides This allows to build 'qtbase' for the CC6UL. It only fixes the broken build, as any QT application that uses OpenGL/ES will fail because there is no support for QT/OpenGL in modules without a GPU. Fix: arm-dey-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/ssd/dey/jethro/fb/ccimx6ulsbc/tmp/sysroots/ccimx6ulsbc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -o opengldesktop opengldesktop.o -lGL .../arm-dey-linux-gnueabi/5.2.0/ld: cannot find -lGL A similar commit was done in meta-fsl-arm.git (branch Krogoth). https://jira.digi.com/browse/DEL-2607 Signed-off-by: Javier Viguera --- meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend b/meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend index 53dab262c..71fb9422d 100644 --- a/meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend +++ b/meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend @@ -4,6 +4,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" SRC_URI_append = " file://qt5.sh" +PACKAGECONFIG_GL_mx6ul = "gles2" +QT_CONFIG_FLAGS_append_mx6ul = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" + PACKAGECONFIG_append = " accessibility examples icu sql-sqlite" do_install_append() {