summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-03-26 20:19:39 +0000
committerDave Chapman <dave@dchapman.com>2008-03-26 20:19:39 +0000
commit3d88eddb833d75b8d7a2c57fcc407530a5f8a57e (patch)
tree6969c420408dd8f329354e89b214ab375cd7d832
parent2ce440d740a2f9a1f496729c7d67bcaff281a5ea (diff)
Move checkwps to its own subdir in preparation for compiling target-specific versions. Also remove a DEBUGF that should not have been left in.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16827 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/wps_parser.c2
-rw-r--r--tools/checkwps/Makefile18
-rw-r--r--tools/checkwps/checkwps.c (renamed from tools/checkwps.c)0
3 files changed, 19 insertions, 1 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c
index c645728516..e8c3c9f629 100644
--- a/apps/gui/wps_parser.c
+++ b/apps/gui/wps_parser.c
@@ -393,7 +393,7 @@ static bool load_bitmap(struct wps_data *wps_data,
int ret = read_bmp_file(filename, bm,
wps_data->img_buf_free,
format);
- DEBUGF("Read %s, ret=%d\n",filename,ret);
+
if (ret > 0)
{
#if LCD_DEPTH == 16
diff --git a/tools/checkwps/Makefile b/tools/checkwps/Makefile
new file mode 100644
index 0000000000..a64196d456
--- /dev/null
+++ b/tools/checkwps/Makefile
@@ -0,0 +1,18 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id: Makefile 16822 2008-03-26 18:18:22Z dave $
+#
+
+all: checkwps
+
+checkwps: checkwps.c ../../apps/gui/wps_parser.c ../../apps/gui/wps_debug.c ../../firmware/common/ctype.c ../../apps/misc.c ../../apps/recorder/bmp.c
+ $(SILENT)$(CC) -g -I ../../apps/gui -I../../firmware/export \
+-D__PCTOOL__ -DDEBUG -DROCKBOX_HAS_LOGF -DIPOD_COLOR -D ROCKBOX_DIR_LEN -D WPS_DIR=\".\" \
+-I../../apps -I../../firmware/target/arm/ipod -I../../firmware/include $+ -o $@
+
+clean:
+ rm -f cleanwps
diff --git a/tools/checkwps.c b/tools/checkwps/checkwps.c
index ddaaf49b73..ddaaf49b73 100644
--- a/tools/checkwps.c
+++ b/tools/checkwps/checkwps.c