diff options
author | Yuta Satoh <nigoro@gentoo.org> | 2005-06-26 15:47:07 +0000 |
---|---|---|
committer | Yuta Satoh <nigoro@gentoo.org> | 2005-06-26 15:47:07 +0000 |
commit | e44f17dc19c144a67aa15cc94bdc97113d2c3065 (patch) | |
tree | e5f291f88911eeb519cd50553cf8f25ddbdea594 /profiles/default-linux | |
parent | New version (diff) | |
download | gentoo-2-e44f17dc19c144a67aa15cc94bdc97113d2c3065.tar.gz gentoo-2-e44f17dc19c144a67aa15cc94bdc97113d2c3065.tar.bz2 gentoo-2-e44f17dc19c144a67aa15cc94bdc97113d2c3065.zip |
add multilib support profile
Diffstat (limited to 'profiles/default-linux')
6 files changed, 82 insertions, 0 deletions
diff --git a/profiles/default-linux/ppc64/dev/multilib/README b/profiles/default-linux/ppc64/dev/multilib/README new file mode 100644 index 000000000000..8dc76f0df34c --- /dev/null +++ b/profiles/default-linux/ppc64/dev/multilib/README @@ -0,0 +1,4 @@ +Please see the following URL, if you want to use this profile. +The information which helps you is included in it. + +http://dev.gentoo.org/~nigoro/ppc64/multilib/ diff --git a/profiles/default-linux/ppc64/dev/multilib/make.defaults b/profiles/default-linux/ppc64/dev/multilib/make.defaults new file mode 100644 index 000000000000..7856c00b8272 --- /dev/null +++ b/profiles/default-linux/ppc64/dev/multilib/make.defaults @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/ppc64/dev/multilib/make.defaults,v 1.1 2005/06/26 15:47:07 nigoro Exp $ + +ARCH="ppc64" +ACCEPT_KEYWORDS="ppc64" + +CHOST="powerpc64-unknown-linux-gnu" + +CFLAGS="-O2" +CXXFLAGS=${CFLAGS} + +ACCEPT_KEYWORDS="ppc64" + +STAGE1_USE="unicode" +GRP_STAGE23_USE="unicode ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses" + +USE="unicode pam berkdb bitmap-fonts gif jpeg nls ncurses perl png python readline ssl tcpd truetype truetype-fonts type1-fonts zlib" + +# 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. +# For future reference, Please delete '-strict' at the time of a release. +FEATURES="autoconfig sandbox sfperms -multilib-pkg -strict" + +MULTILIB_ABIS="ppc ppc64" +DEFAULT_ABI="ppc64" + +CFLAGS_ppc64="-m64" +LDFLAGS_ppc64="-m elf64-powerpc" +CHOST_ppc64="powerpc64-unknown-linux-gnu" +CDEFINE_ppc64="__powerpc64__" +LIBDIR_ppc64="lib64" + +CFLAGS_ppc="-m32" +LDFLAGS_ppc="-m elf32-powerpc" +CHOST_ppc="powerpc-unknown-linux-gnu" +CDEFINE_ppc="!__powerpc64__" +LIBDIR_ppc="lib32" + +# 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.*shared object" +MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3)" + +# Hack to tell baselayout to use symlinks for /lib, /usr/lib, and /usr/local/lib +SYMLINK_LIB="yes" diff --git a/profiles/default-linux/ppc64/dev/multilib/packages b/profiles/default-linux/ppc64/dev/multilib/packages new file mode 100644 index 000000000000..9bae2598b38f --- /dev/null +++ b/profiles/default-linux/ppc64/dev/multilib/packages @@ -0,0 +1,11 @@ +# Copyright 2003-2005 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/ppc64/dev/multilib/packages,v 1.1 2005/06/26 15:47:07 nigoro Exp $ + +*>=sys-devel/binutils-2.15.90.0.3-r4 +*>=sys-devel/gcc-3.4.4 +*sys-libs/libstdc++-v3 +*>=sys-libs/glibc-2.3.4.20041102-r1 +*>=sys-kernel/linux-headers-2.6.11 +*sys-fs/mac-fdisk +*sys-fs/hfsutils diff --git a/profiles/default-linux/ppc64/dev/multilib/parent b/profiles/default-linux/ppc64/dev/multilib/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/default-linux/ppc64/dev/multilib/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/default-linux/ppc64/dev/multilib/profile.bashrc b/profiles/default-linux/ppc64/dev/multilib/profile.bashrc new file mode 100644 index 000000000000..b1a6a308c4a7 --- /dev/null +++ b/profiles/default-linux/ppc64/dev/multilib/profile.bashrc @@ -0,0 +1,15 @@ +# 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="ppc64" +fi + +export CFLAGS_ppc64 +export CFLAGS_ppc + diff --git a/profiles/default-linux/ppc64/dev/multilib/use.mask b/profiles/default-linux/ppc64/dev/multilib/use.mask new file mode 100644 index 000000000000..c5183b11ee39 --- /dev/null +++ b/profiles/default-linux/ppc64/dev/multilib/use.mask @@ -0,0 +1,4 @@ +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/ppc64/dev/multilib/use.mask,v 1.1 2005/06/26 15:47:07 nigoro Exp $ + +multilib + |