diff options
author | Hao Zhang <hzhang@ti.com> | 2018-08-14 20:32:19 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2018-08-24 20:08:41 +0000 |
commit | a433ecbe31f0de43b1b4bde26adf78a5adacf260 (patch) | |
tree | bc51cf1c8b9349e76969f2001c2ce64b90cd0361 /recipes-ti/devtools | |
parent | e02913c3f772b74a6c56b0c83f43f9bffdca0dd9 (diff) | |
download | meta-ti-a433ecbe31f0de43b1b4bde26adf78a5adacf260.tar.gz |
recipes-ti: devtools: add GCC Linaro baremetal toolchain 2017.11 v7.2.1
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti/devtools')
-rw-r--r-- | recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb | 23 | ||||
-rw-r--r-- | recipes-ti/devtools/gcc-linaro-baremetal-native.bb | 23 | ||||
-rw-r--r-- | recipes-ti/devtools/gcc-linaro.inc | 10 |
3 files changed, 56 insertions, 0 deletions
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 00000000..97344f90 --- /dev/null +++ b/recipes-ti/devtools/gcc-linaro-baremetal-aarch64-native.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | include recipes-ti/devtools/gcc-linaro.inc | ||
2 | |||
3 | PACKAGE_DIR = "gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_aarch64-elf" | ||
4 | S = "${WORKDIR}/${PACKAGE_DIR}" | ||
5 | |||
6 | LIC_CHKSUM = "bc7fad4bba98e7a4cd5ab3042506493c" | ||
7 | |||
8 | inherit native | ||
9 | require recipes-ti/includes/ti-paths.inc | ||
10 | |||
11 | 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" | ||
12 | |||
13 | SRC_URI[gcc-linaro-aarch64.md5sum] = "4972f8943820bdd2f577f498de78964b" | ||
14 | SRC_URI[gcc-linaro-aarch64.sha256sum] = "30fb7d876bcb982c502057c593d9c1f11b35d5158a26d986718e2b998388c4c8" | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE} | ||
18 | cp -r ${S}/. ${D}${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE} | ||
19 | } | ||
20 | |||
21 | FILES_${PN} = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN_RECIPE}/*" | ||
22 | |||
23 | 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 00000000..0268ae3d --- /dev/null +++ b/recipes-ti/devtools/gcc-linaro-baremetal-native.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | include recipes-ti/devtools/gcc-linaro.inc | ||
2 | |||
3 | PACKAGE_DIR = "gcc-linaro-${PV}-${GCC_ARM_YEAR}-x86_64_arm-eabi" | ||
4 | S = "${WORKDIR}/${PACKAGE_DIR}" | ||
5 | |||
6 | LIC_CHKSUM = "bc7fad4bba98e7a4cd5ab3042506493c" | ||
7 | |||
8 | inherit native | ||
9 | require recipes-ti/includes/ti-paths.inc | ||
10 | |||
11 | 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" | ||
12 | |||
13 | SRC_URI[gcc-linaro.md5sum] = "9a4a39cfc78c84375b1160aa93587aed" | ||
14 | SRC_URI[gcc-linaro.sha256sum] = "45fc4f90af2e2e9c3197a275f6005ef5639f7a1889fa3eb24c3125ccd70fcd3d" | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE} | ||
18 | cp -r ${S}/. ${D}${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE} | ||
19 | } | ||
20 | |||
21 | FILES_${PN} = "${GCC_LINARO_BAREMETAL_TOOLCHAIN_RECIPE}/*" | ||
22 | |||
23 | 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 00000000..19f5a2cf --- /dev/null +++ b/recipes-ti/devtools/gcc-linaro.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | DESCRIPTION = "Linaro GCC for ARM" | ||
2 | HOMEPAGE = "https://launchpad.net/gcc-arm-embedded" | ||
3 | SECTION = "devel" | ||
4 | LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" | ||
5 | LIC_FILES_CHKSUM = "file://share/doc/gcc/GNU-Free-Documentation-License.html;md5=${LIC_CHKSUM}" | ||
6 | |||
7 | PV = "7.2.1" | ||
8 | PR = "r0" | ||
9 | |||
10 | GCC_ARM_YEAR = "2017.11" | ||