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:
parent
b69d152a7e
commit
9990dec651
1 changed files with 3 additions and 1 deletions
|
@ -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|");
|
||||
|
||||
|
|
Loading…
Reference in a new issue