diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-02-04 20:59:27 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-02-04 20:59:27 +0000 |
commit | e8da4477297ffb12603680f09fa9b2cd30d0b7b5 (patch) | |
tree | bb26896c839fd6a901ae8b4cd6223d824d592c27 /tools/addtargetdir.pl | |
parent | b0a3a563a139507cc8c1b679df9b6dd37dee3ec1 (diff) | |
download | rockbox-e8da4477297ffb12603680f09fa9b2cd30d0b7b5.tar.gz rockbox-e8da4477297ffb12603680f09fa9b2cd30d0b7b5.zip |
Commit FS#9494 by Yoshihisa Uchida: add support for building the simulators under Windows using MingW
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19923 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/addtargetdir.pl')
-rwxr-xr-x | tools/addtargetdir.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/addtargetdir.pl b/tools/addtargetdir.pl index 2cddf8d3d4..2c08d328dc 100755 --- a/tools/addtargetdir.pl +++ b/tools/addtargetdir.pl | |||
@@ -21,7 +21,7 @@ for (<STDIN>) { | |||
21 | if (/^([^:]+): (\S+) (.*)/) { | 21 | if (/^([^:]+): (\S+) (.*)/) { |
22 | my ($target, $src, $rest) = ($1, $2, $3); | 22 | my ($target, $src, $rest) = ($1, $2, $3); |
23 | my $dir = dirname $src; | 23 | my $dir = dirname $src; |
24 | $dir =~ s/$rbroot//; | 24 | $dir =~ s/^.*$rbroot//; |
25 | print "$builddir$dir/$target: $src $rest\n"; | 25 | print "$builddir$dir/$target: $src $rest\n"; |
26 | } | 26 | } |
27 | elsif (/^([^:]+): \\/) { | 27 | elsif (/^([^:]+): \\/) { |
@@ -32,7 +32,7 @@ for (<STDIN>) { | |||
32 | if (/^\s+([^ ]+) (.*)/) { | 32 | if (/^\s+([^ ]+) (.*)/) { |
33 | my ($src, $rest) = ($1, $2); | 33 | my ($src, $rest) = ($1, $2); |
34 | my $dir = dirname $src; | 34 | my $dir = dirname $src; |
35 | $dir =~ s/$rbroot//; | 35 | $dir =~ s/^.*$rbroot//; |
36 | print "$builddir$dir/$target2: $src $rest\n"; | 36 | print "$builddir$dir/$target2: $src $rest\n"; |
37 | $target2 = ""; | 37 | $target2 = ""; |
38 | } | 38 | } |