summaryrefslogtreecommitdiffstats
path: root/lib/libsetjmp/SOURCES
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-08-24 12:38:42 +0000
committerThomas Martitz <kugel@rockbox.org>2010-08-24 12:38:42 +0000
commit46454ac2a8a7d693ac135f0d4a9461bbcf24eea9 (patch)
tree86488784b36537f382ccd448c6684d60f1540527 /lib/libsetjmp/SOURCES
parent20de4c55a2ddfa802a01cc353884d73a934bf7ba (diff)
downloadrockbox-46454ac2a8a7d693ac135f0d4a9461bbcf24eea9.tar.gz
rockbox-46454ac2a8a7d693ac135f0d4a9461bbcf24eea9.zip
Move setjmp to lib and add setjmp for sh (imported from newlib) and compile it as separate library.
It's used by both, plugins and codecs, and sh/hwcodec doesn't compile codecs so it doesn't fit into sources. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27869 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib/libsetjmp/SOURCES')
-rw-r--r--lib/libsetjmp/SOURCES19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libsetjmp/SOURCES b/lib/libsetjmp/SOURCES
new file mode 100644
index 0000000000..aa0ac46a23
--- /dev/null
+++ b/lib/libsetjmp/SOURCES
@@ -0,0 +1,19 @@
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
+
+#ifdef CPU_ARM
+arm/setjmp.S
+#endif
+
+#ifdef CPU_COLDFIRE
+m68k/setjmp.S
+#endif
+
+#ifdef CPU_SH
+sh/setjmp.S
+#endif
+
+#ifdef CPU_MIPS
+mips/setjmp.S
+#endif
+
+#endif