* [rocko][PATCH V3] recipes-ti: devtools: add GCC Linaro baremetal toolchain 2017.11 v7.2.1
@ 2018-08-14 13:47 hzhang
2018-08-14 19:06 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: hzhang @ 2018-08-14 13:47 UTC (permalink / raw)
To: meta-ti
From: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
---
Changes from previous version of patch
Remote white spaces end of file
---
---
.../gcc-linaro-baremetal-aarch64-native.bb | 23 ++++++++++++++++++++++
recipes-ti/devtools/gcc-linaro-baremetal-native.bb | 23 ++++++++++++++++++++++
recipes-ti/devtools/gcc-linaro.inc | 10 ++++++++++
recipes-ti/includes/ti-paths.inc | 5 +++++
4 files changed, 61 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..97344f9
--- /dev/null
+++ b/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb
@@ -0,0 +1,23 @@
+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..0268ae3
--- /dev/null
+++ b/recipes-ti/devtools/gcc-linaro-baremetal-native.bb
@@ -0,0 +1,23 @@
+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..19f5a2c
--- /dev/null
+++ b/recipes-ti/devtools/gcc-linaro.inc
@@ -0,0 +1,10 @@
+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 }"
+export GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}"
+
DSPSUFFIX_omapl137 = "x674"
DSPSUFFIX_omapl138 = "x674"
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [rocko][PATCH V3] recipes-ti: devtools: add GCC Linaro baremetal toolchain 2017.11 v7.2.1
2018-08-14 13:47 [rocko][PATCH V3] recipes-ti: devtools: add GCC Linaro baremetal toolchain 2017.11 v7.2.1 hzhang
@ 2018-08-14 19:06 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2018-08-14 19:06 UTC (permalink / raw)
To: hzhang; +Cc: meta-ti
On Tue, Aug 14, 2018 at 09:47:22AM -0400, hzhang@ti.com wrote:
> From: Hao Zhang <hzhang@ti.com>
>
> Signed-off-by: Hao Zhang <hzhang@ti.com>
>
> ---
> Changes from previous version of patch
> Remote white spaces end of file
> ---
> ---
> .../gcc-linaro-baremetal-aarch64-native.bb | 23 ++++++++++++++++++++++
> recipes-ti/devtools/gcc-linaro-baremetal-native.bb | 23 ++++++++++++++++++++++
> recipes-ti/devtools/gcc-linaro.inc | 10 ++++++++++
> recipes-ti/includes/ti-paths.inc | 5 +++++
> 4 files changed, 61 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..97344f9
> --- /dev/null
> +++ b/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb
> @@ -0,0 +1,23 @@
> +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..0268ae3
> --- /dev/null
> +++ b/recipes-ti/devtools/gcc-linaro-baremetal-native.bb
> @@ -0,0 +1,23 @@
> +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..19f5a2c
> --- /dev/null
> +++ b/recipes-ti/devtools/gcc-linaro.inc
> @@ -0,0 +1,10 @@
> +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 }"
Still white space here - "RECIPE }"
> +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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-14 19:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-14 13:47 [rocko][PATCH V3] recipes-ti: devtools: add GCC Linaro baremetal toolchain 2017.11 v7.2.1 hzhang
2018-08-14 19:06 ` Denys Dmytriyenko
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.