summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/linux-sh-g++
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-04-17 14:06:06 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-04-17 14:06:06 (GMT)
commitf15b8a83e2e51955776a3f07cb85ebfc342dd8ef (patch)
treec5dc684986051654898db11ce73e03b9fec8db99 /mkspecs/qws/linux-sh-g++
downloadQt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.zip
Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.gz
Qt-f15b8a83e2e51955776a3f07cb85ebfc342dd8ef.tar.bz2
Initial import of statemachine branch from the old kinetic repository
Diffstat (limited to 'mkspecs/qws/linux-sh-g++')
-rw-r--r--mkspecs/qws/linux-sh-g++/qmake.conf20
-rw-r--r--mkspecs/qws/linux-sh-g++/qplatformdefs.h1
2 files changed, 21 insertions, 0 deletions
diff --git a/mkspecs/qws/linux-sh-g++/qmake.conf b/mkspecs/qws/linux-sh-g++/qmake.conf
new file mode 100644
index 0000000..61b57a3
--- /dev/null
+++ b/mkspecs/qws/linux-sh-g++/qmake.conf
@@ -0,0 +1,20 @@
+#
+# qmake configuration for building for SH devices with sh3-linux-g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC = sh3-linux-gcc
+QMAKE_CXX = sh3-linux-g++
+QMAKE_LINK = sh3-linux-g++
+QMAKE_LINK_SHLIB = sh3-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR = sh3-linux-ar cqs
+QMAKE_OBJCOPY = sh3-linux-objcopy
+QMAKE_STRIP = sh3-linux-strip
+
+load(qt_config)
diff --git a/mkspecs/qws/linux-sh-g++/qplatformdefs.h b/mkspecs/qws/linux-sh-g++/qplatformdefs.h
new file mode 100644
index 0000000..99e9a27
--- /dev/null
+++ b/mkspecs/qws/linux-sh-g++/qplatformdefs.h
@@ -0,0 +1 @@
+#include "../../linux-g++/qplatformdefs.h"