From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3D428198005 for ; Wed, 6 Mar 2013 14:26:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CD4EE0BF9; Wed, 6 Mar 2013 14:25:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37A1EE0BF2 for ; Wed, 6 Mar 2013 14:25:42 +0000 (UTC) Received: from pomiocik.lan (77-255-31-156.adsl.inetia.pl [77.255.31.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 5D11733DE91; Wed, 6 Mar 2013 14:25:40 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 3/3] multilib-build: introduce multilib_copy_sources. Date: Wed, 6 Mar 2013 15:25:55 +0100 Message-Id: <1362579955-31813-3-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1362579955-31813-1-git-send-email-mgorny@gentoo.org> References: <1362579955-31813-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: a04b4ebb-b974-4621-8565-d4b7e18ae07d X-Archives-Hash: c59793e8168130abbd2a78ceca702e30 --- gx86/eclass/multilib-build.eclass | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gx86/eclass/multilib-build.eclass b/gx86/eclass/multilib-build.eclass index c29b5df..66fb5a6 100644 --- a/gx86/eclass/multilib-build.eclass +++ b/gx86/eclass/multilib-build.eclass @@ -190,5 +190,19 @@ multilib_check_headers() { fi } +# @FUNCTION: multilib_copy_sources +# @DESCRIPTION: +# Create a single copy of the package sources for each enabled ABI. +# +# The sources are always copied from initial BUILD_DIR (or S if unset) +# to ABI-specific build directory matching BUILD_DIR used by +# multilib_foreach_abi(). +multilib_copy_sources() { + debug-print-function ${FUNCNAME} "${@}" + + local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) + multibuild_copy_sources +} + _MULTILIB_BUILD=1 fi -- 1.8.1.5