From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14] helo=tx2outboundpool.messaging.microsoft.com) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1THPei-0004sH-MV for openembedded-core@lists.openembedded.org; Fri, 28 Sep 2012 03:46:17 +0200 Received: from mail13-tx2-R.bigfish.com (10.9.14.240) by TX2EHSOBE009.bigfish.com (10.9.40.29) with Microsoft SMTP Server id 14.1.225.23; Fri, 28 Sep 2012 01:33:23 +0000 Received: from mail13-tx2 (localhost [127.0.0.1]) by mail13-tx2-R.bigfish.com (Postfix) with ESMTP id A922B200120 for ; Fri, 28 Sep 2012 01:33:23 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(zzzz1202h1d1ah1d2ah1082kzz8275bhz2dh2a8h668h839hd24he5bhf0ah107ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1155h) Received: from mail13-tx2 (localhost.localdomain [127.0.0.1]) by mail13-tx2 (MessageSwitch) id 1348796002131344_25099; Fri, 28 Sep 2012 01:33:22 +0000 (UTC) Received: from TX2EHSMHS001.bigfish.com (unknown [10.9.14.251]) by mail13-tx2.bigfish.com (Postfix) with ESMTP id 1BC3C240061 for ; Fri, 28 Sep 2012 01:33:22 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS001.bigfish.com (10.9.99.101) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 28 Sep 2012 01:33:21 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.309.3; Thu, 27 Sep 2012 20:33:21 -0500 Received: from right.am.freescale.net (right.am.freescale.net [10.82.176.228]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id q8S1XJaQ007331 for ; Thu, 27 Sep 2012 18:33:20 -0700 From: Matthew McClintock To: Date: Thu, 27 Sep 2012 20:33:13 -0500 Message-ID: <1348795994-21695-9-git-send-email-msm@freescale.com> X-Mailer: git-send-email 1.7.9.7 In-Reply-To: <1348795994-21695-1-git-send-email-msm@freescale.com> References: <1348795994-21695-1-git-send-email-msm@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [PATCH v2 09/10] binutils.inc: add vardep on multiarch DISTRO_FEATURE X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 01:46:17 -0000 Content-Type: text/plain binutils will build differently if this feature is enabled, so make the do_configure step depend on it Signed-off-by: Matthew McClintock --- Not sure if we should try to fix via configure options v2: update commit message a bit meta/recipes-devtools/binutils/binutils.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index ee748a4..ff64882 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc @@ -80,6 +80,8 @@ export CC_FOR_BUILD = "LD_LIBRARY_PATH= ${BUILD_CC}" export CPP_FOR_BUILD = "${BUILD_CPP}" export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" +MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}" +do_configure[vardeps] += "MULTIARCH" do_configure () { (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" oe_runconf -- 1.7.9.7