summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-08-04 18:11:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-08-04 18:11:46 +0000
commit9990dec6515464b272f8f62f4666c74fe1d1d77b (patch)
treea643d4c7c1f750a0d5aa0be4d99c93be03d0be29 /tools
parentb69d152a7eb8e7ba11f03ba32d7b0f8923047242 (diff)
downloadrockbox-9990dec6515464b272f8f62f4666c74fe1d1d77b.tar.gz
rockbox-9990dec6515464b272f8f62f4666c74fe1d1d77b.tar.bz2
rockbox-9990dec6515464b272f8f62f4666c74fe1d1d77b.zip
don't assume ../firmware, use the passed in dir path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7282 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildzip.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index bdad0fc7e2..392a0d0211 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -14,6 +14,8 @@ if($ARGV[0] eq "-v") {
shift @ARGV;
}
+my $firmdir="$ROOT/firmware";
+
my $target = $ARGV[0];
my $cppdef = $target;
@@ -107,7 +109,7 @@ Font Size We Want: MAX_FONT_SIZE
STOP
;
close(SIZE);
- my $c="cat ziptemp | gcc $cppdef -I. -I../firmware/export -E -P -";
+ my $c="cat ziptemp | gcc $cppdef -I. -I$firmdir/export -E -P -";
# print STDERR "C: $c\n";
open(GETSIZE, "$c|");