diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-17 11:22:20 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-17 11:22:20 +0100 |
commit | d55e5698e587dda405ec53cceb6f3642768bd198 (patch) | |
tree | 5df915929c98e1bc7d30d43a817512e285803f5c | |
parent | 9d26619465d268dee1e16a8e5318ac19c5a573be (diff) | |
download | rockbox-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/SOURCES | 7 |
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__) |
111 | libc/errno.c | ||
112 | libc/strtok.c | 111 | libc/strtok.c |
113 | /* alsa on linux requires a more advanced sprintf, i.e. not ours */ | ||
114 | libc/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) |
117 | libc/atoi.c | 114 | libc/atoi.c |
118 | 115 | libc/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 */ |
121 | libc/ctype.c | 118 | libc/ctype.c |
119 | /* alsa on linux requires a more advanced sprintf, i.e. not ours */ | ||
120 | libc/sprintf.c | ||
122 | #endif | 121 | #endif |
123 | 122 | ||
124 | libc/memchr.c | 123 | libc/memchr.c |