system-arm.c/__div0 are for ARM native builds only

Android can now be built with CPU_ARM defined
Needs investigation (and test_codec) to see if/how this helps

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27684 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-08-03 19:00:29 +00:00
parent 29b2a049de
commit 851be21f67
5 changed files with 6 additions and 4 deletions

View file

@ -119,7 +119,7 @@ struct codec_api ci = {
NULL, /* configure */
/* kernel/ system */
#ifdef CPU_ARM
#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE
__div0,
#endif
PREFIX(sleep),

View file

@ -156,7 +156,7 @@ struct codec_api {
void (*configure)(int setting, intptr_t value);
/* kernel/ system */
#ifdef CPU_ARM
#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE
void (*__div0)(void);
#endif
void (*sleep)(int ticks);

View file

@ -345,7 +345,7 @@ static const struct plugin_api rockbox_api = {
dir_exists,
/* kernel/ system */
#ifdef CPU_ARM
#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE
__div0,
#endif
PREFIX(sleep),

View file

@ -450,7 +450,7 @@ struct plugin_api {
bool (*dir_exists)(const char *path);
/* kernel/ system */
#ifdef CPU_ARM
#if defined(CPU_ARM) && CONFIG_PLATFORM & PLATFORM_NATIVE
void (*__div0)(void);
#endif
void (*sleep)(int ticks);

View file

@ -448,7 +448,9 @@ target/arm/memset16-arm.S
#ifdef HAVE_PRIORITY_SCHEDULING
target/arm/ffs-arm.S
#endif
#if CONFIG_PLATFORM & PLATFORM_NATIVE
target/arm/system-arm.c
#endif
#if CONFIG_I2C == I2C_PP5024 || CONFIG_I2C == I2C_PP5020 || CONFIG_I2C == I2C_PP5002
target/arm/i2c-pp.c
#elif CONFIG_I2C == I2C_PNX0101