diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
commit | 50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch) | |
tree | c7881b015b220558167310345b162324c96be15a /firmware/SOURCES | |
parent | adb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff) | |
download | rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.tar.gz rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.zip |
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r-- | firmware/SOURCES | 55 |
1 files changed, 29 insertions, 26 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index 4e35850aa8..5253e5fde4 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -22,12 +22,30 @@ panic.c | |||
22 | debug.c | 22 | debug.c |
23 | 23 | ||
24 | /* Common */ | 24 | /* Common */ |
25 | common/atoi.c | 25 | #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) |
26 | libc/errno.c | ||
27 | #endif /* !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) */ | ||
28 | libc/atoi.c | ||
29 | libc/ctype.c | ||
30 | libc/memcmp.c | ||
31 | libc/memchr.c | ||
32 | libc/qsort.c | ||
33 | libc/random.c | ||
34 | libc/sprintf.c | ||
35 | libc/strcat.c | ||
36 | libc/strchr.c | ||
37 | libc/strcmp.c | ||
38 | libc/strcpy.c | ||
39 | libc/strncmp.c | ||
40 | libc/strrchr.c | ||
41 | libc/strtok.c | ||
42 | libc/strstr.c | ||
43 | libc/mktime.c | ||
44 | common/config.c | ||
26 | common/crc32.c | 45 | common/crc32.c |
27 | #ifdef MI4_FORMAT | 46 | #ifdef MI4_FORMAT |
28 | common/crc32-mi4.c | 47 | common/crc32-mi4.c |
29 | #endif | 48 | #endif |
30 | common/ctype.c | ||
31 | #ifndef SIMULATOR | 49 | #ifndef SIMULATOR |
32 | common/dir_uncached.c | 50 | common/dir_uncached.c |
33 | common/file.c | 51 | common/file.c |
@@ -36,28 +54,13 @@ common/file.c | |||
36 | common/dircache.c | 54 | common/dircache.c |
37 | #endif /* HAVE_DIRCACHE */ | 55 | #endif /* HAVE_DIRCACHE */ |
38 | common/disk.c | 56 | common/disk.c |
39 | #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) | ||
40 | common/errno.c | ||
41 | #endif /* !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) */ | ||
42 | common/filefuncs.c | 57 | common/filefuncs.c |
43 | common/memcmp.c | 58 | common/format.c |
44 | common/memchr.c | ||
45 | common/qsort.c | ||
46 | common/random.c | ||
47 | common/sprintf.c | ||
48 | common/strcasecmp.c | 59 | common/strcasecmp.c |
49 | common/strcasestr.c | 60 | common/strcasestr.c |
50 | common/strcat.c | ||
51 | common/strchr.c | ||
52 | common/strcmp.c | ||
53 | common/strnatcmp.c | 61 | common/strnatcmp.c |
54 | common/strcpy.c | ||
55 | common/strncmp.c | ||
56 | common/strlcat.c | 62 | common/strlcat.c |
57 | common/strlcpy.c | 63 | common/strlcpy.c |
58 | common/strrchr.c | ||
59 | common/strtok.c | ||
60 | common/strstr.c | ||
61 | common/structec.c | 64 | common/structec.c |
62 | common/timefuncs.c | 65 | common/timefuncs.c |
63 | common/unicode.c | 66 | common/unicode.c |
@@ -377,7 +380,7 @@ target/coldfire/i2c-coldfire.c | |||
377 | target/arm/support-arm.S | 380 | target/arm/support-arm.S |
378 | target/arm/memcpy-arm.S | 381 | target/arm/memcpy-arm.S |
379 | target/arm/memmove-arm.S | 382 | target/arm/memmove-arm.S |
380 | common/strlen.c | 383 | libc/strlen.c |
381 | #ifndef SIMULATOR | 384 | #ifndef SIMULATOR |
382 | target/arm/memset-arm.S | 385 | target/arm/memset-arm.S |
383 | target/arm/memset16-arm.S | 386 | target/arm/memset16-arm.S |
@@ -472,9 +475,9 @@ target/arm/crt0.S | |||
472 | #elif defined(CPU_MIPS) | 475 | #elif defined(CPU_MIPS) |
473 | #undef mips | 476 | #undef mips |
474 | /*target/mips/strlen.S*/ | 477 | /*target/mips/strlen.S*/ |
475 | common/memmove.c | 478 | libc/memmove.c |
476 | common/memset16.c | 479 | common/memset16.c |
477 | common/strlen.c | 480 | libc/strlen.c |
478 | target/mips/ffs-mips.S | 481 | target/mips/ffs-mips.S |
479 | target/mips/memcpy-mips.S | 482 | target/mips/memcpy-mips.S |
480 | target/mips/memset-mips.S | 483 | target/mips/memset-mips.S |
@@ -488,11 +491,11 @@ target/mips/ingenic_jz47xx/crt0.S | |||
488 | #ifdef HAVE_PRIORITY_SCHEDULING | 491 | #ifdef HAVE_PRIORITY_SCHEDULING |
489 | common/ffs.c | 492 | common/ffs.c |
490 | #endif | 493 | #endif |
491 | common/memcpy.c | 494 | libc/memcpy.c |
492 | common/memmove.c | 495 | libc/memmove.c |
493 | common/memset.c | 496 | libc/memset.c |
494 | common/memset16.c | 497 | common/memset16.c |
495 | common/strlen.c | 498 | libc/strlen.c |
496 | #ifndef SIMULATOR | 499 | #ifndef SIMULATOR |
497 | crt0.S | 500 | crt0.S |
498 | drivers/i2c.c | 501 | drivers/i2c.c |
@@ -752,7 +755,7 @@ target/coldfire/iaudio/audio-iaudio.c | |||
752 | #ifdef IRIVER_IFP7XX_SERIES | 755 | #ifdef IRIVER_IFP7XX_SERIES |
753 | #ifdef STUB | 756 | #ifdef STUB |
754 | ifp_usb_serial.c | 757 | ifp_usb_serial.c |
755 | common/sscanf.c | 758 | libc/sscanf.c |
756 | #endif /* STUB */ | 759 | #endif /* STUB */ |
757 | #endif /* IRIVER_IFP7XX_SERIES */ | 760 | #endif /* IRIVER_IFP7XX_SERIES */ |
758 | 761 | ||