summaryrefslogtreecommitdiff
path: root/firmware/SOURCES
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-06-22 18:34:03 +0000
committerThomas Martitz <kugel@rockbox.org>2010-06-22 18:34:03 +0000
commitf32bd593c426755a140556ed1b5230447e5da726 (patch)
tree281f06c98f1f5408d8bf239ab722ff32e51994f9 /firmware/SOURCES
parentbe66e4d64269176848d4f82d95596745dc17679c (diff)
downloadrockbox-f32bd593c426755a140556ed1b5230447e5da726.tar.gz
rockbox-f32bd593c426755a140556ed1b5230447e5da726.zip
Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27059 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r--firmware/SOURCES33
1 files changed, 22 insertions, 11 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index bef2b772ad..53c38e0ee9 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -46,22 +46,41 @@ libc/strtok.c
46/* alsa on linux requires a more advanced sprintf, i.e. not ours */ 46/* alsa on linux requires a more advanced sprintf, i.e. not ours */
47libc/sprintf.c 47libc/sprintf.c
48#endif /* PLATFORM_NATIVE || __MINGW32__ || __CYGWIN__ */ 48#endif /* PLATFORM_NATIVE || __MINGW32__ || __CYGWIN__ */
49#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 49#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY)
50libc/atoi.c 50libc/atoi.c
51
52#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
53/* our ctype.[ch] comes from newlib and is incompitble with most desktop's ctype */
51libc/ctype.c 54libc/ctype.c
52libc/memcmp.c 55#endif
56
53libc/memchr.c 57libc/memchr.c
58libc/memcmp.c
59
60#if !defined(CPU_SH) && !defined(CPU_COLDFIRE) && !defined(CPU_ARM)
61#if !defined(CPU_MIPS)
62libc/memcpy.c
63libc/memset.c
64#endif /* CPU_MIPS */
65libc/memmove.c
66#endif /* CPU_* */
67
54libc/qsort.c 68libc/qsort.c
55libc/random.c 69libc/random.c
56libc/strcat.c 70libc/strcat.c
57libc/strchr.c 71libc/strchr.c
58libc/strcmp.c 72libc/strcmp.c
59libc/strcpy.c 73libc/strcpy.c
74
75#if !defined(CPU_SH) && !defined(CPU_COLDFIRE)
76libc/strlen.c
77#endif
78
60libc/strncmp.c 79libc/strncmp.c
61libc/strrchr.c 80libc/strrchr.c
62libc/strstr.c 81libc/strstr.c
63libc/mktime.c 82libc/mktime.c
64#endif /* !defined(SIMULATOR)*/ 83#endif /* CONFIG_PLATFORM || HAVE_ROCKBOX_C_LIBRARY */
65 84
66/* Common */ 85/* Common */
67common/version.c 86common/version.c
@@ -414,7 +433,6 @@ target/coldfire/i2c-coldfire.c
414target/arm/support-arm.S 433target/arm/support-arm.S
415target/arm/memcpy-arm.S 434target/arm/memcpy-arm.S
416target/arm/memmove-arm.S 435target/arm/memmove-arm.S
417libc/strlen.c
418#ifndef SIMULATOR 436#ifndef SIMULATOR
419target/arm/memset-arm.S 437target/arm/memset-arm.S
420target/arm/memset16-arm.S 438target/arm/memset16-arm.S
@@ -509,10 +527,7 @@ target/arm/crt0.S
509 527
510#elif defined(CPU_MIPS) 528#elif defined(CPU_MIPS)
511#undef mips 529#undef mips
512/*target/mips/strlen.S*/
513libc/memmove.c
514common/memset16.c 530common/memset16.c
515libc/strlen.c
516target/mips/ffs-mips.S 531target/mips/ffs-mips.S
517target/mips/memcpy-mips.S 532target/mips/memcpy-mips.S
518target/mips/memset-mips.S 533target/mips/memset-mips.S
@@ -526,11 +541,7 @@ target/mips/ingenic_jz47xx/crt0.S
526#ifdef HAVE_PRIORITY_SCHEDULING 541#ifdef HAVE_PRIORITY_SCHEDULING
527common/ffs.c 542common/ffs.c
528#endif 543#endif
529libc/memcpy.c
530libc/memmove.c
531libc/memset.c
532common/memset16.c 544common/memset16.c
533libc/strlen.c
534#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 545#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
535crt0.S 546crt0.S
536drivers/i2c.c 547drivers/i2c.c