summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-arm-amlogic-8726M-g++
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-11-23 20:11:17 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-12-13 18:55:52 +0000
commite58eb3d6f953c224c2d47cd344bc41ba9f499223 (patch)
treef7f8db1514ad1b8a1e374af9d84850591a913a6b /mkspecs/devices/linux-arm-amlogic-8726M-g++
parente2eab15e34181d81bac26613ab72c03240402bf8 (diff)
move device spec validation to configure
instead of letting the specs validate themselves on each call, let them only define a callback for use by the verifyspec configure test. this is somewhat faster, and allows them to be loaded before qdevice.pri is populated. Change-Id: I2b60d006b33bbf42c28949f10ad429520ed32f46 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'mkspecs/devices/linux-arm-amlogic-8726M-g++')
-rw-r--r--mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf b/mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
index da2e046d08..74eaf0dd09 100644
--- a/mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
+++ b/mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
@@ -12,6 +12,10 @@ include(../../common/g++-unix.conf)
load(device_config)
+defineTest(qtConfSanitizeMkspec) {
+ deviceSanityCheckCompiler()
+}
+
QMAKE_CC = $${CROSS_COMPILE}gcc
QMAKE_CXX = $${CROSS_COMPILE}g++
QMAKE_LINK = $${QMAKE_CXX}
@@ -25,8 +29,6 @@ QMAKE_STRIP = $${CROSS_COMPILE}strip
QMAKE_CFLAGS += -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a9
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
-deviceSanityCheckCompiler()
-
EGLFS_PLATFORM_HOOKS_SOURCES = $$PWD/qeglfshooks_8726m.cpp
QT_QPA_DEFAULT_PLATFORM = eglfs