diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-03-23 19:56:01 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-03-23 19:59:31 -0400 |
commit | 57f76784c5bd13933be89fecb513f7b4a8c8e4be (patch) | |
tree | 31f21ba7b47210df42a3a68e1853c9062e202d7d | |
parent | fa54e218ffb66514b7b3b1e296b804ba4fb14ac1 (diff) | |
download | rockbox-57f76784c5bd13933be89fecb513f7b4a8c8e4be.tar.gz rockbox-57f76784c5bd13933be89fecb513f7b4a8c8e4be.zip |
Fix build for hosted targets.
Basically the namespace code _never_ actually linked properly on hosted
targets, but nobody noticed as there were no users, causing the symbols
to be dropped with no fuss.
The tagcache namespace awareness stuff pulled in the namespace code,
which made things go kaboom due to it relying on native FAT parsing
code.
Change-Id: Idef5f44b026c875022436809ca1f5015eece714a
-rw-r--r-- | apps/tagcache.c | 2 | ||||
-rw-r--r-- | firmware/SOURCES | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index c8900f5c38..adfe148db4 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -4991,7 +4991,7 @@ void do_tagcache_build(const char *path[]) | |||
4991 | roots_ll[0].path = path[0]; | 4991 | roots_ll[0].path = path[0]; |
4992 | roots_ll[0].next = NULL; | 4992 | roots_ll[0].next = NULL; |
4993 | 4993 | ||
4994 | #if defined HAVE_MULTIVOLUME && !defined(SIMULATOR) && !defined(__PCTOOL__) | 4994 | #if defined(HAVE_MULTIVOLUME) && !defined(SIMULATOR) && !defined(__PCTOOL__) && !defined(PLATFORM_NATIVE) |
4995 | extern bool ns_volume_is_visible(int volume); /*rb_namespace.c*/ | 4995 | extern bool ns_volume_is_visible(int volume); /*rb_namespace.c*/ |
4996 | /* i is for the path vector, j for the roots_ll array */ | 4996 | /* i is for the path vector, j for the roots_ll array */ |
4997 | int i = 1, j = 1; | 4997 | int i = 1, j = 1; |
diff --git a/firmware/SOURCES b/firmware/SOURCES index 0cfea38272..83e1f048d7 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -238,7 +238,9 @@ common/dircache.c | |||
238 | common/pathfuncs.c | 238 | common/pathfuncs.c |
239 | common/fdprintf.c | 239 | common/fdprintf.c |
240 | common/linked_list.c | 240 | common/linked_list.c |
241 | #ifndef PLATFORM_NATIVE | ||
241 | common/rb_namespace.c | 242 | common/rb_namespace.c |
243 | #endif | ||
242 | common/rectangle.c | 244 | common/rectangle.c |
243 | common/strcasecmp.c | 245 | common/strcasecmp.c |
244 | common/strcasestr.c | 246 | common/strcasestr.c |