diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-07-13 00:40:35 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-07-13 00:40:35 +0000 |
commit | 668a769ca4cabdfee54dc53e92a964c32c9738d7 (patch) | |
tree | a4c42168e4b86d4b7e09533307ae070fd3c7bcc0 /tools/addtargetdir.pl | |
parent | 36eeecbe9a91a5da8bd82ee3974c359f4534dd14 (diff) | |
download | rockbox-668a769ca4cabdfee54dc53e92a964c32c9738d7.tar.gz rockbox-668a769ca4cabdfee54dc53e92a964c32c9738d7.zip |
Add new asmdefs mechanism for exporting information only available to the C compiler for use in asm files, and use it in arm jpeg idct. See apps/apps.make, apps/core_asmdefs.c, and apps/recorder/jpeg_idct_arm.S for details.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/addtargetdir.pl')
-rwxr-xr-x | tools/addtargetdir.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/addtargetdir.pl b/tools/addtargetdir.pl index 6a9a72a878..2868e9027b 100755 --- a/tools/addtargetdir.pl +++ b/tools/addtargetdir.pl | |||
@@ -23,6 +23,7 @@ my $src; | |||
23 | # Split the input file on any runs of '\' and whitespace. | 23 | # Split the input file on any runs of '\' and whitespace. |
24 | for (split(/[\s\\]+/m, <STDIN>)) { | 24 | for (split(/[\s\\]+/m, <STDIN>)) { |
25 | /^(\/)?[^:]+(\:)?$/; | 25 | /^(\/)?[^:]+(\:)?$/; |
26 | print ">>$& $src" | ||
26 | # Save target and continue if this item ends in ':' | 27 | # Save target and continue if this item ends in ':' |
27 | if (!($2 && ($target=$&))) { | 28 | if (!($2 && ($target=$&))) { |
28 | $src = $&; | 29 | $src = $&; |