/[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.39 Revision 1.40
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.39 2005/07/06 20:23:20 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.40 2005/07/11 15:08:06 swegener Exp $
4# 4#
5# Author: Toolchain Ninjas <ninjas@gentoo.org> 5# Author: Toolchain Ninjas <ninjas@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...)
9 9
10inherit multilib 10inherit multilib
11 11
12 12
85 fi 85 fi
86 return 1 86 return 1
87} 87}
88 88
89 89
90# Parse information from CBUILD/CHOST/CTARGET rather than 90# Parse information from CBUILD/CHOST/CTARGET rather than
91# use external variables from the profile. 91# use external variables from the profile.
92tc-ninja_magic_to_arch() { 92tc-ninja_magic_to_arch() {
93ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; } 93ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; }
94 94
95 local type=$1 95 local type=$1

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

  ViewVC Help
Powered by ViewVC 1.1.20