summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-17 11:22:20 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-17 11:22:20 +0100
commitd55e5698e587dda405ec53cceb6f3642768bd198 (patch)
tree5df915929c98e1bc7d30d43a817512e285803f5c
parent9d26619465d268dee1e16a8e5318ac19c5a573be (diff)
downloadrockbox-d55e5698e587dda405ec53cceb6f3642768bd198.tar.gz
rockbox-d55e5698e587dda405ec53cceb6f3642768bd198.zip
Some libc files are not needed on mingw anymore so don't compile them (unless HAVE_ROCKBOX_C_LIBRARY is set).
Change-Id: I0b9948d0dbc07aaa8a1e2da8b3857e96fc3f9b48
-rw-r--r--firmware/SOURCES7
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 5591f684af..4e8567cf7e 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -108,17 +108,16 @@ target/hosted/maemo/maemo-thread.c
108 108
109/* Standard library */ 109/* Standard library */
110#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(__MINGW32__) || defined(__CYGWIN__) 110#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(__MINGW32__) || defined(__CYGWIN__)
111libc/errno.c
112libc/strtok.c 111libc/strtok.c
113/* alsa on linux requires a more advanced sprintf, i.e. not ours */
114libc/sprintf.c
115#endif /* PLATFORM_NATIVE || __MINGW32__ || __CYGWIN__ */ 112#endif /* PLATFORM_NATIVE || __MINGW32__ || __CYGWIN__ */
116#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY) 113#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY)
117libc/atoi.c 114libc/atoi.c
118 115libc/errno.c
119#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 116#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
120/* our ctype.[ch] comes from newlib and is incompitble with most desktop's ctype */ 117/* our ctype.[ch] comes from newlib and is incompitble with most desktop's ctype */
121libc/ctype.c 118libc/ctype.c
119/* alsa on linux requires a more advanced sprintf, i.e. not ours */
120libc/sprintf.c
122#endif 121#endif
123 122
124libc/memchr.c 123libc/memchr.c