From 341407ace1812564c608fe9d958d4dfd541b49fb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 19 Mar 2006 06:57:59 +0000 Subject: [PATCH] introducing make gzip, make bzip2 and make help git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9111 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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' # toolset is the tools within the tools directory that we build for # this particular target. toolset="$iaudiobitmaptools" - # architecture, manufacturer and model for the target-tree build t_cpu="coldfire" t_manufactorer="iaudio" @@ -1238,9 +1237,33 @@ zip: 7zip: \$(SILENT)\$(TOOLSDIR)/buildzip.pl -o "rockbox.7z" -z "7za a" -r "\$(ROOTDIR)" \$(TARGET) \$(BINARY) +tar: + \$(SILENT)rm -f rockbox.tar + \$(SILENT)\$(TOOLSDIR)/buildzip.pl -o "rockbox.tar" -z "tar --no-recursion -uf" -r "\$(ROOTDIR)" \$(TARGET) \$(BINARY) + +bzip2: tar + \$(SILENT)bzip2 -f9 rockbox.tar + +gzip: tar + \$(SILENT)gzip -f9 rockbox.tar + manual: \$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual buildmanual +help: + @echo "A few helpful make targets" + @echo "" + @echo "all - builds a full Rockbox (default), including tools" + @echo "clean - cleans a build directory (not tools)" + @echo "veryclean - cleans the build and tools directories" + @echo "manual - builds a manual" + @echo "zip - creates a rockbox.zip of your build" + @echo "gzip - creates a rockbox.tar.gz of your build" + @echo "bzip2 - creates a rockbox.tar.bz2 of your build" + @echo "7zip - creates a rockbox.7z of your build" + @echo "tools - builds the tools only" + @echo "install - installs your build (for simulator builds only)" + EOF if [ "yes" = "$simulator" ]; then