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 /tools | |
parent | b156352756d22b33b5c20403010e3a7cdaf9de4d (diff) | |
download | rockbox-f69c703c53c94aefdb7750331f66b5c94e43f8c5.tar.gz rockbox-f69c703c53c94aefdb7750331f66b5c94e43f8c5.zip |
'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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index a6e92bea20..04212da2a1 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -52,6 +52,7 @@ sed > Makefile \ | |||
52 | -e "s,@KEYPAD@,${keypad},g" \ | 52 | -e "s,@KEYPAD@,${keypad},g" \ |
53 | -e "s,@PWD@,${pwd},g" \ | 53 | -e "s,@PWD@,${pwd},g" \ |
54 | -e "s,@LANGUAGE@,${language},g" \ | 54 | -e "s,@LANGUAGE@,${language},g" \ |
55 | -e "s,@TARGET@,${target},g" \ | ||
55 | -e "s,@SIMVER@,${simver},g" \ | 56 | -e "s,@SIMVER@,${simver},g" \ |
56 | <<EOF | 57 | <<EOF |
57 | ## Automaticly generated. http://rockbox.haxx.se | 58 | ## Automaticly generated. http://rockbox.haxx.se |
@@ -59,11 +60,13 @@ sed > Makefile \ | |||
59 | ARCHOS=@ARCHOS@ | 60 | ARCHOS=@ARCHOS@ |
60 | ROOTDIR=@ROOTDIR@ | 61 | ROOTDIR=@ROOTDIR@ |
61 | SIMDIR=\$(ROOTDIR)/uisimulator/@SIMVER@ | 62 | SIMDIR=\$(ROOTDIR)/uisimulator/@SIMVER@ |
63 | TOOLSDIR=\$(ROOTDIR)/tools | ||
62 | DEBUG=@DEBUG@ | 64 | DEBUG=@DEBUG@ |
63 | DISPLAY=@DISPLAY@ | 65 | DISPLAY=@DISPLAY@ |
64 | KEYPAD=@KEYPAD@ | 66 | KEYPAD=@KEYPAD@ |
65 | THISDIR="@PWD@" | 67 | THISDIR="@PWD@" |
66 | SIMVER=@SIMVER@ | 68 | SIMVER=@SIMVER@ |
69 | TARGET=@TARGET@ | ||
67 | LANGUAGE=@LANGUAGE@ | 70 | LANGUAGE=@LANGUAGE@ |
68 | VERSION=\$(shell date +%y%m%d-%H%M) | 71 | VERSION=\$(shell date +%y%m%d-%H%M) |
69 | 72 | ||
@@ -81,6 +84,12 @@ tags: | |||
81 | @rm -f TAGS | 84 | @rm -f TAGS |
82 | make -C \$(SIMDIR) DISPLAY=\$(DISPLAY) KEYPAD=\$(KEYPAD) OBJDIR=\$(THISDIR) tags | 85 | make -C \$(SIMDIR) DISPLAY=\$(DISPLAY) KEYPAD=\$(KEYPAD) OBJDIR=\$(THISDIR) tags |
83 | 86 | ||
87 | zip: | ||
88 | \$(TOOLSDIR)/buildzip.pl sim\$(TARGET) | ||
89 | |||
90 | install: | ||
91 | @echo "installing a full setup in your archos dir" | ||
92 | @(make zip && cd archos && unzip -oq ../rockbox.zip) | ||
84 | EOF | 93 | EOF |
85 | 94 | ||
86 | echo "Created Makefile" | 95 | echo "Created Makefile" |
@@ -171,14 +180,13 @@ if [ "$target" = "update" ]; then | |||
171 | language=`grep "^LANGUAGE=" Makefile | cut -d= -f2-` | 180 | language=`grep "^LANGUAGE=" Makefile | cut -d= -f2-` |
172 | memory=`grep "^MEMORYSIZE=" Makefile | cut -d= -f2-` | 181 | memory=`grep "^MEMORYSIZE=" Makefile | cut -d= -f2-` |
173 | rootdir=`grep "^ROOTDIR=" Makefile | cut -d= -f2-` | 182 | rootdir=`grep "^ROOTDIR=" Makefile | cut -d= -f2-` |
183 | target=`grep "^TARGET=" Makefile | cut -d= -f2-` | ||
174 | 184 | ||
175 | if [ "$debug" = "SIMULATOR=1" ]; then | 185 | if [ "$debug" = "SIMULATOR=1" ]; then |
176 | simulator="yes" | 186 | simulator="yes" |
177 | display=`grep "^DISPLAY=" Makefile | cut -d= -f2-` | 187 | display=`grep "^DISPLAY=" Makefile | cut -d= -f2-` |
178 | keypad=`grep "^KEYPAD=" Makefile | cut -d= -f2-` | 188 | keypad=`grep "^KEYPAD=" Makefile | cut -d= -f2-` |
179 | simver=`grep "^SIMVER=" Makefile | cut -d= -f2-` | 189 | simver=`grep "^SIMVER=" Makefile | cut -d= -f2-` |
180 | else | ||
181 | target=`grep "^TARGET=" Makefile | cut -d= -f2-` | ||
182 | fi | 190 | fi |
183 | fi | 191 | fi |
184 | fi | 192 | fi |