summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-06-11 22:06:34 +0200
committerFrank Gevaerts <frank@gevaerts.be>2012-06-11 22:29:45 +0200
commitd1560e5869f27fd7f362a08bdb64878f11290046 (patch)
tree01e56e52b9626cf58d9877c1619a4b9d748585a1 /firmware
parent268b725c405fc08d79b8e020f1fe89dfc963bf35 (diff)
Add the Android/MIPS target
Change-Id: Iec1d2f08c8a43e486ab1696566a718b18598ff95
Diffstat (limited to 'firmware')
-rw-r--r--firmware/SOURCES2
-rw-r--r--firmware/export/config.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index aca752b2c2..80267b4320 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -634,7 +634,7 @@ target/arm/rk27xx/crt0.S
target/arm/crt0.S
#endif /* defined(CPU_*) */
-#elif defined(CPU_MIPS)
+#elif defined(CPU_MIPS) && (CONFIG_PLATFORM & PLATFORM_NATIVE)
target/mips/mmu-mips.c
#if CONFIG_CPU==JZ4732
target/mips/ingenic_jz47xx/crt0.S
diff --git a/firmware/export/config.h b/firmware/export/config.h
index f654609966..d9e32ce8cc 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -1133,4 +1133,9 @@ Lyre prototype 1 */
#define HAVE_PITCHCONTROL
#endif
+#if (CONFIG_PLATFORM & PLATFORM_HOSTED) && defined(CPU_MIPS)
+/* We don't have our own MIPS hosted threading support yet */
+#define HAVE_SIGALTSTACK_THREADS
+#endif
+
#endif /* __CONFIG_H__ */