summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-snowball-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-snowball-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-snowball-g++')
-rw-r--r--mkspecs/devices/linux-snowball-g++/qmake.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/mkspecs/devices/linux-snowball-g++/qmake.conf b/mkspecs/devices/linux-snowball-g++/qmake.conf
index 3520c7a922..9791119363 100644
--- a/mkspecs/devices/linux-snowball-g++/qmake.conf
+++ b/mkspecs/devices/linux-snowball-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}
@@ -26,6 +30,4 @@ QMAKE_STRIP = $${CROSS_COMPILE}strip
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf \
-Wl,-rpath-link,$$[QT_SYSROOT]/lib/arm-linux-gnueabihf
-deviceSanityCheckCompiler()
-
load(qt_config)