diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 6 |
1 files changed, 4 insertions, 2 deletions
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' | |||
427 | echo "15 - iPod Video" | 427 | echo "15 - iPod Video" |
428 | echo "16 - iriver iFP-790" | 428 | echo "16 - iriver iFP-790" |
429 | 429 | ||
430 | getit=`input`; | 430 | target_id=`input`; |
431 | 431 | ||
432 | # Set of tools built for all target platforms: | 432 | # Set of tools built for all target platforms: |
433 | toolset="rdf2binary convbdf" | 433 | toolset="rdf2binary convbdf" |
@@ -437,7 +437,7 @@ appsdir='\$(ROOTDIR)/apps' | |||
437 | iriverbitmaptools="$toolset scramble descramble mkboot bmp2rb codepages" | 437 | iriverbitmaptools="$toolset scramble descramble mkboot bmp2rb codepages" |
438 | ipodbitmaptools="$toolset scramble ipod_fw bmp2rb codepages" | 438 | ipodbitmaptools="$toolset scramble ipod_fw bmp2rb codepages" |
439 | 439 | ||
440 | case $getit in | 440 | case $target_id in |
441 | 441 | ||
442 | 1) | 442 | 1) |
443 | archos="player" | 443 | archos="player" |
@@ -881,6 +881,7 @@ sed > Makefile \ | |||
881 | -e "s,@ROOTDIR@,${rootdir},g" \ | 881 | -e "s,@ROOTDIR@,${rootdir},g" \ |
882 | -e "s,@DEBUG@,${debug},g" \ | 882 | -e "s,@DEBUG@,${debug},g" \ |
883 | -e "s,@MEMORY@,${memory},g" \ | 883 | -e "s,@MEMORY@,${memory},g" \ |
884 | -e "s,@TARGET_ID@,${target_id},g" \ | ||
884 | -e "s,@TARGET@,${target},g" \ | 885 | -e "s,@TARGET@,${target},g" \ |
885 | -e "s,@ARCHOS@,${archos},g" \ | 886 | -e "s,@ARCHOS@,${archos},g" \ |
886 | -e "s,@LANGUAGE@,${language},g" \ | 887 | -e "s,@LANGUAGE@,${language},g" \ |
@@ -927,6 +928,7 @@ export DEBUG=@DEBUG@ | |||
927 | export ARCHOS=@ARCHOS@ | 928 | export ARCHOS=@ARCHOS@ |
928 | export ARCHOSROM=@ARCHOSROM@ | 929 | export ARCHOSROM=@ARCHOSROM@ |
929 | export FLASHFILE=@FLASHFILE@ | 930 | export FLASHFILE=@FLASHFILE@ |
931 | export TARGET_ID=@TARGET_ID@ | ||
930 | export TARGET=@TARGET@ | 932 | export TARGET=@TARGET@ |
931 | export OBJDIR=@PWD@ | 933 | export OBJDIR=@PWD@ |
932 | export BUILDDIR=@PWD@ | 934 | export BUILDDIR=@PWD@ |