From 46454ac2a8a7d693ac135f0d4a9461bbcf24eea9 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 24 Aug 2010 12:38:42 +0000 Subject: 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 --- apps/plugins/lib/SOURCES | 16 ---------------- apps/plugins/lib/pluginlib_exit.h | 4 ---- 2 files changed, 20 deletions(-) (limited to 'apps/plugins/lib') diff --git a/apps/plugins/lib/SOURCES b/apps/plugins/lib/SOURCES index fa12f94..1db9896 100644 --- a/apps/plugins/lib/SOURCES +++ b/apps/plugins/lib/SOURCES @@ -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 */ diff --git a/apps/plugins/lib/pluginlib_exit.h b/apps/plugins/lib/pluginlib_exit.h index 00cbc8d..8c7f0c4 100644 --- a/apps/plugins/lib/pluginlib_exit.h +++ b/apps/plugins/lib/pluginlib_exit.h @@ -23,11 +23,7 @@ #define __PLUGINLIB_EXIT_H__ #include "config.h" -#if (CONFIG_PLATFORM & PLATFORM_NATIVE) -#include "../../codecs/lib/setjmp.h" -#else #include -#endif #define _PLUGINLIB_EXIT_INIT(atexit) switch(setjmp(__exit_env)) \ { \ -- cgit v1.1