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
This commit is contained in:
Daniel Stenberg 2005-08-04 18:11:46 +00:00
parent b69d152a7e
commit 9990dec651

View file

@ -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|");