| 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.36 2005/05/02 22:42:59 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.37 2005/07/01 22:31:40 dostrow 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...) |
| … | |
… | |
| 105 | hppa*) ninj parisc hppa;; |
105 | hppa*) ninj parisc hppa;; |
| 106 | ia64*) echo ia64;; |
106 | ia64*) echo ia64;; |
| 107 | m68*) echo m68k;; |
107 | m68*) echo m68k;; |
| 108 | mips*) echo mips;; |
108 | mips*) echo mips;; |
| 109 | powerpc64*) echo ppc64;; |
109 | powerpc64*) echo ppc64;; |
| 110 | powerpc*) echo ppc;; |
110 | powerpc*) [[ ${PROFILE_ARCH} == "ppc64" ]] \ |
|
|
111 | && ninj ppc64 ppc \ |
|
|
112 | || echo ppc |
|
|
113 | ;; |
| 111 | sparc64*) ninj sparc64 sparc;; |
114 | sparc64*) ninj sparc64 sparc;; |
| 112 | sparc*) [[ ${PROFILE_ARCH} == "sparc64" ]] \ |
115 | sparc*) [[ ${PROFILE_ARCH} == "sparc64" ]] \ |
| 113 | && ninj sparc64 sparc \ |
116 | && ninj sparc64 sparc \ |
| 114 | || echo sparc |
117 | || echo sparc |
| 115 | ;; |
118 | ;; |