diff options
Diffstat (limited to 'recipes-ti/devtools/ti-cgt-arm.inc')
-rw-r--r-- | recipes-ti/devtools/ti-cgt-arm.inc | 34 |
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 @@ | |||
1 | SUMMARY = "TI ARM Code Generation Tools" | ||
2 | HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" | ||
3 | LICENSE = "(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 | |||
5 | inherit native | ||
6 | require recipes-ti/includes/ti-unpack.inc | ||
7 | require recipes-ti/includes/ti-staging.inc | ||
8 | require recipes-ti/includes/ti-paths.inc | ||
9 | |||
10 | S = "${WORKDIR}/ti-cgt-arm-${PV}" | ||
11 | |||
12 | SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}" | ||
13 | |||
14 | BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin" | ||
15 | TI_BIN_UNPK_ARGS = "--prefix ${S}" | ||
16 | TI_BIN_UNPK_CMDS = "" | ||
17 | |||
18 | do_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 | |||
23 | SRC_URI[cgt_arm_installer.md5sum] = "${BINFILE_MD5}" | ||
24 | SRC_URI[cgt_arm_installer.sha256sum] = "${BINFILE_SHA256}" | ||
25 | |||
26 | BINFILE_NAME = "cgt_arm_installer" | ||
27 | |||
28 | FILES_${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}" | ||
29 | |||
30 | INHIBIT_PACKAGE_STRIP = "1" | ||
31 | INHIBIT_SYSROOT_STRIP = "1" | ||
32 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
33 | |||
34 | INSANE_SKIP_${PN} += "arch staticdev" | ||