summaryrefslogtreecommitdiff
path: root/tools/checkwps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-01-16 07:23:09 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-01-16 07:30:39 -0500
commit4f7fea2addf4a5bc7c301e78f53d9080eaf43fb6 (patch)
tree6b72c005607b8d4cda9b7c599716eec391fe43a9 /tools/checkwps
parent16d1788356e82c639302a884437341e039574822 (diff)
Fix path handling snafu for CheckWPS tool
Somehow it got hooked to simulator file functions when it should be (and was) using raw OS functions. Credit: Frank Gevaerts Change-Id: Iac02fed1067830a432183632a047e00dfd03d3c2
Diffstat (limited to 'tools/checkwps')
-rw-r--r--tools/checkwps/SOURCES8
-rw-r--r--tools/checkwps/checkwps.c1
2 files changed, 4 insertions, 5 deletions
diff --git a/tools/checkwps/SOURCES b/tools/checkwps/SOURCES
index 425e8de7b9..3a406d1b29 100644
--- a/tools/checkwps/SOURCES
+++ b/tools/checkwps/SOURCES
@@ -6,12 +6,12 @@
../../firmware/common/strlcpy.c
../../firmware/common/pathfuncs.c
../../firmware/asm/mempcpy.c
+#ifdef WIN32
+../../firmware/target/hosted/filesystem-win32.c
+#else /* !WIN32 */
../../firmware/target/hosted/filesystem-unix.c
-#ifdef APPLICATION
+#endif /* WIN32 */
../../firmware/target/hosted/filesystem-app.c
-#else
-../../uisimulator/common/filesystem-sim.c
-#endif
#ifdef DEBUG
../../firmware/debug.c
#endif
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index c2cadc7444..1948c208fd 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -39,7 +39,6 @@ bool debug_wps = true;
int wps_verbose_level = 0;
char *skin_buffer;
-const char *sim_root_dir = ".";
const struct settings_list *settings;
const int nb_settings = 0;