diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-01-17 04:20:55 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-01-17 04:20:55 +0000 |
commit | 19d1f5c9efd1a517c02b2b41dbd5a2683c0a227b (patch) | |
tree | e22e9de671b1fa277da1e919d87757ffb67aeb55 /eclass | |
parent | Stable on x86. (diff) | |
download | gentoo-2-19d1f5c9efd1a517c02b2b41dbd5a2683c0a227b.tar.gz gentoo-2-19d1f5c9efd1a517c02b2b41dbd5a2683c0a227b.tar.bz2 gentoo-2-19d1f5c9efd1a517c02b2b41dbd5a2683c0a227b.zip |
Add support for prep_ml_includes to take multiple dirs.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/multilib.eclass | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index e33ac40e361e..329f9b60e545 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.12 2005/01/17 04:17:53 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.13 2005/01/17 04:20:55 eradicator Exp $ # # Author: Jeremy Huddleston <eradicator@gentoo.org> # @@ -248,12 +248,15 @@ prep_ml_includes() { pushd ${base} find . | cpio -pmd --no-preserve-owner ${D} popd - local args - for abi in $(get_abi_order); do - args="${args} $(get_abi_CDEFINE ${abi}):${dir}/gentoo-multilib/${abi}" - done - create_ml_includes ${args} + for dir in ${dirs}; do + local args=${dir} + local abi + for abi in $(get_abi_order); do + args="${args} $(get_abi_CDEFINE ${abi}):${dir}/gentoo-multilib/${abi}" + done + create_ml_includes ${args} + done fi fi } |