summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/SOURCES33
-rw-r--r--firmware/asm/SOURCES8
-rw-r--r--firmware/asm/arm/memcpy.S (renamed from firmware/target/arm/memcpy-arm.S)0
-rw-r--r--firmware/asm/arm/memmove.S (renamed from firmware/target/arm/memmove-arm.S)0
-rw-r--r--firmware/asm/arm/memset.S (renamed from firmware/target/arm/memset-arm.S)0
-rw-r--r--firmware/asm/arm/memset16.S (renamed from firmware/target/arm/memset16-arm.S)0
-rw-r--r--firmware/asm/m68k/memcpy.S (renamed from firmware/target/coldfire/memcpy-coldfire.S)0
-rw-r--r--firmware/asm/m68k/memmove.S (renamed from firmware/target/coldfire/memmove-coldfire.S)0
-rw-r--r--firmware/asm/m68k/memset.S (renamed from firmware/target/coldfire/memset-coldfire.S)0
-rw-r--r--firmware/asm/m68k/memset16.S (renamed from firmware/target/coldfire/memset16-coldfire.S)0
-rw-r--r--firmware/asm/m68k/strlen.S (renamed from firmware/target/coldfire/strlen-coldfire.S)0
-rw-r--r--firmware/asm/memcpy.c (renamed from firmware/libc/memcpy.c)0
-rw-r--r--firmware/asm/memmove.c (renamed from firmware/libc/memmove.c)0
-rw-r--r--firmware/asm/memset.c (renamed from firmware/libc/memset.c)0
-rw-r--r--firmware/asm/memset16.c (renamed from firmware/common/memset16.c)0
-rw-r--r--firmware/asm/mips/memcpy.S (renamed from firmware/target/mips/memcpy-mips.S)0
-rw-r--r--firmware/asm/mips/memset.S (renamed from firmware/target/mips/memset-mips.S)0
-rw-r--r--firmware/asm/sh/memcpy.S (renamed from firmware/target/sh/memcpy-sh.S)0
-rw-r--r--firmware/asm/sh/memmove.S (renamed from firmware/target/sh/memmove-sh.S)0
-rw-r--r--firmware/asm/sh/memset.S (renamed from firmware/target/sh/memset-sh.S)0
-rw-r--r--firmware/asm/sh/strlen.S (renamed from firmware/target/sh/strlen-sh.S)0
-rw-r--r--firmware/asm/strlen.c (renamed from firmware/libc/strlen.c)0
22 files changed, 7 insertions, 34 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index f13eba618f..23b5baea3e 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -116,14 +116,6 @@ libc/ctype.c
libc/memchr.c
libc/memcmp.c
-#if !defined(CPU_SH) && !defined(CPU_COLDFIRE) && !defined(CPU_ARM)
-#if !defined(CPU_MIPS)
-libc/memcpy.c
-libc/memset.c
-#endif /* CPU_MIPS */
-libc/memmove.c
-#endif /* CPU_* */
-
libc/qsort.c
libc/random.c
libc/strcat.c
@@ -131,10 +123,6 @@ libc/strchr.c
libc/strcmp.c
libc/strcpy.c
-#if !defined(CPU_SH) && !defined(CPU_COLDFIRE)
-libc/strlen.c
-#endif
-
libc/strncmp.c
libc/strrchr.c
libc/strstr.c
@@ -422,10 +410,6 @@ target/sh/adc-sh.c
target/sh/bitswap.S
target/sh/crt0.S
target/sh/kernel-sh.c
-target/sh/memcpy-sh.S
-target/sh/memmove-sh.S
-target/sh/memset-sh.S
-target/sh/strlen-sh.S
target/sh/system-sh.c
target/sh/archos/descramble.S
target/sh/archos/i2c-archos.c
@@ -438,14 +422,6 @@ target/coldfire/crt0.S
common/ffs.c
target/coldfire/ffs-coldfire.S
#endif
-target/coldfire/memcpy-coldfire.S
-target/coldfire/memmove-coldfire.S
-target/coldfire/memset-coldfire.S
-target/coldfire/strlen-coldfire.S
-#if defined(HAVE_LCD_COLOR) || (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED) \
- || defined(HAVE_REMOTE_LCD) && (LCD_REMOTE_PIXELFORMAT == VERTICAL_INTERLEAVED)
-target/coldfire/memset16-coldfire.S
-#endif
target/coldfire/kernel-coldfire.c
target/coldfire/system-coldfire.c
target/coldfire/timer-coldfire.c
@@ -462,11 +438,6 @@ target/coldfire/ata-as-coldfire.S
#elif defined(CPU_PP) || defined(CPU_ARM)
/* CPU_PP => CPU_ARM, CPU_ARM !=> CPU_PP */
-target/arm/memcpy-arm.S
-target/arm/memmove-arm.S
-
-target/arm/memset-arm.S
-target/arm/memset16-arm.S
# if ARM_ARCH < 6
target/arm/bits-armv4.S
@@ -654,10 +625,7 @@ target/arm/crt0.S
#endif /* defined(CPU_*) */
#elif defined(CPU_MIPS)
-common/memset16.c
target/mips/ffs-mips.S
-target/mips/memcpy-mips.S
-target/mips/memset-mips.S
target/mips/mmu-mips.c
#if CONFIG_CPU==JZ4732
target/mips/ingenic_jz47xx/crt0.S
@@ -668,7 +636,6 @@ target/mips/ingenic_jz47xx/crt0.S
#ifdef HAVE_PRIORITY_SCHEDULING
common/ffs.c
#endif
-common/memset16.c
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
crt0.S
drivers/i2c.c
diff --git a/firmware/asm/SOURCES b/firmware/asm/SOURCES
index 8b13789179..805727ea93 100644
--- a/firmware/asm/SOURCES
+++ b/firmware/asm/SOURCES
@@ -1 +1,7 @@
-
+memset16.c
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY)
+memcpy.c
+memmove.c
+memset.c
+strlen.c
+#endif
diff --git a/firmware/target/arm/memcpy-arm.S b/firmware/asm/arm/memcpy.S
index 2a55fb5656..2a55fb5656 100644
--- a/firmware/target/arm/memcpy-arm.S
+++ b/firmware/asm/arm/memcpy.S
diff --git a/firmware/target/arm/memmove-arm.S b/firmware/asm/arm/memmove.S
index d8cab048be..d8cab048be 100644
--- a/firmware/target/arm/memmove-arm.S
+++ b/firmware/asm/arm/memmove.S
diff --git a/firmware/target/arm/memset-arm.S b/firmware/asm/arm/memset.S
index 682da874ce..682da874ce 100644
--- a/firmware/target/arm/memset-arm.S
+++ b/firmware/asm/arm/memset.S
diff --git a/firmware/target/arm/memset16-arm.S b/firmware/asm/arm/memset16.S
index 5c787b1bed..5c787b1bed 100644
--- a/firmware/target/arm/memset16-arm.S
+++ b/firmware/asm/arm/memset16.S
diff --git a/firmware/target/coldfire/memcpy-coldfire.S b/firmware/asm/m68k/memcpy.S
index 9762e31e02..9762e31e02 100644
--- a/firmware/target/coldfire/memcpy-coldfire.S
+++ b/firmware/asm/m68k/memcpy.S
diff --git a/firmware/target/coldfire/memmove-coldfire.S b/firmware/asm/m68k/memmove.S
index 736cd619e1..736cd619e1 100644
--- a/firmware/target/coldfire/memmove-coldfire.S
+++ b/firmware/asm/m68k/memmove.S
diff --git a/firmware/target/coldfire/memset-coldfire.S b/firmware/asm/m68k/memset.S
index 839b305a05..839b305a05 100644
--- a/firmware/target/coldfire/memset-coldfire.S
+++ b/firmware/asm/m68k/memset.S
diff --git a/firmware/target/coldfire/memset16-coldfire.S b/firmware/asm/m68k/memset16.S
index 1673038d03..1673038d03 100644
--- a/firmware/target/coldfire/memset16-coldfire.S
+++ b/firmware/asm/m68k/memset16.S
diff --git a/firmware/target/coldfire/strlen-coldfire.S b/firmware/asm/m68k/strlen.S
index 765969da04..765969da04 100644
--- a/firmware/target/coldfire/strlen-coldfire.S
+++ b/firmware/asm/m68k/strlen.S
diff --git a/firmware/libc/memcpy.c b/firmware/asm/memcpy.c
index c5456ab41f..c5456ab41f 100644
--- a/firmware/libc/memcpy.c
+++ b/firmware/asm/memcpy.c
diff --git a/firmware/libc/memmove.c b/firmware/asm/memmove.c
index 5f423964bb..5f423964bb 100644
--- a/firmware/libc/memmove.c
+++ b/firmware/asm/memmove.c
diff --git a/firmware/libc/memset.c b/firmware/asm/memset.c
index 7b8d2137e8..7b8d2137e8 100644
--- a/firmware/libc/memset.c
+++ b/firmware/asm/memset.c
diff --git a/firmware/common/memset16.c b/firmware/asm/memset16.c
index 7e31df0cdd..7e31df0cdd 100644
--- a/firmware/common/memset16.c
+++ b/firmware/asm/memset16.c
diff --git a/firmware/target/mips/memcpy-mips.S b/firmware/asm/mips/memcpy.S
index 2e7f245c69..2e7f245c69 100644
--- a/firmware/target/mips/memcpy-mips.S
+++ b/firmware/asm/mips/memcpy.S
diff --git a/firmware/target/mips/memset-mips.S b/firmware/asm/mips/memset.S
index 8db76d9123..8db76d9123 100644
--- a/firmware/target/mips/memset-mips.S
+++ b/firmware/asm/mips/memset.S
diff --git a/firmware/target/sh/memcpy-sh.S b/firmware/asm/sh/memcpy.S
index e23a579b05..e23a579b05 100644
--- a/firmware/target/sh/memcpy-sh.S
+++ b/firmware/asm/sh/memcpy.S
diff --git a/firmware/target/sh/memmove-sh.S b/firmware/asm/sh/memmove.S
index d5a7160043..d5a7160043 100644
--- a/firmware/target/sh/memmove-sh.S
+++ b/firmware/asm/sh/memmove.S
diff --git a/firmware/target/sh/memset-sh.S b/firmware/asm/sh/memset.S
index 8cae1ea112..8cae1ea112 100644
--- a/firmware/target/sh/memset-sh.S
+++ b/firmware/asm/sh/memset.S
diff --git a/firmware/target/sh/strlen-sh.S b/firmware/asm/sh/strlen.S
index e7169e25db..e7169e25db 100644
--- a/firmware/target/sh/strlen-sh.S
+++ b/firmware/asm/sh/strlen.S
diff --git a/firmware/libc/strlen.c b/firmware/asm/strlen.c
index 649df6764b..649df6764b 100644
--- a/firmware/libc/strlen.c
+++ b/firmware/asm/strlen.c