summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 18:07:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 18:07:43 +0200
commit37175a9783c561c8a3f94b6818dabf512c3674e9 (patch)
treeaf305d32733cbc31b70aa709db228dc8ce6e655f /toolchain
parent141bcc0f9d8ebfd06865420653333347d19dc39d (diff)
qemu MIPS support
- add support of all MIPS variants - MIPS32 boots fine with MALTA emulation - MIPS64 has a problem booting in 64 kernel mode, even linux 2.6.30rc7 halt on boot - remove Config.default
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile2
-rw-r--r--toolchain/glibc/Makefile.inc2
-rw-r--r--toolchain/glibc/patches/mips32.patch7
3 files changed, 9 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index a0e972c3f..f5150a226 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -40,7 +40,7 @@ ifeq ($(ADK_NO_FPU),y)
GCC_CONFOPTS+= --with-float=soft
endif
-ifeq ($(ADK_LINUX_MIPS64_LEMOTE),y)
+ifeq ($(ADK_LINUX_MIPS64),y)
GCC_CONFOPTS+= --with-abi=64
endif
diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc
index 22c9cd710..083e3041b 100644
--- a/toolchain/glibc/Makefile.inc
+++ b/toolchain/glibc/Makefile.inc
@@ -4,7 +4,7 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= glibc
-PKG_VERSION:= 2.10-current
+PKG_VERSION:= 2.10.90
PKG_RELEASE:= 1
PKG_MD5SUM:= f1d6d30f762e0be537a1f84d26fa0403
MASTER_SITES:= http://www.openadk.org/distfiles
diff --git a/toolchain/glibc/patches/mips32.patch b/toolchain/glibc/patches/mips32.patch
new file mode 100644
index 000000000..d06bc7aad
--- /dev/null
+++ b/toolchain/glibc/patches/mips32.patch
@@ -0,0 +1,7 @@
+diff -Nur glibc-2.10-current.orig/ports/sysdeps/mips/mips32/Makefile glibc-2.10-current/ports/sysdeps/mips/mips32/Makefile
+--- glibc-2.10-current.orig/ports/sysdeps/mips/mips32/Makefile 2009-05-26 22:53:27.000000000 +0200
++++ glibc-2.10-current/ports/sysdeps/mips/mips32/Makefile 2009-05-30 13:59:48.000000000 +0200
+@@ -1,3 +0,0 @@
+-ifeq ($(filter -mabi=32,$(CC)),)
+-CC += -mabi=32
+-endif