introducing make gzip, make bzip2 and make help

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9111 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2006-03-19 06:57:59 +00:00
parent dd5a85839e
commit 341407ace1

25
tools/configure vendored
View file

@ -714,7 +714,6 @@ toolsdir='\$(ROOTDIR)/tools'
# toolset is the tools within the tools directory that we build for # toolset is the tools within the tools directory that we build for
# this particular target. # this particular target.
toolset="$iaudiobitmaptools" toolset="$iaudiobitmaptools"
# architecture, manufacturer and model for the target-tree build # architecture, manufacturer and model for the target-tree build
t_cpu="coldfire" t_cpu="coldfire"
t_manufactorer="iaudio" t_manufactorer="iaudio"
@ -1238,9 +1237,33 @@ zip:
7zip: 7zip:
\$(SILENT)\$(TOOLSDIR)/buildzip.pl -o "rockbox.7z" -z "7za a" -r "\$(ROOTDIR)" \$(TARGET) \$(BINARY) \$(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: manual:
\$(SILENT)\$(MAKE) -C \$(MANUALDIR) OBJDIR=\$(BUILDDIR)/manual buildmanual \$(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 EOF
if [ "yes" = "$simulator" ]; then if [ "yes" = "$simulator" ]; then