From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by arago-project.org (Postfix) with ESMTPS id 1A1F7529F1 for ; Tue, 21 Aug 2018 21:41:49 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7LLffHO074355 for ; Tue, 21 Aug 2018 16:41:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1534887701; bh=eB/tPbkshsTQtk48Mcm1x+ttsJmOf4Grw8NDkPOUR6A=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=EXF5TCewawNWIGS9wglx5CEx60U2CYOnLoLBl3Ko5FqPl2tqXz83SQR3xVoGorLAq Up3do/L7n4y1asnaHt6XOuKAuX4Kg7WYCAhhzZ6rf76yXP7S5WmbhibzeIIiKZ0LVs EC0eCO2xVlM0oM/K0jmciON1Jvib4alUDYqKQBNc= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7LLff58008888 for ; Tue, 21 Aug 2018 16:41:41 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 21 Aug 2018 16:41:41 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 21 Aug 2018 16:41:41 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7LLff1d016952; Tue, 21 Aug 2018 16:41:41 -0500 Date: Tue, 21 Aug 2018 17:40:44 -0400 From: Denys Dmytriyenko To: Jacob Stiffler Message-ID: <20180821214044.GW29422@beryl> References: <1534878837-20469-1-git-send-email-j-stiffler@ti.com> <1534878837-20469-3-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 In-Reply-To: <1534878837-20469-3-git-send-email-j-stiffler@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: meta-arago@arago-project.org Subject: Re: [PATCH 2/3] packagegroup-arago-cross-canadian: add SECONDARY_TOOLCHAIN X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2018 21:41:49 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Tue, Aug 21, 2018 at 03:13:56PM -0400, Jacob Stiffler wrote: > * Add the secondary toolchain to the devkit > if SECONDARY_TOOLCHAIN_ARCH is defined. > > Signed-off-by: Jacob Stiffler > --- > .../packagegroups/packagegroup-arago-cross-canadian.bbappend | 8 ++++++++ > 1 file changed, 8 insertions(+) > create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend > > diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend > new file mode 100644 > index 0000000..f02dfd9 > --- /dev/null > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend > @@ -0,0 +1,8 @@ > +PR_append = ".arago0" > + > +SECONDARY_TOOLCHAIN = "gcc-cross-canadian-${SECONDARY_TARGET_ARCH} \ > + binutils-cross-canadian-${SECONDARY_TARGET_ARCH}" Since this is a bbappend, it will come into play for internal toolchain as well, but in that case SECONDARY_TARGET_ARCH won't be set. You might want to do something like this: http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-distro/recipes-devtools/gcc/gcc_%25.bbappend;hb=HEAD > +RDEPENDS_${PN}_append = " \ > + ${@base_conditional('SECONDARY_TARGET_ARCH', '', '', '${SECONDARY_TOOLCHAIN}', d)} \ > +" > -- > 2.7.4 > > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago