All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1
@ 2018-08-10 14:23 hzhang
  2018-08-11  2:47 ` [EXTERNAL] " Nelson, Sam
  0 siblings, 1 reply; 7+ messages in thread
From: hzhang @ 2018-08-10 14:23 UTC (permalink / raw)
  To: meta-ti

From: Hao Zhang <hzhang@ti.com>

Signed-off-by: Hao Zhang <hzhang@ti.com>
---
 recipes-ti/devtools/gcc-linaro-aarch64-native.bb | 24 ++++++++++++++++++++++++
 recipes-ti/devtools/gcc-linaro-native.bb         | 24 ++++++++++++++++++++++++
 recipes-ti/devtools/gcc-linaro.inc               | 12 ++++++++++++
 recipes-ti/includes/ti-paths.inc                 |  2 ++
 4 files changed, 62 insertions(+)
 create mode 100644 recipes-ti/devtools/gcc-linaro-aarch64-native.bb
 create mode 100644 recipes-ti/devtools/gcc-linaro-native.bb
 create mode 100644 recipes-ti/devtools/gcc-linaro.inc

diff --git a/recipes-ti/devtools/gcc-linaro-aarch64-native.bb b/recipes-ti/devtools/gcc-linaro-aarch64-native.bb
new file mode 100644
index 0000000..6c0482d
--- /dev/null
+++ b/recipes-ti/devtools/gcc-linaro-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_AARCH64_TOOLCHAIN_RECIPE}
+    cp -r ${S}/. ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
+}
+
+FILES_${PN} = "${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}/*"
+
+INSANE_SKIP_${PN} = "already-stripped"
+
diff --git a/recipes-ti/devtools/gcc-linaro-native.bb b/recipes-ti/devtools/gcc-linaro-native.bb
new file mode 100644
index 0000000..767c0c0
--- /dev/null
+++ b/recipes-ti/devtools/gcc-linaro-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_TOOLCHAIN_RECIPE}
+    cp -r ${S}/. ${D}${GCC_LINARO_TOOLCHAIN_RECIPE}
+}
+
+FILES_${PN} = "${GCC_LINARO_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..ef2feae 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_TOOLCHAIN_RECIPE          = "${installdir}/gcc-linaro"
+export GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE  = "${installdir}/gcc-linaro-aarch64"
 
 # This is where the tools will end up in sysroot
 export BIOS_INSTALL_DIR       = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1
  2018-08-10 14:23 [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1 hzhang
@ 2018-08-11  2:47 ` Nelson, Sam
  2018-08-11  4:13   ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Nelson, Sam @ 2018-08-11  2:47 UTC (permalink / raw)
  To: Zhang, Hao, meta-ti



> -----Original Message-----
> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> bounces@yoctoproject.org] On Behalf Of Zhang, Hao
> Sent: Friday, August 10, 2018 10:24 AM
> To: meta-ti@yoctoproject.org
> Subject: [EXTERNAL] [meta-ti] [PATCH] recipes-ti: devtools: add GCC Linaro
> toolchain 2017.11 v7.2.1
> 
> From: Hao Zhang <hzhang@ti.com>
> 
> Signed-off-by: Hao Zhang <hzhang@ti.com>
> ---
>  recipes-ti/devtools/gcc-linaro-aarch64-native.bb | 24
> ++++++++++++++++++++++++
>  recipes-ti/devtools/gcc-linaro-native.bb         | 24
> ++++++++++++++++++++++++
>  recipes-ti/devtools/gcc-linaro.inc               | 12 ++++++++++++
>  recipes-ti/includes/ti-paths.inc                 |  2 ++
>  4 files changed, 62 insertions(+)
>  create mode 100644 recipes-ti/devtools/gcc-linaro-aarch64-native.bb
>  create mode 100644 recipes-ti/devtools/gcc-linaro-native.bb
>  create mode 100644 recipes-ti/devtools/gcc-linaro.inc
> 
> diff --git a/recipes-ti/devtools/gcc-linaro-aarch64-native.bb b/recipes-
> ti/devtools/gcc-linaro-aarch64-native.bb
> new file mode 100644
> index 0000000..6c0482d
> --- /dev/null
> +++ b/recipes-ti/devtools/gcc-linaro-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] =
> "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4
> c8"
> +
> +do_install() {
> +    install -d ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> +    cp -r ${S}/. ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> +}
> +
> +FILES_${PN} = "${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}/*"
> +
> +INSANE_SKIP_${PN} = "already-stripped"
> +
> diff --git a/recipes-ti/devtools/gcc-linaro-native.bb b/recipes-ti/devtools/gcc-
> linaro-native.bb
> new file mode 100644
> index 0000000..767c0c0
> --- /dev/null
> +++ b/recipes-ti/devtools/gcc-linaro-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_TOOLCHAIN_RECIPE}
> +    cp -r ${S}/. ${D}${GCC_LINARO_TOOLCHAIN_RECIPE}
> +}
> +
> +FILES_${PN} = "${GCC_LINARO_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..ef2feae 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_TOOLCHAIN_RECIPE          = "${installdir}/gcc-linaro"
> +export GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE  = "${installdir}/gcc-
> linaro-aarch64"
> 

Also need to add the following for completeness: 
export GCC_LINARO_TOOLCHAIN        = "${STAGING_DIR_NATIVE}${GCC_LINARO_TOOLCHAIN_RECIPE}"
export GCC_LINARO_AARCH64_TOOLCHAIN        = "${STAGING_DIR_NATIVE}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}"

>  # This is where the tools will end up in sysroot
>  export BIOS_INSTALL_DIR       =
> "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
> --
> 2.7.4
> 
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1
  2018-08-11  2:47 ` [EXTERNAL] " Nelson, Sam
@ 2018-08-11  4:13   ` Denys Dmytriyenko
  2018-08-12 13:02     ` Nelson, Sam
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-08-11  4:13 UTC (permalink / raw)
  To: Nelson, Sam; +Cc: meta-ti

On Sat, Aug 11, 2018 at 02:47:10AM +0000, Nelson, Sam wrote:
> 
> 
> > -----Original Message-----
> > From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> > bounces@yoctoproject.org] On Behalf Of Zhang, Hao
> > Sent: Friday, August 10, 2018 10:24 AM
> > To: meta-ti@yoctoproject.org
> > Subject: [EXTERNAL] [meta-ti] [PATCH] recipes-ti: devtools: add GCC Linaro
> > toolchain 2017.11 v7.2.1
> > 
> > From: Hao Zhang <hzhang@ti.com>
> > 
> > Signed-off-by: Hao Zhang <hzhang@ti.com>
> > ---
> >  recipes-ti/devtools/gcc-linaro-aarch64-native.bb | 24
> > ++++++++++++++++++++++++
> >  recipes-ti/devtools/gcc-linaro-native.bb         | 24
> > ++++++++++++++++++++++++
> >  recipes-ti/devtools/gcc-linaro.inc               | 12 ++++++++++++
> >  recipes-ti/includes/ti-paths.inc                 |  2 ++
> >  4 files changed, 62 insertions(+)
> >  create mode 100644 recipes-ti/devtools/gcc-linaro-aarch64-native.bb
> >  create mode 100644 recipes-ti/devtools/gcc-linaro-native.bb
> >  create mode 100644 recipes-ti/devtools/gcc-linaro.inc
> > 
> > diff --git a/recipes-ti/devtools/gcc-linaro-aarch64-native.bb b/recipes-
> > ti/devtools/gcc-linaro-aarch64-native.bb
> > new file mode 100644
> > index 0000000..6c0482d
> > --- /dev/null
> > +++ b/recipes-ti/devtools/gcc-linaro-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] =
> > "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4
> > c8"
> > +
> > +do_install() {
> > +    install -d ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> > +    cp -r ${S}/. ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> > +}
> > +
> > +FILES_${PN} = "${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}/*"
> > +
> > +INSANE_SKIP_${PN} = "already-stripped"
> > +
> > diff --git a/recipes-ti/devtools/gcc-linaro-native.bb b/recipes-ti/devtools/gcc-
> > linaro-native.bb
> > new file mode 100644
> > index 0000000..767c0c0
> > --- /dev/null
> > +++ b/recipes-ti/devtools/gcc-linaro-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_TOOLCHAIN_RECIPE}
> > +    cp -r ${S}/. ${D}${GCC_LINARO_TOOLCHAIN_RECIPE}
> > +}
> > +
> > +FILES_${PN} = "${GCC_LINARO_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..ef2feae 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_TOOLCHAIN_RECIPE          = "${installdir}/gcc-linaro"
> > +export GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE  = "${installdir}/gcc-linaro-aarch64"

NAK

> Also need to add the following for completeness: 
> export GCC_LINARO_TOOLCHAIN        = "${STAGING_DIR_NATIVE}${GCC_LINARO_TOOLCHAIN_RECIPE}"
> export GCC_LINARO_AARCH64_TOOLCHAIN        = "${STAGING_DIR_NATIVE}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}"

NAK 

"GCC Linaro" name is confusing in this context.


> >  # This is where the tools will end up in sysroot
> >  export BIOS_INSTALL_DIR       =
> > "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
> > --
> > 2.7.4
> > 
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1
  2018-08-11  4:13   ` Denys Dmytriyenko
@ 2018-08-12 13:02     ` Nelson, Sam
  2018-08-13 14:05       ` Zhang, Hao
  2018-08-13 18:31       ` Denys Dmytriyenko
  0 siblings, 2 replies; 7+ messages in thread
From: Nelson, Sam @ 2018-08-12 13:02 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-ti



> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Saturday, August 11, 2018 12:14 AM
> To: Nelson, Sam
> Cc: Zhang, Hao; meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC
> Linaro toolchain 2017.11 v7.2.1
> 
> On Sat, Aug 11, 2018 at 02:47:10AM +0000, Nelson, Sam wrote:
> >
> >
> > > -----Original Message-----
> > > From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> > > bounces@yoctoproject.org] On Behalf Of Zhang, Hao
> > > Sent: Friday, August 10, 2018 10:24 AM
> > > To: meta-ti@yoctoproject.org
> > > Subject: [EXTERNAL] [meta-ti] [PATCH] recipes-ti: devtools: add GCC
> Linaro
> > > toolchain 2017.11 v7.2.1
> > >
> > > From: Hao Zhang <hzhang@ti.com>
> > >
> > > Signed-off-by: Hao Zhang <hzhang@ti.com>
> > > ---
> > >  recipes-ti/devtools/gcc-linaro-aarch64-native.bb | 24
> > > ++++++++++++++++++++++++
> > >  recipes-ti/devtools/gcc-linaro-native.bb         | 24
> > > ++++++++++++++++++++++++
> > >  recipes-ti/devtools/gcc-linaro.inc               | 12 ++++++++++++
> > >  recipes-ti/includes/ti-paths.inc                 |  2 ++
> > >  4 files changed, 62 insertions(+)
> > >  create mode 100644 recipes-ti/devtools/gcc-linaro-aarch64-native.bb
> > >  create mode 100644 recipes-ti/devtools/gcc-linaro-native.bb
> > >  create mode 100644 recipes-ti/devtools/gcc-linaro.inc
> > >
> > > diff --git a/recipes-ti/devtools/gcc-linaro-aarch64-native.bb b/recipes-
> > > ti/devtools/gcc-linaro-aarch64-native.bb
> > > new file mode 100644
> > > index 0000000..6c0482d
> > > --- /dev/null
> > > +++ b/recipes-ti/devtools/gcc-linaro-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] =
> > >
> "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4
> > > c8"
> > > +
> > > +do_install() {
> > > +    install -d ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> > > +    cp -r ${S}/. ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> > > +}
> > > +
> > > +FILES_${PN} = "${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}/*"
> > > +
> > > +INSANE_SKIP_${PN} = "already-stripped"
> > > +
> > > diff --git a/recipes-ti/devtools/gcc-linaro-native.bb b/recipes-
> ti/devtools/gcc-
> > > linaro-native.bb
> > > new file mode 100644
> > > index 0000000..767c0c0
> > > --- /dev/null
> > > +++ b/recipes-ti/devtools/gcc-linaro-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_TOOLCHAIN_RECIPE}
> > > +    cp -r ${S}/. ${D}${GCC_LINARO_TOOLCHAIN_RECIPE}
> > > +}
> > > +
> > > +FILES_${PN} = "${GCC_LINARO_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..ef2feae 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_TOOLCHAIN_RECIPE          = "${installdir}/gcc-linaro"
> > > +export GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE  = "${installdir}/gcc-
> linaro-aarch64"
> 
> NAK
> 

> > Also need to add the following for completeness:
> > export GCC_LINARO_TOOLCHAIN        =
> "${STAGING_DIR_NATIVE}${GCC_LINARO_TOOLCHAIN_RECIPE}"
> > export GCC_LINARO_AARCH64_TOOLCHAIN        =
> "${STAGING_DIR_NATIVE}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}"
> 
> NAK
> 
> "GCC Linaro" name is confusing in this context.
> 

Given the compiler referred here is GCC Linaro. I am not sure whether we can avoid using GCC Linaro it.
Any alternate suggestions? Is GCC_ARM_LINARO_AARCH64_TOOLCHAIN_DIR acceptable?

> 
> > >  # This is where the tools will end up in sysroot
> > >  export BIOS_INSTALL_DIR       =
> > > "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
> > > --
> > > 2.7.4
> > >
> > > --
> > > _______________________________________________
> > > meta-ti mailing list
> > > meta-ti@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1
  2018-08-12 13:02     ` Nelson, Sam
@ 2018-08-13 14:05       ` Zhang, Hao
  2018-08-13 18:31       ` Denys Dmytriyenko
  1 sibling, 0 replies; 7+ messages in thread
From: Zhang, Hao @ 2018-08-13 14:05 UTC (permalink / raw)
  To: Nelson, Sam, Dmytriyenko, Denys; +Cc: meta-ti



-----Original Message-----
From: Nelson, Sam 
Sent: Sunday, August 12, 2018 9:02 AM
To: Dmytriyenko, Denys
Cc: Zhang, Hao; meta-ti@yoctoproject.org
Subject: RE: [meta-ti] [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1



> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Saturday, August 11, 2018 12:14 AM
> To: Nelson, Sam
> Cc: Zhang, Hao; meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC
> Linaro toolchain 2017.11 v7.2.1
> 
> On Sat, Aug 11, 2018 at 02:47:10AM +0000, Nelson, Sam wrote:
> >
> >
> > > -----Original Message-----
> > > From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> > > bounces@yoctoproject.org] On Behalf Of Zhang, Hao
> > > Sent: Friday, August 10, 2018 10:24 AM
> > > To: meta-ti@yoctoproject.org
> > > Subject: [EXTERNAL] [meta-ti] [PATCH] recipes-ti: devtools: add GCC
> Linaro
> > > toolchain 2017.11 v7.2.1
> > >
> > > From: Hao Zhang <hzhang@ti.com>
> > >
> > > Signed-off-by: Hao Zhang <hzhang@ti.com>
> > > ---
> > >  recipes-ti/devtools/gcc-linaro-aarch64-native.bb | 24
> > > ++++++++++++++++++++++++
> > >  recipes-ti/devtools/gcc-linaro-native.bb         | 24
> > > ++++++++++++++++++++++++
> > >  recipes-ti/devtools/gcc-linaro.inc               | 12 ++++++++++++
> > >  recipes-ti/includes/ti-paths.inc                 |  2 ++
> > >  4 files changed, 62 insertions(+)
> > >  create mode 100644 recipes-ti/devtools/gcc-linaro-aarch64-native.bb
> > >  create mode 100644 recipes-ti/devtools/gcc-linaro-native.bb
> > >  create mode 100644 recipes-ti/devtools/gcc-linaro.inc
> > >
> > > diff --git a/recipes-ti/devtools/gcc-linaro-aarch64-native.bb b/recipes-
> > > ti/devtools/gcc-linaro-aarch64-native.bb
> > > new file mode 100644
> > > index 0000000..6c0482d
> > > --- /dev/null
> > > +++ b/recipes-ti/devtools/gcc-linaro-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] =
> > >
> "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4
> > > c8"
> > > +
> > > +do_install() {
> > > +    install -d ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> > > +    cp -r ${S}/. ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> > > +}
> > > +
> > > +FILES_${PN} = "${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}/*"
> > > +
> > > +INSANE_SKIP_${PN} = "already-stripped"
> > > +
> > > diff --git a/recipes-ti/devtools/gcc-linaro-native.bb b/recipes-
> ti/devtools/gcc-
> > > linaro-native.bb
> > > new file mode 100644
> > > index 0000000..767c0c0
> > > --- /dev/null
> > > +++ b/recipes-ti/devtools/gcc-linaro-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_TOOLCHAIN_RECIPE}
> > > +    cp -r ${S}/. ${D}${GCC_LINARO_TOOLCHAIN_RECIPE}
> > > +}
> > > +
> > > +FILES_${PN} = "${GCC_LINARO_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..ef2feae 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_TOOLCHAIN_RECIPE          = "${installdir}/gcc-linaro"
> > > +export GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE  = "${installdir}/gcc-
> linaro-aarch64"
> 
> NAK
> 

> > Also need to add the following for completeness:
> > export GCC_LINARO_TOOLCHAIN        =
> "${STAGING_DIR_NATIVE}${GCC_LINARO_TOOLCHAIN_RECIPE}"
> > export GCC_LINARO_AARCH64_TOOLCHAIN        =
> "${STAGING_DIR_NATIVE}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}"
> 
> NAK
> 
> "GCC Linaro" name is confusing in this context.
> 

Given the compiler referred here is GCC Linaro. I am not sure whether we can avoid using GCC Linaro it.
Any alternate suggestions? Is GCC_ARM_LINARO_AARCH64_TOOLCHAIN_DIR acceptable?

[Hao] The linaro toolchain name listed on linaro.org is gcc linaro or linaro gcc (https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/aarch64-elf/), not sure why it is confusing?
> 
> > >  # This is where the tools will end up in sysroot
> > >  export BIOS_INSTALL_DIR       =
> > > "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
> > > --
> > > 2.7.4
> > >
> > > --
> > > _______________________________________________
> > > meta-ti mailing list
> > > meta-ti@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1
  2018-08-12 13:02     ` Nelson, Sam
  2018-08-13 14:05       ` Zhang, Hao
@ 2018-08-13 18:31       ` Denys Dmytriyenko
  1 sibling, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-08-13 18:31 UTC (permalink / raw)
  To: Nelson, Sam; +Cc: meta-ti

On Sun, Aug 12, 2018 at 09:02:12AM -0400, Nelson, Sam wrote:
> 
> 
> > -----Original Message-----
> > From: Dmytriyenko, Denys
> > Sent: Saturday, August 11, 2018 12:14 AM
> > To: Nelson, Sam
> > Cc: Zhang, Hao; meta-ti@yoctoproject.org
> > Subject: Re: [meta-ti] [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC
> > Linaro toolchain 2017.11 v7.2.1
> > 
> > On Sat, Aug 11, 2018 at 02:47:10AM +0000, Nelson, Sam wrote:
> > >
> > >
> > > > -----Original Message-----
> > > > From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> > > > bounces@yoctoproject.org] On Behalf Of Zhang, Hao
> > > > Sent: Friday, August 10, 2018 10:24 AM
> > > > To: meta-ti@yoctoproject.org
> > > > Subject: [EXTERNAL] [meta-ti] [PATCH] recipes-ti: devtools: add GCC
> > Linaro
> > > > toolchain 2017.11 v7.2.1
> > > >
> > > > From: Hao Zhang <hzhang@ti.com>
> > > >
> > > > Signed-off-by: Hao Zhang <hzhang@ti.com>
> > > > ---
> > > >  recipes-ti/devtools/gcc-linaro-aarch64-native.bb | 24
> > > > ++++++++++++++++++++++++
> > > >  recipes-ti/devtools/gcc-linaro-native.bb         | 24
> > > > ++++++++++++++++++++++++
> > > >  recipes-ti/devtools/gcc-linaro.inc               | 12 ++++++++++++
> > > >  recipes-ti/includes/ti-paths.inc                 |  2 ++
> > > >  4 files changed, 62 insertions(+)
> > > >  create mode 100644 recipes-ti/devtools/gcc-linaro-aarch64-native.bb
> > > >  create mode 100644 recipes-ti/devtools/gcc-linaro-native.bb
> > > >  create mode 100644 recipes-ti/devtools/gcc-linaro.inc
> > > >
> > > > diff --git a/recipes-ti/devtools/gcc-linaro-aarch64-native.bb b/recipes-
> > > > ti/devtools/gcc-linaro-aarch64-native.bb
> > > > new file mode 100644
> > > > index 0000000..6c0482d
> > > > --- /dev/null
> > > > +++ b/recipes-ti/devtools/gcc-linaro-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] =
> > > >
> > "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4
> > > > c8"
> > > > +
> > > > +do_install() {
> > > > +    install -d ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> > > > +    cp -r ${S}/. ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> > > > +}
> > > > +
> > > > +FILES_${PN} = "${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}/*"
> > > > +
> > > > +INSANE_SKIP_${PN} = "already-stripped"
> > > > +
> > > > diff --git a/recipes-ti/devtools/gcc-linaro-native.bb b/recipes-
> > ti/devtools/gcc-
> > > > linaro-native.bb
> > > > new file mode 100644
> > > > index 0000000..767c0c0
> > > > --- /dev/null
> > > > +++ b/recipes-ti/devtools/gcc-linaro-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_TOOLCHAIN_RECIPE}
> > > > +    cp -r ${S}/. ${D}${GCC_LINARO_TOOLCHAIN_RECIPE}
> > > > +}
> > > > +
> > > > +FILES_${PN} = "${GCC_LINARO_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..ef2feae 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_TOOLCHAIN_RECIPE          = "${installdir}/gcc-linaro"
> > > > +export GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE  = "${installdir}/gcc-
> > linaro-aarch64"
> > 
> > NAK
> > 
> 
> > > Also need to add the following for completeness:
> > > export GCC_LINARO_TOOLCHAIN        =
> > "${STAGING_DIR_NATIVE}${GCC_LINARO_TOOLCHAIN_RECIPE}"
> > > export GCC_LINARO_AARCH64_TOOLCHAIN        =
> > "${STAGING_DIR_NATIVE}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}"
> > 
> > NAK
> > 
> > "GCC Linaro" name is confusing in this context.
> > 
> 
> Given the compiler referred here is GCC Linaro. I am not sure whether we can avoid using GCC Linaro it.
> Any alternate suggestions? Is GCC_ARM_LINARO_AARCH64_TOOLCHAIN_DIR acceptable?

My point is that we've been using Linaro GCC toolchain successfully to compile 
everything in our Linux SDKs for years - this addition has nothing to do with 
that and hence, confusing.

What you are adding here is "bare-metal" toolchain for RTOS, so please name it 
respectively, so it won't be confusing to Linux users. Thanks.


> > > >  # This is where the tools will end up in sysroot
> > > >  export BIOS_INSTALL_DIR       =
> > > > "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
> > > > --
> > > > 2.7.4
> > > >
> > > > --
> > > > _______________________________________________
> > > > meta-ti mailing list
> > > > meta-ti@yoctoproject.org
> > > > https://lists.yoctoproject.org/listinfo/meta-ti
> > > --
> > > _______________________________________________
> > > meta-ti mailing list
> > > meta-ti@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [EXTERNAL] [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1
  2018-08-10 10:34 hzhang
@ 2018-08-10 18:01 ` Nelson, Sam
  0 siblings, 0 replies; 7+ messages in thread
From: Nelson, Sam @ 2018-08-10 18:01 UTC (permalink / raw)
  To: Zhang, Hao, meta-ti



> -----Original Message-----
> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> bounces@yoctoproject.org] On Behalf Of Zhang, Hao
> Sent: Friday, August 10, 2018 6:35 AM
> To: meta-ti@yoctoproject.org
> Subject: [EXTERNAL] [meta-ti] [PATCH] recipes-ti: devtools: add GCC Linaro
> toolchain 2017.11 v7.2.1
> 
> From: Hao Zhang <hzhang@ti.com>
> 
> Signed-off-by: Hao Zhang <hzhang@ti.com>
> ---
>  recipes-ti/devtools/gcc-linaro-aarch64-native.bb | 24
> ++++++++++++++++++++++++
>  recipes-ti/devtools/gcc-linaro-native.bb         | 24
> ++++++++++++++++++++++++
>  recipes-ti/devtools/gcc-linaro.inc               | 12 ++++++++++++
>  3 files changed, 60 insertions(+)
>  create mode 100644 recipes-ti/devtools/gcc-linaro-aarch64-native.bb
>  create mode 100644 recipes-ti/devtools/gcc-linaro-native.bb
>  create mode 100644 recipes-ti/devtools/gcc-linaro.inc
> 
> diff --git a/recipes-ti/devtools/gcc-linaro-aarch64-native.bb b/recipes-
> ti/devtools/gcc-linaro-aarch64-native.bb
> new file mode 100644
> index 0000000..1083856
> --- /dev/null
> +++ b/recipes-ti/devtools/gcc-linaro-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-append.inc

There is no ti-paths-append in meta-ti. Probably need to replace with 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] =
> "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4
> c8"
> +
> +do_install() {
> +    install -d ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> +    cp -r ${S}/. ${D}${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}
> +}
> +
> +FILES_${PN} = "${GCC_LINARO_AARCH64_TOOLCHAIN_RECIPE}/*"
> +
> +INSANE_SKIP_${PN} = "already-stripped"
> +
> diff --git a/recipes-ti/devtools/gcc-linaro-native.bb b/recipes-ti/devtools/gcc-
> linaro-native.bb
> new file mode 100644
> index 0000000..84e07d7
> --- /dev/null
> +++ b/recipes-ti/devtools/gcc-linaro-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-append.inc

There is no ti-paths-append in meta-ti. Probably need to replace with 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_TOOLCHAIN_RECIPE}
> +    cp -r ${S}/. ${D}${GCC_LINARO_TOOLCHAIN_RECIPE}
> +}
> +
> +FILES_${PN} = "${GCC_LINARO_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"
> +
> +
> --
> 2.7.4
> 
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-13 18:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-10 14:23 [PATCH] recipes-ti: devtools: add GCC Linaro toolchain 2017.11 v7.2.1 hzhang
2018-08-11  2:47 ` [EXTERNAL] " Nelson, Sam
2018-08-11  4:13   ` Denys Dmytriyenko
2018-08-12 13:02     ` Nelson, Sam
2018-08-13 14:05       ` Zhang, Hao
2018-08-13 18:31       ` Denys Dmytriyenko
  -- strict thread matches above, loose matches on Subject: below --
2018-08-10 10:34 hzhang
2018-08-10 18:01 ` [EXTERNAL] " Nelson, Sam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.