1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thomas Martitz 2010-08-24 12:38:42 +00:00
parent 20de4c55a2
commit 46454ac2a8
16 changed files with 1118 additions and 38 deletions

19
lib/libsetjmp/SOURCES Normal file
View file

@ -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