summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 03:37:36 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 03:37:36 +0000
commitc71b6586a1a9ea5e528139e5b7935c1842c70d29 (patch)
treedfbcec5f1ac81896283d1692567377d74cc8b28d /eclass
parentEbuild cleanups (diff)
downloadgentoo-2-c71b6586a1a9ea5e528139e5b7935c1842c70d29.tar.gz
gentoo-2-c71b6586a1a9ea5e528139e5b7935c1842c70d29.tar.bz2
gentoo-2-c71b6586a1a9ea5e528139e5b7935c1842c70d29.zip
remove sep case for powerpc64 hosts and fixup the unified code
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 7591b4cea4d6..1cb74da473bc 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.49 2006/01/04 04:59:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.50 2006/01/08 03:37:36 vapier Exp $
#
# Author: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -102,11 +102,10 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; }
ia64*) echo ia64;;
m68*) echo m68k;;
mips*) echo mips;;
- powerpc64*) echo ppc64;;
powerpc*)
# Starting with linux-2.6.15, the 'ppc' and 'ppc64' trees
# have been unified into simply 'powerpc'
- if [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.15) ]] ; then
+ if [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.15) ]] && [[ ${type} == "kern" ]] ; then
echo powerpc
elif [[ ${host} == powerpc64* ]] ; then
echo ppc64