summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf')
-rw-r--r--mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf b/mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
new file mode 100644
index 0000000000..e57b2e7ed7
--- /dev/null
+++ b/mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
@@ -0,0 +1,34 @@
+#
+# qmake configuration for linux-g++
+#
+
+MAKEFILE_GENERATOR = UNIX
+TARGET_PLATFORM = unix
+TEMPLATE = app
+CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
+QT += core gui
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../../common/linux.conf)
+include(../../common/gcc-base-unix.conf)
+include(../../common/g++-unix.conf)
+
+load(device_config)
+
+isEmpty(CROSS_COMPILE): error("CROSS_COMPILE needs to be set via -device-option CROSS_COMPILE=<path>")
+
+QMAKE_CC = $${CROSS_COMPILE}gcc
+QMAKE_CXX = $${CROSS_COMPILE}g++
+QMAKE_LINK = $${QMAKE_CXX}
+QMAKE_LINK_SHLIB = $${QMAKE_CXX}
+
+QMAKE_AR = $${CROSS_COMPILE}ar cqs
+QMAKE_OBJCOPY = $${CROSS_COMPILE}objcopy
+QMAKE_STRIP = $${CROSS_COMPILE}strip
+
+QMAKE_CFLAGS_RELEASE += -O2 -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a9
+QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
+
+deviceSanityCheckCompiler()
+
+load(qt_config)