From 37175a9783c561c8a3f94b6818dabf512c3674e9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 18:07:43 +0200 Subject: 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 --- toolchain/gcc/Makefile | 2 +- toolchain/glibc/Makefile.inc | 2 +- toolchain/glibc/patches/mips32.patch | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 toolchain/glibc/patches/mips32.patch (limited to 'toolchain') 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 -- cgit v1.2.3