mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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
This commit is contained in:
parent
fa54e218ff
commit
57f76784c5
2 changed files with 3 additions and 1 deletions
|
@ -4991,7 +4991,7 @@ void do_tagcache_build(const char *path[])
|
||||||
roots_ll[0].path = path[0];
|
roots_ll[0].path = path[0];
|
||||||
roots_ll[0].next = NULL;
|
roots_ll[0].next = NULL;
|
||||||
|
|
||||||
#if defined HAVE_MULTIVOLUME && !defined(SIMULATOR) && !defined(__PCTOOL__)
|
#if defined(HAVE_MULTIVOLUME) && !defined(SIMULATOR) && !defined(__PCTOOL__) && !defined(PLATFORM_NATIVE)
|
||||||
extern bool ns_volume_is_visible(int volume); /*rb_namespace.c*/
|
extern bool ns_volume_is_visible(int volume); /*rb_namespace.c*/
|
||||||
/* i is for the path vector, j for the roots_ll array */
|
/* i is for the path vector, j for the roots_ll array */
|
||||||
int i = 1, j = 1;
|
int i = 1, j = 1;
|
||||||
|
|
|
@ -238,7 +238,9 @@ common/dircache.c
|
||||||
common/pathfuncs.c
|
common/pathfuncs.c
|
||||||
common/fdprintf.c
|
common/fdprintf.c
|
||||||
common/linked_list.c
|
common/linked_list.c
|
||||||
|
#ifndef PLATFORM_NATIVE
|
||||||
common/rb_namespace.c
|
common/rb_namespace.c
|
||||||
|
#endif
|
||||||
common/rectangle.c
|
common/rectangle.c
|
||||||
common/strcasecmp.c
|
common/strcasecmp.c
|
||||||
common/strcasestr.c
|
common/strcasestr.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue