logo       

bagder: tools configure,1.86,1.87: msg#00221

systems.archos.rockbox.cvs

Subject: bagder: tools configure,1.86,1.87

Update of /cvsroot/rockbox/tools
In directory labb:/tmp/cvs-serv30188

Modified Files:
configure
Log Message:
add bootloader option (only usable for iRiver)


Index: configure
===================================================================
RCS file: /cvsroot/rockbox/tools/configure,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- configure 28 Jan 2005 12:27:39 -0000 1.86
+++ configure 29 Jan 2005 00:00:47 -0000 1.87
@@ -253,6 +253,9 @@
cd $now
fi

+
+appsdir='\$(ROOTDIR)/apps'
+
if [ -z "$archos" ]; then

##################################################################
@@ -401,11 +404,21 @@
##################################################################
# Figure out debug on/off
#
- echo "Build (N)ormal, (D)ebug or (S)imulated version? (N)"
+ echo "Build (N)ormal, (D)ebug, (S)imulator, (B)ootloader? (N)"

option=`input`;

case $option in
+ [Bb])
+ if [ "$archos" != "h100" ]; then
+ echo "only the iRiver_h100 platform can build a boot loader";
+ exit
+ fi
+ extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES
+ appsdir='\$(ROOTDIR)/bootloader'
+ bootloader="1"
+ echo "Bootloader build selected"
+ ;;
[Ss])
debug="1"
simulator="yes"
@@ -467,12 +480,14 @@
-e "s,@FLASHFILE@,${flash},g" \
-e "s,@PLUGINS@,${plugins},g" \
-e "s,@GCCOPTS@,${GCCOPTS},g" \
+ -e "s,@EXTRADEF@,${extradefines},g" \
+ -e "s,@APPSDIR@,${appsdir},g" \
<<EOF
## Automaticly generated. http://rockbox.haxx.se

export ROOTDIR=@ROOTDIR@
export FIRMDIR=\$(ROOTDIR)/firmware
-export APPSDIR=\$(ROOTDIR)/apps
+export APPSDIR=@APPSDIR@
export TOOLSDIR=\$(ROOTDIR)/tools
export DOCSDIR=\$(ROOTDIR)/docs
export DEBUG=@DEBUG@
@@ -488,6 +503,7 @@
export BINARY=@OUTPUT@
export APPEXTRA=@APPEXTRA@
export ENABLEDPLUGINS=@PLUGINS@
+export EXTRA_DEFINES=@EXTRADEF@
export CC=@CC@
export LD=@LD@
export AR=@AR@

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise