summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-08-24 13:41:45 +0000
committerThomas Martitz <kugel@rockbox.org>2010-08-24 13:41:45 +0000
commit3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d (patch)
treee685975d5410c5336f6bfcb514e08de345a89e25 /firmware
parent1aeb79dc3a21c9adea2878f0fff676f67bd55d97 (diff)
downloadrockbox-3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d.tar.gz
rockbox-3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d.tar.bz2
rockbox-3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d.zip
mips is predefined by gcc, but we want it for paths. Don't let others fall into this trap again. Use __mips instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27872 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/SOURCES1
-rw-r--r--firmware/target/mips/ingenic_jz47xx/app.lds1
-rw-r--r--firmware/target/mips/ingenic_jz47xx/boot.lds1
3 files changed, 0 insertions, 3 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 19e51ac948..e6157fa7d0 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -538,7 +538,6 @@ target/arm/crt0.S
#endif /* SIMULATOR */
#elif defined(CPU_MIPS)
-#undef mips
common/memset16.c
target/mips/ffs-mips.S
target/mips/memcpy-mips.S
diff --git a/firmware/target/mips/ingenic_jz47xx/app.lds b/firmware/target/mips/ingenic_jz47xx/app.lds
index bd924e44f4..9b457041b6 100644
--- a/firmware/target/mips/ingenic_jz47xx/app.lds
+++ b/firmware/target/mips/ingenic_jz47xx/app.lds
@@ -1,5 +1,4 @@
#include "config.h"
-#undef mips
OUTPUT_FORMAT("elf32-littlemips")
OUTPUT_ARCH(MIPS)
diff --git a/firmware/target/mips/ingenic_jz47xx/boot.lds b/firmware/target/mips/ingenic_jz47xx/boot.lds
index 15d3e3dd47..a236a3f40a 100644
--- a/firmware/target/mips/ingenic_jz47xx/boot.lds
+++ b/firmware/target/mips/ingenic_jz47xx/boot.lds
@@ -1,5 +1,4 @@
#include "config.h"
-#undef mips
OUTPUT_FORMAT("elf32-littlemips")
OUTPUT_ARCH(MIPS)