summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-01-31 12:23:35 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-01-31 12:23:35 +0000
commit31c8eee99d7917bf83bbc6cf4cb9579af10d4d42 (patch)
treeeb3720c5d04738af70ac29244c10deb677f4a217 /tools
parentba4be5157191af6fbb83756119ffd29147b7fb99 (diff)
downloadrockbox-31c8eee99d7917bf83bbc6cf4cb9579af10d4d42.tar.gz
rockbox-31c8eee99d7917bf83bbc6cf4cb9579af10d4d42.zip
FS#9763 - Sansa Clip modified WPS. This modified wps avoids wps elements getting split over the yellow/cyan
parts of the display. Also introduces a mechanism for selecting a target specific wps if there is already another wps with the same screen size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19889 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildzip.pl6
-rw-r--r--tools/root.make14
2 files changed, 10 insertions, 10 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 85ffea58dd..7df6af3a36 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -24,7 +24,7 @@ my $verbose;
24my $sim; 24my $sim;
25my $exe; 25my $exe;
26my $target; 26my $target;
27my $archos; 27my $modelname;
28my $incfonts; 28my $incfonts;
29my $target_id; # passed in, not currently used 29my $target_id; # passed in, not currently used
30my $rbdir=".rockbox"; # can be changed for special builds 30my $rbdir=".rockbox"; # can be changed for special builds
@@ -70,7 +70,7 @@ sub find_copyfile {
70# Get options 70# Get options
71GetOptions ( 'r|root=s' => \$ROOT, 71GetOptions ( 'r|root=s' => \$ROOT,
72 'z|ziptool=s' => \$ziptool, 72 'z|ziptool=s' => \$ziptool,
73 't|target=s' => \$archos, # The target name as used in ARCHOS in the root makefile 73 'm|modelname=s' => \$modelname, # The model name as used in ARCHOS in the root makefile
74 'i|id=s' => \$target_id, # The target id name as used in TARGET_ID in the root makefile 74 'i|id=s' => \$target_id, # The target id name as used in TARGET_ID in the root makefile
75 'o|output=s' => \$output, 75 'o|output=s' => \$output,
76 'f|fonts=s' => \$incfonts, # 0 - no fonts, 1 - fonts only 2 - fonts and package 76 'f|fonts=s' => \$incfonts, # 0 - no fonts, 1 - fonts only 2 - fonts and package
@@ -389,7 +389,7 @@ STOP
389 if(-d "$ROOT/wps") { 389 if(-d "$ROOT/wps") {
390 my $wps_build_cmd="perl $ROOT/wps/wpsbuild.pl "; 390 my $wps_build_cmd="perl $ROOT/wps/wpsbuild.pl ";
391 $wps_build_cmd=$wps_build_cmd."-v " if $verbose; 391 $wps_build_cmd=$wps_build_cmd."-v " if $verbose;
392 $wps_build_cmd=$wps_build_cmd." --rbdir=$rbdir -r $ROOT $ROOT/wps/WPSLIST $target"; 392 $wps_build_cmd=$wps_build_cmd." --rbdir=$rbdir -r $ROOT -m $modelname $ROOT/wps/WPSLIST $target";
393 print "wpsbuild: $wps_build_cmd\n" if $verbose; 393 print "wpsbuild: $wps_build_cmd\n" if $verbose;
394 system("$wps_build_cmd"); 394 system("$wps_build_cmd");
395 print "wps_build_cmd: done\n" if $verbose; 395 print "wps_build_cmd: done\n" if $verbose;
diff --git a/tools/root.make b/tools/root.make
index 7de1cafc31..bdc2745fec 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -203,27 +203,27 @@ tags:
203 $(SILENT)etags -o $(BUILDDIR)/TAGS $(filter-out %.o,$(SRC) $(OTHER_SRC)) 203 $(SILENT)etags -o $(BUILDDIR)/TAGS $(filter-out %.o,$(SRC) $(OTHER_SRC))
204 204
205fontzip: 205fontzip:
206 $(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)\" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 1 -o rockbox-fonts.zip $(TARGET) $(BINARY) 206 $(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -m \"$(MODELNAME)\" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 1 -o rockbox-fonts.zip $(TARGET) $(BINARY)
207 207
208zip: 208zip:
209 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \ 209 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \
210 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY) 210 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY)
211 211
212mapzip: 212mapzip:
213 $(SILENT)find . -name "*.map" | xargs zip rockbox-maps.zip 213 $(SILENT)find . -name "*.map" | xargs zip rockbox-maps.zip
214 214
215fullzip: 215fullzip:
216 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ 216 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
217 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 2 -o rockbox-full.zip $(TARGET) $(BINARY) 217 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 2 -o rockbox-full.zip $(TARGET) $(BINARY)
218 218
2197zip: 2197zip:
220 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ 220 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
221 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -o "rockbox.7z" -z "7za a -mx=9" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY) 221 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -o "rockbox.7z" -z "7za a -mx=9" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY)
222 222
223tar: 223tar:
224 $(SILENT)rm -f rockbox.tar 224 $(SILENT)rm -f rockbox.tar
225 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ 225 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
226 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -o "rockbox.tar" -z "tar -cf" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY) 226 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -o "rockbox.tar" -z "tar -cf" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY)
227 227
228bzip2: tar 228bzip2: tar
229 $(SILENT)bzip2 -f9 rockbox.tar 229 $(SILENT)bzip2 -f9 rockbox.tar
@@ -256,12 +256,12 @@ ifdef SIMVER
256install: 256install:
257 @echo "Installing your build in your 'simdisk' dir" 257 @echo "Installing your build in your 'simdisk' dir"
258 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ 258 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
259 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 0 $(TARGET) $(BINARY) 259 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 0 $(TARGET) $(BINARY)
260 260
261fullinstall: 261fullinstall:
262 @echo "Installing a full setup in your 'simdisk' dir" 262 @echo "Installing a full setup in your 'simdisk' dir"
263 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \ 263 $(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
264 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 2 $(TARGET) $(BINARY) 264 $(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 2 $(TARGET) $(BINARY)
265 265
266endif 266endif
267 267