diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2004-06-14 15:05:58 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-14 15:05:58 +0000 |
| commit | f69c703c53c94aefdb7750331f66b5c94e43f8c5 (patch) | |
| tree | f26e8b6a60657ee6aea00ec40f89480171ea9a5b | |
| parent | b156352756d22b33b5c20403010e3a7cdaf9de4d (diff) | |
| download | rockbox-f69c703c53c94aefdb7750331f66b5c94e43f8c5.zip rockbox-f69c703c53c94aefdb7750331f66b5c94e43f8c5.tar.gz rockbox-f69c703c53c94aefdb7750331f66b5c94e43f8c5.tar.bz2 rockbox-f69c703c53c94aefdb7750331f66b5c94e43f8c5.tar.xz | |
'make install' for a simulator now installs a full rockbox setup in the
local 'archos' directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4744 a1c6a512-1295-4272-9138-f99709370657
| -rwxr-xr-x | tools/configure | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index a6e92be..04212da 100755 --- a/tools/configure +++ b/tools/configure @@ -52,6 +52,7 @@ sed > Makefile \ -e "s,@KEYPAD@,${keypad},g" \ -e "s,@PWD@,${pwd},g" \ -e "s,@LANGUAGE@,${language},g" \ + -e "s,@TARGET@,${target},g" \ -e "s,@SIMVER@,${simver},g" \ <<EOF ## Automaticly generated. http://rockbox.haxx.se @@ -59,11 +60,13 @@ sed > Makefile \ ARCHOS=@ARCHOS@ ROOTDIR=@ROOTDIR@ SIMDIR=\$(ROOTDIR)/uisimulator/@SIMVER@ +TOOLSDIR=\$(ROOTDIR)/tools DEBUG=@DEBUG@ DISPLAY=@DISPLAY@ KEYPAD=@KEYPAD@ THISDIR="@PWD@" SIMVER=@SIMVER@ +TARGET=@TARGET@ LANGUAGE=@LANGUAGE@ VERSION=\$(shell date +%y%m%d-%H%M) @@ -81,6 +84,12 @@ tags: @rm -f TAGS make -C \$(SIMDIR) DISPLAY=\$(DISPLAY) KEYPAD=\$(KEYPAD) OBJDIR=\$(THISDIR) tags +zip: + \$(TOOLSDIR)/buildzip.pl sim\$(TARGET) + +install: + @echo "installing a full setup in your archos dir" + @(make zip && cd archos && unzip -oq ../rockbox.zip) EOF echo "Created Makefile" @@ -171,14 +180,13 @@ if [ "$target" = "update" ]; then language=`grep "^LANGUAGE=" Makefile | cut -d= -f2-` memory=`grep "^MEMORYSIZE=" Makefile | cut -d= -f2-` rootdir=`grep "^ROOTDIR=" Makefile | cut -d= -f2-` + target=`grep "^TARGET=" Makefile | cut -d= -f2-` if [ "$debug" = "SIMULATOR=1" ]; then simulator="yes" display=`grep "^DISPLAY=" Makefile | cut -d= -f2-` keypad=`grep "^KEYPAD=" Makefile | cut -d= -f2-` simver=`grep "^SIMVER=" Makefile | cut -d= -f2-` - else - target=`grep "^TARGET=" Makefile | cut -d= -f2-` fi fi fi |