summaryrefslogtreecommitdiffstats
path: root/src/v8
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2011-11-21 21:37:48 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-01 17:46:57 +0100
commit2008d2d40ed10baf94acb9103b85f3bf6e2f655a (patch)
treeaac5fb7eccfa8cf8df1b0e2a335c5d10a0e2cc5a /src/v8
parentba635d7e74472f3a54c0c4686966af46d9035c6f (diff)
v8: Be able to build V8 for MIPS
Add mips to the list in configure and the v8.pri, build the existing MIPS files. The result has not been verified to work. Change-Id: I0f4fd29cd9752d32b6d87e0df0e888822f40ac0a Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'src/v8')
-rw-r--r--src/v8/v8.pri22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/v8/v8.pri b/src/v8/v8.pri
index 66ec11acf7..9277a23fef 100644
--- a/src/v8/v8.pri
+++ b/src/v8/v8.pri
@@ -9,6 +9,7 @@ isEmpty(V8_TARGET_ARCH) {
# Detect target
equals(QT_ARCH, x86_64)|contains(CONFIG, x86_64):V8_TARGET_ARCH = x64
else:equals(QT_ARCH, "i386"): V8_TARGET_ARCH = ia32
+ else:equals(QT_ARCH, "mips"): V8_TARGET_ARCH = mips
else:equals(QT_ARCH, "arm"): V8_TARGET_ARCH = arm
else:equals(QMAKE_HOST.arch, armv7l): V8_TARGET_ARCH = arm
else:equals(QMAKE_HOST.arch, armv5tel): V8_TARGET_ARCH = arm
@@ -211,6 +212,27 @@ SOURCES += \
$$V8SRC/x64/stub-cache-x64.cc
}
+arch_mips {
+DEFINES += V8_TARGET_MIPS
+SOURCES += \
+ $$V8SRC/mips/assembler-mips.cc \
+ $$V8SRC/mips/builtins-mips.cc \
+ $$V8SRC/mips/codegen-mips.cc \
+ $$V8SRC/mips/code-stubs-mips.cc \
+ $$V8SRC/mips/constants-mips.cc \
+ $$V8SRC/mips/cpu-mips.cc \
+ $$V8SRC/mips/debug-mips.cc \
+ $$V8SRC/mips/deoptimizer-mips.cc \
+ $$V8SRC/mips/disasm-mips.cc \
+ $$V8SRC/mips/frames-mips.cc \
+ $$V8SRC/mips/full-codegen-mips.cc \
+ $$V8SRC/mips/ic-mips.cc \
+ $$V8SRC/mips/macro-assembler-mips.cc \
+ $$V8SRC/mips/regexp-macro-assembler-mips.cc \
+ $$V8SRC/mips/simulator-mips.cc \
+ $$V8SRC/mips/stub-cache-mips.cc
+}
+
unix:!symbian:!macx {
SOURCES += \
$$V8SRC/platform-linux.cc \