summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-tinkerboard-g++/qmake.conf
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-04-26 03:24:13 -0700
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-04-28 17:35:03 +0000
commit779c00d454345ad51ee77572f6349a49af0647dd (patch)
treeefbbe1178b36d1852f8480f523ee981a15d9721a /mkspecs/devices/linux-tinkerboard-g++/qmake.conf
parent3644e722c2162104dc7ff51a4effbeb62f26dfb0 (diff)
Add a spec for the Asus Tinkerboard
Prioritize DRM/KMS for eglfs. There are now binary drivers for Mali that enable DRM, GBM and Wayland. Change-Id: I9ac97f5006f88706854e9160bdafb82f9f8aac5c Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'mkspecs/devices/linux-tinkerboard-g++/qmake.conf')
-rw-r--r--mkspecs/devices/linux-tinkerboard-g++/qmake.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/mkspecs/devices/linux-tinkerboard-g++/qmake.conf b/mkspecs/devices/linux-tinkerboard-g++/qmake.conf
new file mode 100644
index 0000000000..15874847de
--- /dev/null
+++ b/mkspecs/devices/linux-tinkerboard-g++/qmake.conf
@@ -0,0 +1,20 @@
+#
+# qmake configuration for the Asus Tinkerboard (Rockchip RK3288, Cortex-A17, Mali-T764)
+#
+# This configuration targets eglfs via DRM/KMS and Wayland.
+
+include(../common/linux_device_pre.conf)
+
+QMAKE_LIBS_EGL += -lEGL
+QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL
+QMAKE_LIBS_OPENVG += -lOpenVG -lEGL
+
+DISTRO_OPTS += hard-float
+COMPILER_FLAGS += -mtune=cortex-a17 -march=armv7-a -mfpu=neon-vfpv4
+
+# Preferred eglfs backend
+EGLFS_DEVICE_INTEGRATION = eglfs_kms
+
+include(../common/linux_arm_device_post.conf)
+
+load(qt_config)