diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-08-04 18:11:46 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-08-04 18:11:46 +0000 |
| commit | 9990dec6515464b272f8f62f4666c74fe1d1d77b (patch) | |
| tree | a643d4c7c1f750a0d5aa0be4d99c93be03d0be29 | |
| parent | b69d152a7eb8e7ba11f03ba32d7b0f8923047242 (diff) | |
| download | rockbox-9990dec6515464b272f8f62f4666c74fe1d1d77b.zip rockbox-9990dec6515464b272f8f62f4666c74fe1d1d77b.tar.gz rockbox-9990dec6515464b272f8f62f4666c74fe1d1d77b.tar.bz2 rockbox-9990dec6515464b272f8f62f4666c74fe1d1d77b.tar.xz | |
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
| -rwxr-xr-x | tools/buildzip.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl index bdad0fc..392a0d0 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|"); |