| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 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.11 2005/01/17 04:14:56 eradicator Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.12 2005/01/17 04:17:53 eradicator Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Jeremy Huddleston <eradicator@gentoo.org> |
5 | # Author: Jeremy Huddleston <eradicator@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. |
| … | |
… | |
| 246 | if is_final_abi; then |
246 | if is_final_abi; then |
| 247 | base=${T}/gentoo-multilib |
247 | base=${T}/gentoo-multilib |
| 248 | pushd ${base} |
248 | pushd ${base} |
| 249 | find . | cpio -pmd --no-preserve-owner ${D} |
249 | find . | cpio -pmd --no-preserve-owner ${D} |
| 250 | popd |
250 | popd |
|
|
251 | local args |
|
|
252 | for abi in $(get_abi_order); do |
|
|
253 | args="${args} $(get_abi_CDEFINE ${abi}):${dir}/gentoo-multilib/${abi}" |
|
|
254 | done |
|
|
255 | create_ml_includes ${args} |
|
|
256 | |
| 251 | fi |
257 | fi |
| 252 | fi |
258 | fi |
| 253 | } |
259 | } |
| 254 | |
260 | |
| 255 | # If you need more control than prep_ml_includes can offer (like linux-headers |
261 | # If you need more control than prep_ml_includes can offer (like linux-headers |