summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/linux-dm800-g++/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/qws/linux-dm800-g++/qmake.conf')
-rw-r--r--mkspecs/qws/linux-dm800-g++/qmake.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/mkspecs/qws/linux-dm800-g++/qmake.conf b/mkspecs/qws/linux-dm800-g++/qmake.conf
new file mode 100644
index 0000000000..002e4c7d56
--- /dev/null
+++ b/mkspecs/qws/linux-dm800-g++/qmake.conf
@@ -0,0 +1,25 @@
+#
+# qmake configuration for linux-dm800-g++, for Dream Multimedia's DM800
+#
+
+include(../../common/linux.conf)
+include(../../common/gcc-base-unix.conf)
+include(../../common/g++-unix.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC = mipsel-linux-gcc
+QMAKE_CXX = mipsel-linux-g++
+QMAKE_LINK = mipsel-linux-g++
+QMAKE_LINK_SHLIB = mipsel-linux-g++
+QMAKE_CFLAGS += -mabi=32 -mips32
+QMAKE_CFLAGS_RELEASE += -fexpensive-optimizations -frename-registers -O2
+QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+
+# modifications to linux.conf
+QMAKE_AR = mipsel-linux-ar cqs
+QMAKE_OBJCOPY = mipsel-linux-objcopy
+QMAKE_STRIP = mipsel-linux-strip
+
+load(qt_config)