summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-drive-cx-g++/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/devices/linux-drive-cx-g++/qmake.conf')
-rw-r--r--mkspecs/devices/linux-drive-cx-g++/qmake.conf10
1 files changed, 8 insertions, 2 deletions
diff --git a/mkspecs/devices/linux-drive-cx-g++/qmake.conf b/mkspecs/devices/linux-drive-cx-g++/qmake.conf
index 985f8626ad..a658f29deb 100644
--- a/mkspecs/devices/linux-drive-cx-g++/qmake.conf
+++ b/mkspecs/devices/linux-drive-cx-g++/qmake.conf
@@ -16,8 +16,6 @@
include(../common/linux_device_pre.conf)
-isEmpty(VIBRANTE_SDK_TOPDIR):error("You must pass -device-option VIBRANTE_SDK_TOPDIR=/path/to/sdk")
-
QMAKE_INCDIR += \
$${VIBRANTE_SDK_TOPDIR}/include \
$$[QT_SYSROOT]/usr/include
@@ -43,4 +41,12 @@ COMPILER_FLAGS += -mtune=cortex-a57.cortex-a53 -march=armv8-a
EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice
include(../common/linux_arm_device_post.conf)
+
+# override the default from linux_arm_device_post.conf
+defineTest(qtConfSanitizeMkspec) {
+ isEmpty(VIBRANTE_SDK_TOPDIR): \
+ error("You must pass -device-option VIBRANTE_SDK_TOPDIR=/path/to/sdk")
+ deviceSanityCheckCompiler()
+}
+
load(qt_config)