From 0310f16005a1e98c441221bc0f0f7586d0b19763 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 21 Jan 2005 22:43:02 +0000 Subject: Revived C implementations of memcpy() and memset() for platforms without asm optimized versions (gmini), replacing the intermediate strings.c. Moved the asm optimized versions 'out of the way' for the implicit 'make' rules by renaming them to *_a.S (for assembler/alternative). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5628 a1c6a512-1295-4272-9138-f99709370657 --- firmware/SOURCES | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'firmware/SOURCES') diff --git a/firmware/SOURCES b/firmware/SOURCES index e6c007c1d0..e08d986ec1 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -1,6 +1,3 @@ -#ifdef ARCHOS_GMINI120 -common/string.c -#endif #ifdef IRIVER_H100 crt0.S backlight.c @@ -30,6 +27,13 @@ common/strncpy.c common/strrchr.c common/strtok.c common/timefuncs.c +#if (CONFIG_CPU == SH7034) || (CONFIG_CPU == MCF5249) +common/memcpy_a.S +common/memset_a.S +#else +common/memcpy.c +common/memset.c +#endif debug.c drivers/adc.c #ifdef HAVE_MMC @@ -81,8 +85,6 @@ system.c thread.c usb.c bitswap.S -common/memcpy.S -common/memset.S crt0.S descramble.S drivers/lcd.S -- cgit v1.2.3