summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips
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/target/mips
parent1aeb79dc3a21c9adea2878f0fff676f67bd55d97 (diff)
downloadrockbox-3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d.tar.gz
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/target/mips')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/app.lds1
-rw-r--r--firmware/target/mips/ingenic_jz47xx/boot.lds1
2 files changed, 0 insertions, 2 deletions
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)