From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4E1C3E00B30; Fri, 23 Oct 2015 12:34:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.94.94.41 listed in list.dnswl.org] Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EE237E00B23 for ; Fri, 23 Oct 2015 12:34:20 -0700 (PDT) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9NJYJqE030897 for ; Fri, 23 Oct 2015 14:34:19 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9NJYJko012293 for ; Fri, 23 Oct 2015 14:34:19 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Fri, 23 Oct 2015 14:34:19 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9NJYIgM021491; Fri, 23 Oct 2015 14:34:19 -0500 Date: Fri, 23 Oct 2015 15:34:03 -0400 From: Denys Dmytriyenko To: Jacob Stiffler Message-ID: <20151023193403.GK8780@edge> References: <1445604812-27932-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 In-Reply-To: <1445604812-27932-1-git-send-email-j-stiffler@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-ti@yoctoproject.org Subject: Re: [PATCH] gcc-arm-none-eabi-native: Add GCC baremetal toolchain X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2015 19:34:23 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Fri, Oct 23, 2015 at 08:53:32AM -0400, Jacob Stiffler wrote: > Signed-off-by: Jacob Stiffler > --- > .../gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb | 21 +++++++++++++++++++++ > recipes-ti/includes/ti-paths.inc | 2 ++ > 2 files changed, 23 insertions(+) > create mode 100644 recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb I wouldn't place it into recipes-devtools/gcc, since the way this recipe works and the way the toolchain itself is consumed, is very TI specific. How about recipe-ti instead? > diff --git a/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb b/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb > new file mode 100644 > index 0000000..971ae48 > --- /dev/null > +++ b/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb > @@ -0,0 +1,21 @@ > +DESCRIPTION = "Baremetal GCC for ARM" > +LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" > + > +LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=cba77c7fde3ed13e866b04a2f3d93918" > + > +inherit native > +require recipes-ti/includes/ti-paths.inc > + > +SRC_URI = "https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q3-update/+download/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2;name=gcc-arm-none" > + > +SRC_URI[gcc-arm-none.md5sum] = "acc8c8ff45f8801e2155934214309a87" > +SRC_URI[gcc-arm-none.sha256sum] = "e33d7546de1e02844239c72b3ef5563f472fcd6b4637419d513770ae13f551c0" > + > +S = "${WORKDIR}/gcc-arm-none-eabi-4_8-2014q3" > + > +do_install() { > + install -d ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE} > + cp -r ${S}/. ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE} > +} > + > +FILES_${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*" > diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc > index d4bbe9e..8880591 100644 > --- a/recipes-ti/includes/ti-paths.inc > +++ b/recipes-ti/includes/ti-paths.inc > @@ -47,6 +47,7 @@ export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree" > export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" > export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm" > export CCSV6_INSTALL_DIR_RECIPE = "${installdir}/ccsv6" > +export GCC_ARM_NONE_TOOLCHAIN_RECIPE = "${installdir}/gcc-arm-none-eabi" > > # This is where the tools will end up in sysroot > export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}" > @@ -84,6 +85,7 @@ export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}" > export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}" > export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}" > export CCSV6_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CCSV6_INSTALL_DIR_RECIPE}" > +export GCC_ARM_NONE_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}" > > DSPSUFFIX_omapl137 = "x674" > DSPSUFFIX_omapl138 = "x674" > -- > 1.9.1 > > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti