summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
parent20de4c55a2ddfa802a01cc353884d73a934bf7ba (diff)
downloadrockbox-46454ac2a8a7d693ac135f0d4a9461bbcf24eea9.tar.gz
rockbox-46454ac2a8a7d693ac135f0d4a9461bbcf24eea9.tar.bz2
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 'tools')
-rw-r--r--tools/root.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/root.make b/tools/root.make
index 4aff793abc..eda27b77c0 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -69,6 +69,11 @@ ifeq (,$(findstring checkwps,$(APPSDIR)))
endif
endif
+#included before codecs.make and plugins.make so they see $(LIBSETJMP)
+ifndef APP_TYPE
+ include $(ROOTDIR)/lib/libsetjmp/libsetjmp.make
+endif
+
ifneq (,$(findstring bootloader,$(APPSDIR)))
include $(APPSDIR)/bootloader.make
else ifneq (,$(findstring bootbox,$(APPSDIR)))
@@ -95,6 +100,7 @@ else
ifdef APP_TYPE
include $(ROOTDIR)/uisimulator/uisimulator.make
endif
+
endif # bootloader
OBJ := $(SRC:.c=.o)