summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2005-04-27 05:13:34 +0000
committerJoshua Kinard <kumba@gentoo.org>2005-04-27 05:13:34 +0000
commit04830f2ffcbe141b17d4851b42c927d39b601624 (patch)
tree61e89b6a8b6be85294a85dd326763e92dd41dfda /profiles/default-linux
parentStable on mips. (diff)
downloadhistorical-04830f2ffcbe141b17d4851b42c927d39b601624.tar.gz
historical-04830f2ffcbe141b17d4851b42c927d39b601624.tar.bz2
historical-04830f2ffcbe141b17d4851b42c927d39b601624.zip
Mips multilib profileinitial import. Not ready for public consumption yet.
Diffstat (limited to 'profiles/default-linux')
-rw-r--r--profiles/default-linux/mips/mips64/multilib/2005.1/make.defaults37
-rw-r--r--profiles/default-linux/mips/mips64/multilib/2005.1/parent8
-rw-r--r--profiles/default-linux/mips/mips64/multilib/make.defaults34
-rw-r--r--profiles/default-linux/mips/mips64/multilib/parent8
-rw-r--r--profiles/default-linux/mips/mips64/multilib/profile.bashrc27
-rw-r--r--profiles/default-linux/mips/mips64/multilib/use.mask5
6 files changed, 119 insertions, 0 deletions
diff --git a/profiles/default-linux/mips/mips64/multilib/2005.1/make.defaults b/profiles/default-linux/mips/mips64/multilib/2005.1/make.defaults
new file mode 100644
index 000000000000..4393446447eb
--- /dev/null
+++ b/profiles/default-linux/mips/mips64/multilib/2005.1/make.defaults
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/mips64/multilib/2005.1/make.defaults,v 1.1 2005/04/27 05:13:34 kumba Exp $
+
+STAGE1_USE=""
+GRP_STAGE23_USE="${STAGE1_USE} ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses readline zlib -java"
+USE="${GRP_STAGE23_USE} bitmap-fonts truetype-fonts type1-fonts oss alsa crypt fortran f77 jpeg nls userlocales png xml2 acpi gif jp2 lzw lzw-tiff png tiff truetype usb xpm xrandr xv"
+
+# This profile doesn't fully support multilib portage yet. We still rely
+# on the emul-* packages. As such, we have -multilib-pkg here to emphasise
+# that point.
+FEATURES="sandbox autoconfig multilib-strict"
+
+MULTILIB_ABIS="n64 n32 o32"
+DEFAULT_ABI="o32"
+
+CFLAGS_o32="-mabi=32"
+LDFLAGS_o32="-m elf32-tradbigmips"
+CHOST_o32="mips-unknown-linux-gnu"
+CDEFINE_o32="_ABIO32"
+LIBDIR_o32="lib"
+
+CFLAGS_n32="-mabi=n32"
+LDFLAGS_n32="-m elf32-ntradbigmips"
+CHOST_n32="mips64-unknown-linux-gnu"
+CDEFINE_n32="_ABIN32"
+LIBDIR_n32="lib32"
+
+CFLAGS_n64="-mabi=n64"
+LDFLAGS_n64="-m elf64-tradbigmips"
+CHOST_n64="mips64-unknown-linux-gnu"
+CDEFINE_n64="_ABI64"
+LIBDIR_n64="lib64"
+
+# In case someone wants to help out by setting FEATURES="multilib-strict"
+MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
+MULTILIB_STRICT_DENY="(64-bit|32-bit N32).*shared object"
diff --git a/profiles/default-linux/mips/mips64/multilib/2005.1/parent b/profiles/default-linux/mips/mips64/multilib/2005.1/parent
new file mode 100644
index 000000000000..74853ef4eaaf
--- /dev/null
+++ b/profiles/default-linux/mips/mips64/multilib/2005.1/parent
@@ -0,0 +1,8 @@
+# Copyright 2004 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /home/cvsroot/gentoo-x86/profiles/default/x86/2004.0/parent,v 1.2
+# 2004/03/18 00:16:43 seemant Exp $
+
+# This file describes the parent profile to this. In most cases this will
+# just be the name of the parent directory
+..
diff --git a/profiles/default-linux/mips/mips64/multilib/make.defaults b/profiles/default-linux/mips/mips64/multilib/make.defaults
new file mode 100644
index 000000000000..cc021aac39d7
--- /dev/null
+++ b/profiles/default-linux/mips/mips64/multilib/make.defaults
@@ -0,0 +1,34 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/mips64/multilib/make.defaults,v 1.1 2005/04/27 05:13:34 kumba Exp $
+
+CHOST="mips64-unknown-linux-gnu"
+ARCH="mips"
+ACCEPT_KEYWORDS="${ARCH}"
+
+FEATURES="sandbox autoconfig multilib-strict"
+
+MULTILIB_ABIS="n64 n32 o32"
+DEFAULT_ABI="o32"
+
+CFLAGS_o32="-mabi=32"
+LDFLAGS_o32="-m elf32-tradbigmips"
+CHOST_o32="mips-unknown-linux-gnu"
+CDEFINE_o32="_ABIO32"
+LIBDIR_o32="lib"
+
+CFLAGS_n32="-mabi=n32"
+LDFLAGS_n32="-m elf32-ntradbigmips"
+CHOST_n32="mips64-unknown-linux-gnu"
+CDEFINE_n32="_ABIN32"
+LIBDIR_n32="lib32"
+
+CFLAGS_n64="-mabi=n64"
+LDFLAGS_n64="-m elf64-tradbigmips"
+CHOST_n64="mips64-unknown-linux-gnu"
+CDEFINE_n64="_ABI64"
+LIBDIR_n64="lib64"
+
+# In case someone wants to help out by setting FEATURES="multilib-strict"
+MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
+MULTILIB_STRICT_DENY="(64-bit|32-bit N32).*shared object"
diff --git a/profiles/default-linux/mips/mips64/multilib/parent b/profiles/default-linux/mips/mips64/multilib/parent
new file mode 100644
index 000000000000..74853ef4eaaf
--- /dev/null
+++ b/profiles/default-linux/mips/mips64/multilib/parent
@@ -0,0 +1,8 @@
+# Copyright 2004 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /home/cvsroot/gentoo-x86/profiles/default/x86/2004.0/parent,v 1.2
+# 2004/03/18 00:16:43 seemant Exp $
+
+# This file describes the parent profile to this. In most cases this will
+# just be the name of the parent directory
+..
diff --git a/profiles/default-linux/mips/mips64/multilib/profile.bashrc b/profiles/default-linux/mips/mips64/multilib/profile.bashrc
new file mode 100644
index 000000000000..3ff38a8eb45f
--- /dev/null
+++ b/profiles/default-linux/mips/mips64/multilib/profile.bashrc
@@ -0,0 +1,27 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/mips64/multilib/profile.bashrc,v 1.1 2005/04/27 05:13:34 kumba Exp $
+
+# This isn't ready for mass consumption by the public. Until it's ready,
+# block use of this profile.
+if [ "${IREALLYWANTTOUSEMIPSMULTILIBANDIKNOWWHATIAMDOING}" != "oompaloompa" ]; then
+ echo -e "* Stop trying to use things you don't know how to use :)"
+ echo -e "* Wait until they're ready to be used."
+ exit 1
+fi
+
+
+# The version of profile in our 'packages' does not yet set ABI for us nor
+# export the CFLAGS_${ABI} envvars... The multilib-pkg patch does, but this
+# won't be in portage until atleast .52_pre
+if [ -n "${ABI}" ]; then
+ export ABI
+elif [ -n "${DEFAULT_ABI}" ]; then
+ export ABI="${DEFAULT_ABI}"
+else
+ export ABI="o32"
+fi
+
+export CFLAGS_o32
+export CFLAGS_n32
+export CFLAGS_n64
diff --git a/profiles/default-linux/mips/mips64/multilib/use.mask b/profiles/default-linux/mips/mips64/multilib/use.mask
new file mode 100644
index 000000000000..6edc2900e3de
--- /dev/null
+++ b/profiles/default-linux/mips/mips64/multilib/use.mask
@@ -0,0 +1,5 @@
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/mips/mips64/multilib/use.mask,v 1.1 2005/04/27 05:13:34 kumba Exp $
+
+# Jeremy Huddleston <eradicator@gentoo.org>
+# multilib is forced on when we have ${MULTILIB_ABIS} defined
+multilib