summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-14 15:06:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-14 15:06:51 +0000
commit51413e444296f4444a7ff6e1a005e18b30e0f77e (patch)
treef47118f077a9e1aef14d5104d50ffc5308be9776
parent8a91802d806376efce1b5605643977c6e7f1bcc4 (diff)
downloadrockbox-51413e444296f4444a7ff6e1a005e18b30e0f77e.zip
rockbox-51413e444296f4444a7ff6e1a005e18b30e0f77e.tar.gz
rockbox-51413e444296f4444a7ff6e1a005e18b30e0f77e.tar.bz2
rockbox-51413e444296f4444a7ff6e1a005e18b30e0f77e.tar.xz
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
-rwxr-xr-xtools/buildzip.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 690fc69..4d8b58d 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -1,4 +1,12 @@
#!/usr/bin/perl
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
$ROOT="..";
@@ -192,6 +200,14 @@ STOP
`cp $ROOT/docs/$_ .rockbox/docs/$_.txt`;
}
+ # Now do the WPS dance
+ if(-d "$ROOT/wps") {
+ system("perl $ROOT/wps/wpsbuild.pl $ROOT/wps/WPSLIST $target");
+ }
+ else {
+ print STDERR "No wps module present, can't do the WPS magic!\n";
+ }
+
# now copy the file made for reading on the unit:
#if($notplayer) {
# `cp $webroot/docs/Help-JBR.txt .rockbox/docs/`;