diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-03-19 06:57:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-03-19 06:57:59 +0000 |
commit | 341407ace1812564c608fe9d958d4dfd541b49fb (patch) | |
tree | 80298c8ac2bd0c3cef61f9d47602244503765e11 /tools | |
parent | dd5a85839e24e487ba70cc30aea79c3a29c5e447 (diff) | |
download | rockbox-341407ace1812564c608fe9d958d4dfd541b49fb.tar.gz rockbox-341407ace1812564c608fe9d958d4dfd541b49fb.zip |
introducing make gzip, make bzip2 and make help
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9111 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index aef943cfd3..c62b4b3651 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -714,7 +714,6 @@ toolsdir='\$(ROOTDIR)/tools' | |||
714 | # toolset is the tools within the tools directory that we build for | 714 | # toolset is the tools within the tools directory that we build for |
715 | # this particular target. | 715 | # this particular target. |
716 | toolset="$iaudiobitmaptools" | 716 | toolset="$iaudiobitmaptools" |
717 | |||
718 | # architecture, manufacturer and model for the target-tree build | 717 | # architecture, manufacturer and model for the target-tree build |
719 | t_cpu="coldfire" | 718 | t_cpu="coldfire" |
720 | t_manufactorer="iaudio" | 719 | t_manufactorer="iaudio" |
@@ -1238,9 +1237,33 @@ zip: | |||
1238 | 7zip: | 1237 | 7zip: |
1239 | \$(SILENT)\$(TOOLSDIR)/buildzip.pl -o "rockbox.7z" -z "7za a" -r "\$(ROOTDIR)" \$(TARGET) \$(BINARY) | 1238 | \$(SILENT)\$(TOOLSDIR)/buildzip.pl -o "rockbox.7z" -z "7za a" -r "\$(ROOTDIR)" \$(TARGET) \$(BINARY) |
1240 | 1239 | ||
1240 | tar: | ||
1241 | \$(SILENT)rm -f rockbox.tar | ||
1242 | \$(SILENT)\$(TOOLSDIR)/buildzip.pl -o "rockbox.tar" -z "tar --no-recursion -uf" -r "\$(ROOTDIR)" \$(TARGET) \$(BINARY) | ||
1243 | |||
1244 | bzip2: tar | ||
1245 | \$(SILENT)bzip2 -f9 rockbox.tar | ||
1246 | |||
1247 | gzip: tar | ||
1248 | \$(SILENT)gzip -f9 rockbox.tar | ||
1249 | |||
1241 | manual: | 1250 | manual: |
1242 | \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual buildmanual | 1251 | \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual buildmanual |
1243 | 1252 | ||
1253 | help: | ||
1254 | @echo "A few helpful make targets" | ||
1255 | @echo "" | ||
1256 | @echo "all - builds a full Rockbox (default), including tools" | ||
1257 | @echo "clean - cleans a build directory (not tools)" | ||
1258 | @echo "veryclean - cleans the build and tools directories" | ||
1259 | @echo "manual - builds a manual" | ||
1260 | @echo "zip - creates a rockbox.zip of your build" | ||
1261 | @echo "gzip - creates a rockbox.tar.gz of your build" | ||
1262 | @echo "bzip2 - creates a rockbox.tar.bz2 of your build" | ||
1263 | @echo "7zip - creates a rockbox.7z of your build" | ||
1264 | @echo "tools - builds the tools only" | ||
1265 | @echo "install - installs your build (for simulator builds only)" | ||
1266 | |||
1244 | EOF | 1267 | EOF |
1245 | 1268 | ||
1246 | if [ "yes" = "$simulator" ]; then | 1269 | if [ "yes" = "$simulator" ]; then |