--- /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.1-dev/cobalt/n32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# IP22/IP32 N32/NPTL Generic Profile
+# Also Catalyst Build Profile for N32/NPTL
+
+ARCH="mips"
+PROFILE_ARCH="cobalt"
+
+# The n32 userland needs a 64bit compiler and CHOST
+CHOST="mips64el-unknown-linux-gnu"
+
+# Sandbox is broken on mips (Bug #45814)
+FEATURES="-sandbox ccache autoconfig"
+
+# Compiler flags
+# We build a *minimum* of mips3, because IP22/IP32 are, at minimum, mips3 capable
+# systems (IP22 R4x00 systems are mips3; IP32 is mips4). Enforce n32 as the default
+# ABI as well.
+CFLAGS="-O2 -pipe -march=mips3 -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"
+STAGE1_USE="mips n32 nptl nptlonly cobalt"
--- /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.1-dev/cobalt/n32/packages,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Cobalt packages
+
+# Sometimes necessary to trick programs into thinking we're really
+# a mips32 system.
+*sys-apps/setarch
--- /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.1-dev/cobalt/n32/use.mask,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/cobalt/o32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Cobalt O32/NPTL Profile
+# Also Catalyst Build Profile for Cobalt O32/NPTL
+
+ARCH="mips"
+PROFILE_ARCH="cobalt"
+
+# Cobalt systems are Little-Endian, and do not support (yet) 64bit kernels
+CHOST="mipsel-unknown-linux-gnu"
+
+# Sandbox is broken on mips (Bug #45814)
+FEATURES="-sandbox ccache autoconfig"
+
+# Compiler flags
+# We build as R5000, because Cobalts have an RM5231A CPU in them. Enforce o32
+# as the default ABI as well.
+CFLAGS="-O2 -pipe -march=r5000 -mabi=32"
+CXXFLAGS=${CFLAGS}
+
+ACCEPT_KEYWORDS="mips"
+
+USE="readline fortran gpm berkdb gdbm tcpd pam libwww ssl nls perl python sdl mips cobalt nptl nptlonly"
+STAGE1_USE="mips cobalt 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.1-dev/cobalt/packages,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Cobalt packages
+
+# Sometimes necessary to trick programs into thinking we're really
+# a mips32 system.
+# (Not needed on Cobalt yet, but might in the future)
+# *sys-apps/setarch
+
+# Cobalt's bootloader is Colo
+*sys-boot/colo
--- /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.1-dev/cobalt/use.mask,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Cobalt really only knows about 32bit mips installs, thus o32 is the preferred (And
+# highly suggested default). However, there is limited testing under a 64bit cobalt
+# kernel, and as such, limited n32 testing available as well.
+#
+# n64 is not supported, however. n32 gets unmasked in its respective profile.
+
+n32
+n64
--- /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.1-dev/cobalt/virtuals,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+virtual/bootloader sys-boot/colo
--- /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.1-dev/generic-be/n32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# IP22/IP32 N32/NPTL Generic Profile
+# Also Catalyst Build Profile for N32/NPTL
+
+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 a *minimum* of mips3, because IP22/IP32 are, at minimum, mips3 capable
+# systems (IP22 R4x00 systems are mips3; IP32 is mips4). Enforce n32 as the default
+# ABI as well.
+CFLAGS="-O2 -pipe -march=mips3 -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"
+STAGE1_USE="mips n32 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.1-dev/generic-be/n32/use.mask,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/generic-be/n64/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# IP22/IP32 N64/NPTL Generic Profile
+# Also Catalyst Build Profile for N64/NPTL
+
+ARCH="mips"
+PROFILE_ARCH="mips64"
+
+# The n64 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 a *minimum* of mips3, because IP22/IP32 are, at minimum, mips3 capable
+# systems (IP22 R4x00 systems are mips3; IP32 is mips4). Enforce n64 as the default
+# ABI as well.
+CFLAGS="-O2 -pipe -march=mips3 -mabi=64"
+CXXFLAGS=${CFLAGS}
+
+ACCEPT_KEYWORDS="mips"
+
+USE="readline fortran gpm berkdb gdbm tcpd pam libwww ssl nls perl python sdl mips n64 nptl nptlonly"
+STAGE1_USE="mips n64 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.1-dev/generic-be/n64/use.mask,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Unmask n64
+-n64
--- /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.1-dev/generic-be/o32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# IP22/IP32 O32/NPTL Generic Profile
+# Also Catalyst Build Profile for O32/NPTL
+
+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 a *minimum* of mips3, because IP22/IP32 are, at minimum, mips3 capable
+# systems (IP22 R4x00 systems are mips3; IP32 is mips4). Enforce o32 as the default
+# ABI as well.
+CFLAGS="-O2 -pipe -march=mips3 -mabi=32"
+CXXFLAGS=${CFLAGS}
+
+ACCEPT_KEYWORDS="mips"
+
+USE="readline fortran gpm berkdb gdbm tcpd pam libwww ssl nls perl python sdl mips nptl nptlonly"
+STAGE1_USE="mips 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.1-dev/generic-be/o32/packages,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/generic-be/packages,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Sometimes necessary to trick programs into thinking we're really
+# a mips32 system.
+*sys-apps/setarch
+
+# The default SGI Bootloader is ArcLoad
+*sys-boot/arcload
--- /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.1-dev/generic-be/virtuals,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+virtual/bootloader sys-boot/arcload
--- /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.1-dev/ip27/n32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# IP27 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 IP27 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 ip27"
--- /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.1-dev/ip27/n32/use.mask,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/ip27/o32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# IP27 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 IP27 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 ip27"
--- /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.1-dev/ip27/o32/packages,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/ip27/packages,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Sometimes necessary to trick programs into thinking we're really
+# a mips32 system.
+*sys-apps/setarch
+
+# The default SGI Bootloader is ArcLoad
+*sys-boot/arcload
--- /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.1-dev/ip27/virtuals,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+virtual/bootloader sys-boot/arcload
--- /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.1-dev/ip28/n32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/ip28/n32/use.mask,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/ip28/o32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/ip28/o32/packages,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/ip28/packages,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Sometimes necessary to trick programs into thinking we're really
+# a mips32 system.
+*sys-apps/setarch
+
+# The default SGI Bootloader is ArcLoad
+*sys-boot/arcload
--- /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.1-dev/ip28/virtuals,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+virtual/bootloader sys-boot/arcload
--- /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.1-dev/ip30/n32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# IP30 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 IP30 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 ip30"
--- /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.1-dev/ip30/n32/use.mask,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/ip30/o32/make.defaults,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# IP30 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 IP30 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 ip30"
--- /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.1-dev/ip30/o32/packages,v 1.1 2007/02/25 17:47:56 kumba 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.1-dev/ip30/packages,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Sometimes necessary to trick programs into thinking we're really
+# a mips32 system.
+*sys-apps/setarch
+
+# The default SGI Bootloader is ArcLoad
+*sys-boot/arcload
--- /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.1-dev/ip30/virtuals,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+virtual/bootloader sys-boot/arcload
--- /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.1-dev/package.mask,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Unmask gcc-4.x and >=mips-sources-2.6.17
+->=sys-devel/gcc-4.0
+->=sys-kernel/mips-sources-2.6.17
+
+# 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.1-dev/use.mask,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# Unmask nptl
+-nptl
+-nptlonly
+
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/2007.1-dev/virtuals,v 1.1 2007/02/25 17:47:56 kumba Exp $
+
+# 2007.1-dev preps for the move to linux-headers and deprecation of mips-headers
+
+virtual/os-headers sys-kernel/linux-headers