qt5base: set eglfs platform hook for imx6
authorFatih Aşıcı <fatih.asici@gmail.com>
Wed, 18 Sep 2013 05:17:09 +0000 (08:17 +0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 18 Sep 2013 22:18:28 +0000 (00:18 +0200)
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt5/qt5base/qt5base.mk

index 1686dad69a86d20b9db66984beda31d4a8f18dd4..ddc5574c7ed4a6614eb1d930a49b9a65be5940ad 100644 (file)
@@ -98,6 +98,10 @@ endif
 ifeq ($(BR2_PACKAGE_QT5BASE_EGLFS),y)
 QT5BASE_CONFIGURE_OPTS += -opengl es2 -eglfs
 QT5BASE_DEPENDENCIES   += libgles libegl
+ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q),y)
+QT5BASE_EGLFS_PLATFORM_HOOKS_SOURCES = \
+       $(@D)/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp
+endif
 ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
 QT5BASE_EGLFS_PLATFORM_HOOKS_SOURCES = \
        $(@D)/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp