summaryrefslogtreecommitdiffstats
path: root/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-03-25 19:09:09 +0000
committerEric Andersen <andersen@codepoet.org>2006-03-25 19:09:09 +0000
commitba46d4d7caf5ec6c89fbbde4bb19a86a272c4611 (patch)
treead16141328c9251d4ce5461e63bb831c9806a140 /target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch
parent7aa8096f080eb0bf8db862741e57a21285ab4c61 (diff)
downloadbuildroot-novena-ba46d4d7caf5ec6c89fbbde4bb19a86a272c4611.tar.gz
buildroot-novena-ba46d4d7caf5ec6c89fbbde4bb19a86a272c4611.zip
update to linux 2.4.16 and current uClibc.
Diffstat (limited to 'target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch')
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch48
1 files changed, 35 insertions, 13 deletions
diff --git a/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch b/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch
index 53e509d3a..13c6610dc 100644
--- a/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch
+++ b/target/device/AMD/DBAu1500/kernel-patches/004-correct-toolchain.patch
@@ -1,24 +1,46 @@
---- linux-2.4.29/arch/mips/Makefile.orig 2005-03-08 23:24:05.000000000 -0700
-+++ linux-2.4.29/arch/mips/Makefile 2005-03-08 23:27:37.000000000 -0700
-@@ -17,16 +17,16 @@
+--- linux/arch/mips/Makefile.orig 2006-01-02 20:21:10.000000000 -0700
++++ linux/arch/mips/Makefile 2006-03-19 17:25:29.000000000 -0700
+@@ -22,15 +22,15 @@
# Select the object file format to substitute into the linker script.
#
ifdef CONFIG_CPU_LITTLE_ENDIAN
--tool-prefix = mipsel-linux-
-+#tool-prefix = mipsel-linux-
- ld-emul = elf32ltsmip
+-32bit-tool-prefix = mipsel-linux-
+-64bit-tool-prefix = mips64el-linux-
++#32bit-tool-prefix = mipsel-linux-
++#64bit-tool-prefix = mips64el-linux-
+ 32bit-bfd = elf32-tradlittlemips
+ 64bit-bfd = elf64-tradlittlemips
+ 32bit-emul = elf32ltsmip
+ 64bit-emul = elf64ltsmip
else
--tool-prefix = mips-linux-
-+#tool-prefix = mips-linux-
- ld-emul = elf32btsmip
+-32bit-tool-prefix = mips-linux-
+-64bit-tool-prefix = mips64-linux-
++#32bit-tool-prefix = mips-linux-
++#64bit-tool-prefix = mips64-linux-
+ 32bit-bfd = elf32-tradbigmips
+ 64bit-bfd = elf64-tradbigmips
+ 32bit-emul = elf32btsmip
+@@ -39,18 +39,18 @@
+
+ ifdef CONFIG_32BIT
+ gcc-abi = 32
+-tool-prefix = $(32bit-tool-prefix)
++#tool-prefix = $(32bit-tool-prefix)
+ UTS_MACHINE := mips
+ endif
+ ifdef CONFIG_64BIT
+ gcc-abi = 64
+-tool-prefix = $(64bit-tool-prefix)
++#tool-prefix = $(64bit-tool-prefix)
+ UTS_MACHINE := mips64
endif
-ifdef CONFIG_CROSSCOMPILE
--CROSS_COMPILE = $(tool-prefix)
+-CROSS_COMPILE := $(tool-prefix)
-endif
+#ifdef CONFIG_CROSSCOMPILE
-+#CROSS_COMPILE = $(tool-prefix)
++#CROSS_COMPILE := $(tool-prefix)
+#endif
- MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot
-
+ CHECKFLAGS-y += -D__linux__ -D__mips__ \
+ -D_ABIO32=1 \