--- /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/cobalt/n32/make.defaults,v 1.1 2007/02/11 11:20:43 eroyf Exp $
+
+# IP22/IP32 N32 Generic Profile
+# Also Catalyst Build Profile for N32
+
+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"
+STAGE1_USE="mips n32 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.0/cobalt/n32/nptl/make.defaults,v 1.1 2007/02/11 11:20:43 eroyf 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.0/cobalt/n32/nptl/package.mask,v 1.1 2007/02/11 11:20:43 eroyf Exp $
+
+# Unmask gcc-4.x and glibc-2.4
+->=sys-devel/gcc-4.0
+->=sys-libs/glibc-2.4
+->=sys-kernel/mips-sources-2.6.17
--- /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/cobalt/n32/nptl/use.mask,v 1.1 2007/02/11 11:20:43 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/cobalt/n32/use.mask,v 1.1 2007/02/11 11:20:43 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/cobalt/o32/make.defaults,v 1.1 2007/02/11 11:20:44 eroyf Exp $
+
+# Cobalt O32 Profile
+# Also Catalyst Build Profile for Cobalt O32
+
+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"
+STAGE1_USE="mips 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.0/cobalt/o32/nptl/make.defaults,v 1.1 2007/02/11 11:20:44 eroyf 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.0/cobalt/o32/nptl/package.mask,v 1.1 2007/02/11 11:20:44 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/cobalt/o32/nptl/use.mask,v 1.1 2007/02/11 11:20:44 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/cobalt/packages,v 1.1 2007/02/11 11:20:43 eroyf 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.0/cobalt/use.mask,v 1.1 2007/02/11 11:20:43 eroyf Exp $
+
+# Cobalt only does mips32, thus it doesn't know about n32/n64 (yet)
+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.0/cobalt/virtuals,v 1.1 2007/02/11 11:20:43 eroyf Exp $
+
+virtual/bootloader sys-boot/colo