From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id ACAF6E006B3; Tue, 14 Aug 2018 11:35:15 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [198.47.23.248 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8FF0EE0049F for ; Tue, 14 Aug 2018 11:35:13 -0700 (PDT) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7EIZC6F023360 for ; Tue, 14 Aug 2018 13:35:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1534271712; bh=RggxdT3LthmbZpk+z21TdJHUSUFToRWj7YOPYiELGPk=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=bZjKh0HjqXy+qk7QidrYtY+Ll1sqRt4yEzgfG91GrL0a0lmCtth9Q39pYdvbCwAzj /UuFRLII34sUFIBnN1pbP9you6bki8vl3cO0zQGi/jHw+hnI4vrgQc5ulwObLD5BxP 0YP+1ZXQHG+ImftpAVG8L8q0I6G0nmla7lnXsDUg= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7EIZC9K016418 for ; Tue, 14 Aug 2018 13:35:12 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 14 Aug 2018 13:35:12 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 14 Aug 2018 13:35:12 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7EIZCft015004; Tue, 14 Aug 2018 13:35:12 -0500 Date: Tue, 14 Aug 2018 14:34:08 -0400 From: Denys Dmytriyenko To: Message-ID: <20180814183408.GD2547@beryl> References: <1534250826-34958-1-git-send-email-hzhang@ti.com> MIME-Version: 1.0 In-Reply-To: <1534250826-34958-1-git-send-email-hzhang@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: meta-ti@yoctoproject.org Subject: Re: [PATCH] recipes-ti: devtools: add GCC Linaro baremetal toolchain 2017.11 v7.2.1 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: Tue, 14 Aug 2018 18:35:15 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline What is the revision number of this patch? Please specify PATCH v# in the subject to ensure the correct one gets merged. Also, see below. On Tue, Aug 14, 2018 at 08:47:06AM -0400, hzhang@ti.com wrote: > From: Hao Zhang > > Signed-off-by: Hao Zhang > --- > .../gcc-linaro-baremetal-aarch64-native.bb | 24 ++++++++++++++++++++++ > recipes-ti/devtools/gcc-linaro-baremetal-native.bb | 24 ++++++++++++++++++++++ > recipes-ti/devtools/gcc-linaro.inc | 12 +++++++++++ > recipes-ti/includes/ti-paths.inc | 5 +++++ > 4 files changed, 65 insertions(+) > create mode 100644 recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb > create mode 100644 recipes-ti/devtools/gcc-linaro-baremetal-native.bb > create mode 100644 recipes-ti/devtools/gcc-linaro.inc > > diff --git a/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb b/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb > new file mode 100644 > index 0000000..5e3e3b6 > --- /dev/null > +++ b/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb > @@ -0,0 +1,24 @@ > +include recipes-ti/devtools/gcc-linaro.inc > + > +PACKAGE_DIR = "gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_aarch64-elf" > +S = "${WORKDIR}/${PACKAGE_DIR}" > + > +LIC_CHKSUM = "bc7fad4bba98e7a4cd5ab3042506493c" > + > +inherit native > +require recipes-ti/includes/ti-paths.inc > + > +SRC_URI = "https://releases.linaro.org/components/toolchain/binaries/7.2-${GCC_ARM_YEAR}/aarch64-elf/gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_aarch64-elf.tar.xz;name=gcc-linaro-aarch64" > + > +SRC_URI[gcc-linaro-aarch64.md5sum] = "4972f8943820bdd2f577f498de78964b" > +SRC_URI[gcc-linaro-aarch64.sha256sum] = "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4c8" > + > +do_install() { > + install -d ${D}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE} > + cp -r ${S}/. ${D}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE} > +} > + > +FILES_${PN} = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}/*" > + > +INSANE_SKIP_${PN} = "already-stripped" > + > diff --git a/recipes-ti/devtools/gcc-linaro-baremetal-native.bb b/recipes-ti/devtools/gcc-linaro-baremetal-native.bb > new file mode 100644 > index 0000000..07a6f49 > --- /dev/null > +++ b/recipes-ti/devtools/gcc-linaro-baremetal-native.bb > @@ -0,0 +1,24 @@ > +include recipes-ti/devtools/gcc-linaro.inc > + > +PACKAGE_DIR = "gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_arm-eabi" > +S = "${WORKDIR}/${PACKAGE_DIR}" > + > +LIC_CHKSUM = "bc7fad4bba98e7a4cd5ab3042506493c" > + > +inherit native > +require recipes-ti/includes/ti-paths.inc > + > +SRC_URI = "https://releases.linaro.org/components/toolchain/binaries/7.2-${GCC_ARM_YEAR}/arm-eabi/gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_arm-eabi.tar.xz;name=gcc-linaro" > + > +SRC_URI[gcc-linaro.md5sum] = "9a4a39cfc78c84375b1160aa93587aed" > +SRC_URI[gcc-linaro.sha256sum] = "45fc4f90af2e2e9c3197a275f6005ef5639f7a1889fa3eb24c3125ccd70fcd3d" > + > +do_install() { > + install -d ${D}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE} > + cp -r ${S}/. ${D}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE} > +} > + > +FILES_${PN} = "${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE}/*" > + > +INSANE_SKIP_${PN} = "already-stripped" > + > diff --git a/recipes-ti/devtools/gcc-linaro.inc b/recipes-ti/devtools/gcc-linaro.inc > new file mode 100644 > index 0000000..6575fc5 > --- /dev/null > +++ b/recipes-ti/devtools/gcc-linaro.inc > @@ -0,0 +1,12 @@ > +DESCRIPTION = "Linaro GCC for ARM" > +HOMEPAGE = "https://launchpad.net/gcc-arm-embedded" > +SECTION = "devel" > +LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" > +LIC_FILES_CHKSUM = "file://share/doc/gcc/GNU-Free-Documentation-License.html;md5=${LIC_CHKSUM}" > + > +PV = "7.2.1" > +PR = "r0" > + > +GCC_ARM_YEAR = "2017.11" > + > + > diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc > index 4f99d5e..ddfb8aa 100644 > --- a/recipes-ti/includes/ti-paths.inc > +++ b/recipes-ti/includes/ti-paths.inc > @@ -56,6 +56,8 @@ export CG_XML_INSTALL_DIR_RECIPE = "${installdir}/ti-cg-xml-tree" > export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree" > export MPM_INSTALL_DIR_RECIPE = "${installdir}/ti-mpm-tree" > export TI_CGT6X_7_INSTALL_DIR_RECIPE = "${installdir}/cgt6x-7" > +export GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE = "${installdir}/gcc-linaro-baremetal" > +export GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE = "${installdir}/gcc-linaro-baremetal-aarch64" > > # This is where the tools will end up in sysroot > export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}" > @@ -103,6 +105,9 @@ export CG_XML_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIP > export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}" > export MPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}" > export TI_CGT6X_7_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT6X_7_INSTALL_DIR_RECIPE}" > +export GCC_LINARO_BAREMETAL_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE }" Extra white space at the end of the variable name ^^^^^^^^^^^^^^^^^^^^^^ > +export GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}" > + > > DSPSUFFIX_omapl137 = "x674" > DSPSUFFIX_omapl138 = "x674" > -- > 2.7.4 > > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti