summaryrefslogtreecommitdiffstats
path: root/tools/checkwps
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
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')
-rw-r--r--tools/checkwps/SOURCES4
-rwxr-xr-xtools/checkwps/buildall.sh2
-rw-r--r--tools/checkwps/parse_configure.awk4
3 files changed, 7 insertions, 3 deletions
diff --git a/tools/checkwps/SOURCES b/tools/checkwps/SOURCES
index ab194ad68c..51b2c28ee8 100644
--- a/tools/checkwps/SOURCES
+++ b/tools/checkwps/SOURCES
@@ -6,6 +6,10 @@
../../firmware/common/strlcpy.c
checkwps.c
+#ifdef APPLICATION
+../../firmware/common/rbpaths.c
+#endif
+
#ifdef HAVE_LCD_BITMAP
../../apps/recorder/bmp.c
#endif
diff --git a/tools/checkwps/buildall.sh b/tools/checkwps/buildall.sh
index cb01ad9036..a7eb1b7244 100755
--- a/tools/checkwps/buildall.sh
+++ b/tools/checkwps/buildall.sh
@@ -44,7 +44,7 @@ awk -f $rootdir/parse_configure.awk $rootdir/../configure | (
while read target model
do
make -j $jobs clean
- $toolsdir/configure --target=$model --type=C --ram=32 # 32 should always give default RAM
+ $toolsdir/configure --target=$model --type=C --ram=32 --lcdwidth=100 --lcdheight=100 # 32 should always give default RAM, assume 100x100 for RaaA for now
make -j $jobs
mv checkwps.$model $outdir
done
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
}