forked from len0rd/rockbox
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;
|
shift @ARGV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $firmdir="$ROOT/firmware";
|
||||||
|
|
||||||
my $target = $ARGV[0];
|
my $target = $ARGV[0];
|
||||||
my $cppdef = $target;
|
my $cppdef = $target;
|
||||||
|
|
||||||
|
|
@ -107,7 +109,7 @@ Font Size We Want: MAX_FONT_SIZE
|
||||||
STOP
|
STOP
|
||||||
;
|
;
|
||||||
close(SIZE);
|
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";
|
# print STDERR "C: $c\n";
|
||||||
open(GETSIZE, "$c|");
|
open(GETSIZE, "$c|");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue