rockbox/firmware/asm/SOURCES
Aidan MacDonald 6f4b6a8078 make: remove asm.make and use asm/SOURCES directly
asm.make replaces source files listed in asm/SOURCES with
a corresponding .c or .S file under firmware/asm/${ARCH}.
This makes it difficult to handle differences within one
architecture, eg. different instruction sets or versions
of the architecture.

Get rid of asm.make, and instead use the preprocessor to
select the architecture-specific sources directly from
asm/SOURCES. This is slightly more verbose but is more
flexible.

Change-Id: Id2a484794d5d951b7ba7b54a552de6960414fa45
2026-01-08 16:41:57 +00:00

60 lines
1.3 KiB
Text

#if defined(CPU_ARM)
arm/ffs.S
arm/memset16.S
#elif defined(CPU_MIPS)
mips/ffs.S
memset16.c
#elif defined(CPU_COLDFIRE)
m68k/ffs.S
m68k/memset16.S
#else
ffs.c
memset16.c
#endif
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY)
#if defined(CPU_ARM)
arm/memcpy.S
arm/memmove.S
arm/memset.S
strlen.c
#elif defined(CPU_MIPS)
mips/memcpy.S
memmove.c
mips/memset.S
strlen.c
#elif defined(CPU_COLDFIRE)
m68k/memcpy.S
m68k/memmove.S
m68k/memset.S
m68k/strlen.S
#else
memcpy.c
mempcpy.c
memmove.c
memset.c
strlen.c
#endif
#endif
#if defined(WIN32) || defined(APPLICATION)
mempcpy.c
#endif
#if (defined(SANSA_E200) || defined(GIGABEAT_F) || defined(GIGABEAT_S) || \
defined(CREATIVE_ZVx) || defined(SANSA_CONNECT) || defined(SANSA_FUZEPLUS) || \
defined(COWON_D2) || defined(MINI2440) || defined(SAMSUNG_YPR0) || \
defined(SAMSUNG_YPR1) || defined(DX50) || defined(DX90) || (defined(MROBE_500) && !defined(LCD_USE_DMA)) || \
defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) || defined(SONY_NWZ_LINUX) || defined(HIBY_LINUX) || \
defined(FIIO_M3K_LINUX)) && \
!defined(SIMULATOR)
#if LCD_DEPTH >= 24
lcd-as-memframe-24bit.c
#else
#if defined(CPU_ARM)
arm/lcd-as-memframe.S
#else
lcd-as-memframe.c
#endif /* CPU_ARM */
#endif /* LCD_DEPTH */
#endif