summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/parse_configure.awk
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-02-10 20:27:14 +0100
committerThomas Martitz <kugel@rockbox.org>2012-02-10 20:27:59 +0100
commit295c1c1e8bfe495468a7d8e4996dc836e613df2e (patch)
treedd689c762ab832ab02096bbc68e169ec18ee1409 /tools/checkwps/parse_configure.awk
parentc9786650258e969deb695d26c4be601ac79eba64 (diff)
downloadrockbox-295c1c1e8bfe495468a7d8e4996dc836e613df2e.tar.gz
rockbox-295c1c1e8bfe495468a7d8e4996dc836e613df2e.tar.bz2
rockbox-295c1c1e8bfe495468a7d8e4996dc836e613df2e.zip
checkwps: Fix buildall.sh and some RaaA/ypr0 versions.
Change-Id: I5889743e94ed568c8f7dcc50de0b03b8421969f7
Diffstat (limited to 'tools/checkwps/parse_configure.awk')
-rw-r--r--tools/checkwps/parse_configure.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/checkwps/parse_configure.awk b/tools/checkwps/parse_configure.awk
index 0cb0c0b392..19dce810ab 100644
--- a/tools/checkwps/parse_configure.awk
+++ b/tools/checkwps/parse_configure.awk
@@ -5,7 +5,7 @@ BEGIN { FS="[|)]" }
}
/^[ \t]*target="[^"]+"$/ {
- match($0, "-D[^\"]+")
- target=substr($0, RSTART+2, RLENGTH-2)
+ match($0, "=\".+\"")
+ target=substr($0, RSTART+2, RLENGTH-3)
print target, model
}