summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure47
1 files changed, 28 insertions, 19 deletions
diff --git a/tools/configure b/tools/configure
index f9ef9803e2..3d457881ad 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1191,22 +1191,6 @@ fi
1191 toolsdir=$firmdir; 1191 toolsdir=$firmdir;
1192 toolset=''; 1192 toolset='';
1193 apps="manual" 1193 apps="manual"
1194 case $archos in
1195 fmrecorder)
1196 archos="recorderv2fm"
1197 ;;
1198 recorderv2)
1199 archos="recorderv2fm"
1200 ;;
1201 h1??)
1202 archos="h1xx"
1203 ;;
1204 ipodmini2g)
1205 archos="ipodmini"
1206 ;;
1207 *)
1208 ;;
1209 esac
1210 echo "Manual build selected" 1194 echo "Manual build selected"
1211 ;; 1195 ;;
1212 *) 1196 *)
@@ -1215,6 +1199,24 @@ fi
1215 ;; 1199 ;;
1216 1200
1217 esac 1201 esac
1202 # to be able running "make manual" from non-manual configuration
1203 case $archos in
1204 fmrecorder)
1205 manualdev="recorderv2fm"
1206 ;;
1207 recorderv2)
1208 manualdev="recorderv2fm"
1209 ;;
1210 h1??)
1211 manualdev="h1xx"
1212 ;;
1213 ipodmini2g)
1214 manualdev="ipodmini"
1215 ;;
1216 *)
1217 manualdev=$archos
1218 ;;
1219 esac
1218 1220
1219if [ -z "$debug" ]; then 1221if [ -z "$debug" ]; then
1220 GCCOPTS="$GCCOPTS $GCCOPTIMIZE" 1222 GCCOPTS="$GCCOPTS $GCCOPTIMIZE"
@@ -1409,6 +1411,7 @@ sed > Makefile \
1409 -e "s,@TOOLSET@,${toolset},g" \ 1411 -e "s,@TOOLSET@,${toolset},g" \
1410 -e "${simmagic1}" \ 1412 -e "${simmagic1}" \
1411 -e "${simmagic2}" \ 1413 -e "${simmagic2}" \
1414 -e "s,@MANUALDEV@,${manualdev},g" \
1412<<EOF 1415<<EOF
1413## Automaticly generated. http://www.rockbox.org/ 1416## Automaticly generated. http://www.rockbox.org/
1414 1417
@@ -1467,6 +1470,7 @@ export LDOPTS=@LDOPTS@
1467export GCCVER=@GCCVER@ 1470export GCCVER=@GCCVER@
1468export GCCNUM=@GCCNUM@ 1471export GCCNUM=@GCCNUM@
1469export UNAME=@UNAME@ 1472export UNAME=@UNAME@
1473export MANUALDEV=@MANUALDEV@
1470 1474
1471# Do not print "Entering directory ..." 1475# Do not print "Entering directory ..."
1472MAKEFLAGS += --no-print-directory 1476MAKEFLAGS += --no-print-directory
@@ -1494,7 +1498,8 @@ clean:
1494 \$(SILENT)echo Cleaning build directory 1498 \$(SILENT)echo Cleaning build directory
1495 \$(SILENT)rm -rf rockbox.zip TAGS @APPS@ firmware comsim sim lang.[ch]\ 1499 \$(SILENT)rm -rf rockbox.zip TAGS @APPS@ firmware comsim sim lang.[ch]\
1496 manual *.pdf *.a credits.raw @OUTPUT@ bitmaps pluginbitmaps \ 1500 manual *.pdf *.a credits.raw @OUTPUT@ bitmaps pluginbitmaps \
1497 @ARCHOSROM@ @FLASHFILE@ UI256.bmp rockbox-full.zip 1501 @ARCHOSROM@ @FLASHFILE@ UI256.bmp rockbox-full.zip \
1502 html txt rockbox-manual*.zip
1498 1503
1499tools: 1504tools:
1500 \$(SILENT)\$(MAKE) -C \$(TOOLSDIR) CC=\$(HOSTCC) @TOOLSET@ 1505 \$(SILENT)\$(MAKE) -C \$(TOOLSDIR) CC=\$(HOSTCC) @TOOLSET@
@@ -1534,10 +1539,13 @@ gzip: tar
1534manual: manual-pdf 1539manual: manual-pdf
1535manual-pdf: 1540manual-pdf:
1536 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-pdf 1541 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-pdf
1537
1538manual-html: 1542manual-html:
1539 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-html 1543 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-html
1540 1544manual-zhtml: manual-zip
1545manual-txt:
1546 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-txt
1547manual-ztxt:
1548 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-txt-zip
1541manual-zip: 1549manual-zip:
1542 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-zip 1550 \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual manual-zip
1543 1551
@@ -1551,6 +1559,7 @@ help:
1551 @echo "manual - builds a manual" 1559 @echo "manual - builds a manual"
1552 @echo "manual-html - HTML manual" 1560 @echo "manual-html - HTML manual"
1553 @echo "manual-zip - HTML manual (zipped)" 1561 @echo "manual-zip - HTML manual (zipped)"
1562 @echo "manual-txt - txt manual"
1554 @echo "fullzip - creates a rockbox.zip of your build with fonts" 1563 @echo "fullzip - creates a rockbox.zip of your build with fonts"
1555 @echo "zip - creates a rockbox.zip of your build (no fonts)" 1564 @echo "zip - creates a rockbox.zip of your build (no fonts)"
1556 @echo "gzip - creates a rockbox.tar.gz of your build (no fonts)" 1565 @echo "gzip - creates a rockbox.tar.gz of your build (no fonts)"