diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-07-31 10:33:27 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-07-31 10:33:27 +0200 |
commit | efe73e143ad8997a791b895c9ee21a68b6570429 (patch) | |
tree | d206dd97632286975a271ea1502f35b56165767f /firmware/export | |
parent | b358bcfc25272cb03dc95809c0c82688943f0f84 (diff) | |
download | rockbox-efe73e143ad8997a791b895c9ee21a68b6570429.tar.gz rockbox-efe73e143ad8997a791b895c9ee21a68b6570429.zip |
Fix database tool.
It was also broken functionally, probably since a while.So restore the
functionality. Run it on the dap, the tcd files will be placed into .rockbox folder.
Change-Id: Id7a6ce4389dfaf99799258902be80d630af0601c
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/filefuncs.h | 3 | ||||
-rw-r--r-- | firmware/export/rbpaths.h | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/firmware/export/filefuncs.h b/firmware/export/filefuncs.h index 3d4e73ad9f..92e97f65b0 100644 --- a/firmware/export/filefuncs.h +++ b/firmware/export/filefuncs.h | |||
@@ -31,10 +31,9 @@ | |||
31 | int strip_volume(const char* name, char* namecopy); | 31 | int strip_volume(const char* name, char* namecopy); |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #ifndef __PCTOOL__ | ||
35 | bool file_exists(const char *file); | 34 | bool file_exists(const char *file); |
36 | bool dir_exists(const char *path); | 35 | bool dir_exists(const char *path); |
37 | #endif | 36 | |
38 | extern struct dirinfo dir_get_info(DIR* parent, struct dirent *entry); | 37 | extern struct dirinfo dir_get_info(DIR* parent, struct dirent *entry); |
39 | 38 | ||
40 | #endif /* __INCLUDE_FILEFUNCS_H_ */ | 39 | #endif /* __INCLUDE_FILEFUNCS_H_ */ |
diff --git a/firmware/export/rbpaths.h b/firmware/export/rbpaths.h index c60ebdf2af..d50f66d72d 100644 --- a/firmware/export/rbpaths.h +++ b/firmware/export/rbpaths.h | |||
@@ -30,11 +30,7 @@ | |||
30 | /* name of directory where configuration, fonts and other data | 30 | /* name of directory where configuration, fonts and other data |
31 | * files are stored */ | 31 | * files are stored */ |
32 | #ifdef __PCTOOL__ | 32 | #ifdef __PCTOOL__ |
33 | #undef ROCKBOX_DIR | ||
34 | #undef ROCKBOX_DIR_LEN | ||
35 | #undef WPS_DIR | 33 | #undef WPS_DIR |
36 | #define ROCKBOX_DIR "." | ||
37 | #define ROCKBOX_DIR_LEN 1 | ||
38 | #else | 34 | #else |
39 | 35 | ||
40 | /* ROCKBOX_DIR is now defined in autoconf.h for flexible build types */ | 36 | /* ROCKBOX_DIR is now defined in autoconf.h for flexible build types */ |