diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-14 15:06:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-14 15:06:51 +0000 |
commit | 51413e444296f4444a7ff6e1a005e18b30e0f77e (patch) | |
tree | f47118f077a9e1aef14d5104d50ffc5308be9776 /tools | |
parent | 8a91802d806376efce1b5605643977c6e7f1bcc4 (diff) | |
download | rockbox-51413e444296f4444a7ff6e1a005e18b30e0f77e.tar.gz rockbox-51413e444296f4444a7ff6e1a005e18b30e0f77e.zip |
Added first take at WPS bundling magic. There's only one single WPS in there
yet, but it should work to start with...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7864 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/buildzip.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl index 690fc69b0f..4d8b58d72d 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl | |||
@@ -1,4 +1,12 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | # __________ __ ___. | ||
3 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | # \/ \/ \/ \/ \/ | ||
8 | # $Id$ | ||
9 | # | ||
2 | 10 | ||
3 | $ROOT=".."; | 11 | $ROOT=".."; |
4 | 12 | ||
@@ -192,6 +200,14 @@ STOP | |||
192 | `cp $ROOT/docs/$_ .rockbox/docs/$_.txt`; | 200 | `cp $ROOT/docs/$_ .rockbox/docs/$_.txt`; |
193 | } | 201 | } |
194 | 202 | ||
203 | # Now do the WPS dance | ||
204 | if(-d "$ROOT/wps") { | ||
205 | system("perl $ROOT/wps/wpsbuild.pl $ROOT/wps/WPSLIST $target"); | ||
206 | } | ||
207 | else { | ||
208 | print STDERR "No wps module present, can't do the WPS magic!\n"; | ||
209 | } | ||
210 | |||
195 | # now copy the file made for reading on the unit: | 211 | # now copy the file made for reading on the unit: |
196 | #if($notplayer) { | 212 | #if($notplayer) { |
197 | # `cp $webroot/docs/Help-JBR.txt .rockbox/docs/`; | 213 | # `cp $webroot/docs/Help-JBR.txt .rockbox/docs/`; |