/[gentoo-x86]/eclass/toolchain-funcs.eclass
Gentoo

Diff of /eclass/toolchain-funcs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.50 Revision 1.51
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.50 2006/01/08 03:37:36 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.51 2006/01/09 04:35:14 dostrow Exp $
4# 4#
5# Author: Toolchain Ninjas <toolchain@gentoo.org> 5# Author: Toolchain Ninjas <toolchain@gentoo.org>
6# 6#
7# This eclass contains (or should) functions to get common info 7# This eclass contains (or should) functions to get common info
8# about the toolchain (libc/compiler/binutils/etc...) 8# about the toolchain (libc/compiler/binutils/etc...)
107 # have been unified into simply 'powerpc' 107 # have been unified into simply 'powerpc'
108 if [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.15) ]] && [[ ${type} == "kern" ]] ; then 108 if [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.15) ]] && [[ ${type} == "kern" ]] ; then
109 echo powerpc 109 echo powerpc
110 elif [[ ${host} == powerpc64* ]] ; then 110 elif [[ ${host} == powerpc64* ]] ; then
111 echo ppc64 111 echo ppc64
112 elif [[ ${PROFILE_ARCH} == "ppc64" ]] ; then
113 ninj ppc64 ppc
112 else 114 else
113 echo ppc 115 echo ppc
114 fi 116 fi
115 ;; 117 ;;
116 s390*) echo s390;; 118 s390*) echo s390;;

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

  ViewVC Help
Powered by ViewVC 1.1.20