| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 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/multilib.eclass,v 1.59 2007/03/27 01:34:31 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.60 2007/03/27 01:46:50 vapier Exp $ |
| 4 | # |
4 | # |
| 5 | # Maintainer: amd64@gentoo.org / toolchain@gentoo.org |
5 | # Maintainer: amd64@gentoo.org / toolchain@gentoo.org |
| 6 | # |
6 | # |
| 7 | # This eclass is for all functions pertaining to handling multilib. |
7 | # This eclass is for all functions pertaining to handling multilib. |
| 8 | # configurations. |
8 | # configurations. |
| 9 | |
9 | |
|
|
10 | ___ECLASS_RECUR_MULTILIB="yes" |
|
|
11 | [[ -z ${___ECLASS_RECUR_TOOLCHAIN_FUNCS} ]] && inherit toolchain-funcs |
|
|
12 | |
| 10 | DESCRIPTION="Based on the ${ECLASS} eclass" |
13 | DESCRIPTION="Based on the ${ECLASS} eclass" |
| 11 | |
|
|
| 12 | #inherit toolchain-funcs # cant do this because it includes us |
|
|
| 13 | |
14 | |
| 14 | # has_multilib_profile: |
15 | # has_multilib_profile: |
| 15 | # Return true if the current profile is a multilib profile and lists more than |
16 | # Return true if the current profile is a multilib profile and lists more than |
| 16 | # one abi in ${MULTILIB_ABIS}. You might want to use this like |
17 | # one abi in ${MULTILIB_ABIS}. You might want to use this like |
| 17 | # 'use multilib || has_multilib_profile' until all profiles utilizing the |
18 | # 'use multilib || has_multilib_profile' until all profiles utilizing the |