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

View file

@ -75,19 +75,3 @@ pluginlib_albumart.c
#ifdef HAVE_TOUCHSCREEN
pluginlib_touchscreen.c
#endif
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
#ifdef CPU_ARM
../../codecs/lib/setjmp_arm.S
#endif
#ifdef CPU_COLDFIRE
../../codecs/lib/setjmp_cf.S
#endif
#ifdef CPU_MIPS
../../codecs/lib/setjmp_mips.S
#endif
#endif /* PLATFORM_NATIVE */