summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-14 15:05:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-14 15:05:58 +0000
commitf69c703c53c94aefdb7750331f66b5c94e43f8c5 (patch)
treef26e8b6a60657ee6aea00ec40f89480171ea9a5b
parentb156352756d22b33b5c20403010e3a7cdaf9de4d (diff)
downloadrockbox-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
-rwxr-xr-xtools/configure12
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 \
59ARCHOS=@ARCHOS@ 60ARCHOS=@ARCHOS@
60ROOTDIR=@ROOTDIR@ 61ROOTDIR=@ROOTDIR@
61SIMDIR=\$(ROOTDIR)/uisimulator/@SIMVER@ 62SIMDIR=\$(ROOTDIR)/uisimulator/@SIMVER@
63TOOLSDIR=\$(ROOTDIR)/tools
62DEBUG=@DEBUG@ 64DEBUG=@DEBUG@
63DISPLAY=@DISPLAY@ 65DISPLAY=@DISPLAY@
64KEYPAD=@KEYPAD@ 66KEYPAD=@KEYPAD@
65THISDIR="@PWD@" 67THISDIR="@PWD@"
66SIMVER=@SIMVER@ 68SIMVER=@SIMVER@
69TARGET=@TARGET@
67LANGUAGE=@LANGUAGE@ 70LANGUAGE=@LANGUAGE@
68VERSION=\$(shell date +%y%m%d-%H%M) 71VERSION=\$(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
87zip:
88 \$(TOOLSDIR)/buildzip.pl sim\$(TARGET)
89
90install:
91 @echo "installing a full setup in your archos dir"
92 @(make zip && cd archos && unzip -oq ../rockbox.zip)
84EOF 93EOF
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