From a36b1d4083e5cf34df1b217516be28471e7d0dc7 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 15 Jan 2006 18:20:18 +0000 Subject: New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/configure b/tools/configure index f8fea6e76c..2cd855e0c5 100755 --- a/tools/configure +++ b/tools/configure @@ -427,7 +427,7 @@ appsdir='\$(ROOTDIR)/apps' echo "15 - iPod Video" echo "16 - iriver iFP-790" - getit=`input`; + target_id=`input`; # Set of tools built for all target platforms: toolset="rdf2binary convbdf" @@ -437,7 +437,7 @@ appsdir='\$(ROOTDIR)/apps' iriverbitmaptools="$toolset scramble descramble mkboot bmp2rb codepages" ipodbitmaptools="$toolset scramble ipod_fw bmp2rb codepages" - case $getit in + case $target_id in 1) archos="player" @@ -881,6 +881,7 @@ sed > Makefile \ -e "s,@ROOTDIR@,${rootdir},g" \ -e "s,@DEBUG@,${debug},g" \ -e "s,@MEMORY@,${memory},g" \ + -e "s,@TARGET_ID@,${target_id},g" \ -e "s,@TARGET@,${target},g" \ -e "s,@ARCHOS@,${archos},g" \ -e "s,@LANGUAGE@,${language},g" \ @@ -927,6 +928,7 @@ export DEBUG=@DEBUG@ export ARCHOS=@ARCHOS@ export ARCHOSROM=@ARCHOSROM@ export FLASHFILE=@FLASHFILE@ +export TARGET_ID=@TARGET_ID@ export TARGET=@TARGET@ export OBJDIR=@PWD@ export BUILDDIR=@PWD@ -- cgit v1.2.3