From 51413e444296f4444a7ff6e1a005e18b30e0f77e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 14 Nov 2005 15:06:51 +0000 Subject: 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 --- tools/buildzip.pl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tools/buildzip.pl') 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 @@ #!/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/`; -- cgit v1.2.3