summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2007-01-08 18:21:12 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2007-01-08 18:21:12 +0000
commitb1af4e6cc8f5b0657348d206224f03ab5e44f1e9 (patch)
treeb2d6fafceb4f2e2758c351aef8aecf07536c3d16 /tools
parentdc040f0c8a1a11c72cb74d80d8cb7477b5b31374 (diff)
downloadrockbox-b1af4e6cc8f5b0657348d206224f03ab5e44f1e9.tar.gz
rockbox-b1af4e6cc8f5b0657348d206224f03ab5e44f1e9.tar.bz2
rockbox-b1af4e6cc8f5b0657348d206224f03ab5e44f1e9.zip
Enable ROM file generation for H120/H140.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11947 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildzip.pl10
-rwxr-xr-xtools/configure3
2 files changed, 12 insertions, 1 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index a30eb28e67..3eb974c10d 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -216,6 +216,16 @@ sub buildzip {
if( filesize("rombox.ucl") > 1000) {
`cp rombox.ucl .rockbox/`; # UCL for flashing
}
+
+ # Check for rombox.target
+ if ($image=~/(.*)\.(\w+)$/)
+ {
+ my $romfile = "rombox.$2";
+ if (filesize($romfile) > 1000)
+ {
+ `cp $romfile .rockbox/`;
+ }
+ }
}
mkdir ".rockbox/docs", 0777;
diff --git a/tools/configure b/tools/configure
index 53be8eee91..1cfc4cc104 100755
--- a/tools/configure
+++ b/tools/configure
@@ -767,7 +767,7 @@ EOF
output="rockbox.iriver"
appextra="recorder:gui"
archosrom=""
- flash=""
+ flash="$pwd/rombox.iriver"
plugins="yes"
codecs="libmad liba52 libffmpegFLAC libTremor libwavpack libmusepack libalac libfaad libm4a"
# toolset is the tools within the tools directory that we build for
@@ -1244,6 +1244,7 @@ fi
extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES
appsdir='\$(ROOTDIR)/bootloader'
apps="bootloader"
+ flash=""
if test -n "$boottool"; then
tool="$boottool"
fi