# Copyright (C) 2013 Eric Bénard - Eukréa Electromatique FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "file://Force_egl_visual_ID_33.patch" HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" IS_MX6SL = "0" IS_MX6SL_mx6sl = "1" PACKAGECONFIG_GL_mx5 = "gles2" QT_CONFIG_FLAGS_append_mx5 = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" PACKAGECONFIG_GL_mx6q = "gles2" PACKAGECONFIG_GL_mx6dl = "gles2" PACKAGECONFIG_GL_mx6sx = "gles2" PACKAGECONFIG_GL_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}" QT_CONFIG_FLAGS_append_mx6q = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" QT_CONFIG_FLAGS_append_mx6dl = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" QT_CONFIG_FLAGS_append_mx6sx = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" QT_CONFIG_FLAGS_append_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', \ ' -no-opengl -linuxfb -no-eglfs', d)}" do_configure_prepend_mx5() { sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <> ${S}/mkspecs/linux-oe-g++/qmake.conf <