diff options
author | Dave Chapman <dave@dchapman.com> | 2011-02-27 11:37:39 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2011-02-27 11:37:39 +0000 |
commit | 376c9f3ad0c257ee97d7eba03962f232e85b36a7 (patch) | |
tree | 3323dfd60b82814af115b4c436ea8680ca9da978 /tools/buildzip.pl | |
parent | 9501986047056c9f6ca954817ae597e302028f2e (diff) | |
download | rockbox-376c9f3ad0c257ee97d7eba03962f232e85b36a7.tar.gz rockbox-376c9f3ad0c257ee97d7eba03962f232e85b36a7.zip |
FS#11966 - use separate modelnames and config files for RaaA. This adds an APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-x | tools/buildzip.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl index 0d8f7117a5..2337dbe729 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl | |||
@@ -214,6 +214,7 @@ GetOptions ( 'r|root=s' => \$ROOT, | |||
214 | 'install=s' => \$install, # install destination | 214 | 'install=s' => \$install, # install destination |
215 | 'rbdir:s' => \$rbdir, # If we want to put in a different directory | 215 | 'rbdir:s' => \$rbdir, # If we want to put in a different directory |
216 | 'l|link' => \$mklinks, # If we want to create links instead of copying files | 216 | 'l|link' => \$mklinks, # If we want to create links instead of copying files |
217 | 'a|app:s' => \$app, # Is this an Application build? | ||
217 | ); | 218 | ); |
218 | 219 | ||
219 | # GetOptions() doesn't remove the params from @ARGV if their value was "" | 220 | # GetOptions() doesn't remove the params from @ARGV if their value was "" |
@@ -681,8 +682,6 @@ $year+=1900; | |||
681 | sub runone { | 682 | sub runone { |
682 | my ($target, $fonts)=@_; | 683 | my ($target, $fonts)=@_; |
683 | 684 | ||
684 | $app = ($modelname eq "application"); | ||
685 | |||
686 | # Strip the leading / from $rbdir unless we are installing an application | 685 | # Strip the leading / from $rbdir unless we are installing an application |
687 | # build - the layout is different (no .rockbox, but bin/lib/share) | 686 | # build - the layout is different (no .rockbox, but bin/lib/share) |
688 | unless ($app && $install) { | 687 | unless ($app && $install) { |