diff options
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-x | tools/buildzip.pl | 6 |
1 files changed, 3 insertions, 3 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; | |||
24 | my $sim; | 24 | my $sim; |
25 | my $exe; | 25 | my $exe; |
26 | my $target; | 26 | my $target; |
27 | my $archos; | 27 | my $modelname; |
28 | my $incfonts; | 28 | my $incfonts; |
29 | my $target_id; # passed in, not currently used | 29 | my $target_id; # passed in, not currently used |
30 | my $rbdir=".rockbox"; # can be changed for special builds | 30 | my $rbdir=".rockbox"; # can be changed for special builds |
@@ -70,7 +70,7 @@ sub find_copyfile { | |||
70 | # Get options | 70 | # Get options |
71 | GetOptions ( 'r|root=s' => \$ROOT, | 71 | GetOptions ( '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; |