summaryrefslogtreecommitdiffstats
path: root/recipes-ti/devtools/ti-cgt-arm.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-ti/devtools/ti-cgt-arm.inc')
-rw-r--r--recipes-ti/devtools/ti-cgt-arm.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
new file mode 100644
index 00000000..436fab12
--- /dev/null
+++ b/recipes-ti/devtools/ti-cgt-arm.inc
@@ -0,0 +1,34 @@
1SUMMARY = "TI ARM Code Generation Tools"
2HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
3LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD & BSD-4-Clause"
4
5inherit native
6require recipes-ti/includes/ti-unpack.inc
7require recipes-ti/includes/ti-staging.inc
8require recipes-ti/includes/ti-paths.inc
9
10S = "${WORKDIR}/ti-cgt-arm-${PV}"
11
12SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}"
13
14BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
15TI_BIN_UNPK_ARGS = "--prefix ${S}"
16TI_BIN_UNPK_CMDS = ""
17
18do_install() {
19 install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
20 cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
21}
22
23SRC_URI[cgt_arm_installer.md5sum] = "${BINFILE_MD5}"
24SRC_URI[cgt_arm_installer.sha256sum] = "${BINFILE_SHA256}"
25
26BINFILE_NAME = "cgt_arm_installer"
27
28FILES_${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
29
30INHIBIT_PACKAGE_STRIP = "1"
31INHIBIT_SYSROOT_STRIP = "1"
32INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
33
34INSANE_SKIP_${PN} += "arch staticdev"