--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/n32/make.defaults,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# IP28 N32 Profile
+
+ARCH="mips"
+PROFILE_ARCH="mips64"
+
+# The n32 userland needs a 64bit compiler and CHOST
+CHOST="mips64-unknown-linux-gnu"
+
+# Sandbox is broken on mips (Bug #45814)
+FEATURES="-sandbox ccache autoconfig"
+
+# Compiler flags
+# We build as mips4, because IP28 supports at minimum, a mips4
+# processor. Enforce n32 as the default ABI as well.
+CFLAGS="-O2 -pipe -march=mips4 -mabi=n32"
+CXXFLAGS=${CFLAGS}
+
+ACCEPT_KEYWORDS="mips"
+
+USE="readline fortran gpm berkdb gdbm tcpd pam libwww ssl nls perl python sdl mips n32 ip28"
--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/n32/nptl/make.defaults,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# IP28 N32/NPTL Profile
+
+ARCH="mips"
+PROFILE_ARCH="mips64"
+
+# The n32 userland needs a 64bit compiler and CHOST
+CHOST="mips64-unknown-linux-gnu"
+
+# Sandbox is broken on mips (Bug #45814)
+FEATURES="-sandbox ccache autoconfig"
+
+# Compiler flags
+# We build as mips4, because IP28 supports at minimum, a mips4
+# processor. Enforce n32 as the default ABI as well.
+CFLAGS="-O2 -pipe -march=mips4 -mabi=n32"
+CXXFLAGS=${CFLAGS}
+
+ACCEPT_KEYWORDS="mips"
+
+USE="readline fortran gpm berkdb gdbm tcpd pam libwww ssl nls perl python sdl mips n32 nptl nptlonly ip28"
--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/n32/nptl/package.mask,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# Unmask glibc-2.4
+->=sys-libs/glibc-2.4
--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/n32/nptl/use.mask,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# Unmask nptl
+-nptl
+-nptlonly
+
--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/n32/use.mask,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# Unmask n32
+-n32
--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/o32/make.defaults,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# IP28 O32 Profile
+
+ARCH="mips"
+PROFILE_ARCH="mips64"
+
+# Even though this is a 64bit kernel, we use a 32-bit userland (o32)
+CHOST="mips-unknown-linux-gnu"
+
+# Sandbox is broken on mips (Bug #45814)
+FEATURES="-sandbox ccache autoconfig"
+
+# Compiler flags
+# We build as mips4, because IP28 supports at minimum, a mips4
+# processor. Enforce o32 as the default ABI as well.
+CFLAGS="-O2 -pipe -march=mips4 -mabi=32"
+CXXFLAGS=${CFLAGS}
+
+ACCEPT_KEYWORDS="mips"
+
+USE="readline fortran gpm berkdb gdbm tcpd pam libwww ssl nls perl python sdl mips ip28"
--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/o32/nptl/make.defaults,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# IP28 O32/NPTL Profile
+
+ARCH="mips"
+PROFILE_ARCH="mips64"
+
+# Even though this is a 64bit kernel, we use a 32-bit userland (o32)
+CHOST="mips-unknown-linux-gnu"
+
+# Sandbox is broken on mips (Bug #45814)
+FEATURES="-sandbox ccache autoconfig"
+
+# Compiler flags
+# We build as mips4, because IP28 supports at minimum, a mips4
+# processor. Enforce o32 as the default ABI as well.
+CFLAGS="-O2 -pipe -march=mips4 -mabi=32"
+CXXFLAGS=${CFLAGS}
+
+ACCEPT_KEYWORDS="mips"
+
+USE="readline fortran gpm berkdb gdbm tcpd pam libwww ssl nls perl python sdl mips nptl nptlonly ip28"
--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/o32/nptl/package.mask,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# Unmask glibc-2.4
+->=sys-libs/glibc-2.4
--- /dev/null
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/o32/nptl/use.mask,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# Unmask nptl
+-nptl
+-nptlonly
+
--- /dev/null
+# Copyright 2006 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/o32/packages,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+# o32-specific packages
+
+# Since we're running a mips64 kernel w/ 32bit (o32) userland,
+# we need kgcc64 to build kernels.
+*sys-devel/kgcc64
--- /dev/null
+# Copyright 2006 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.0/ip28/virtuals,v 1.1 2007/02/11 11:55:20 eroyf Exp $
+
+virtual/bootloader sys-boot/arcload