From ffeefcb8e537d7f26eca186866075667bfac9fa7 Mon Sep 17 00:00:00 2001 From: Jacob Stiffler Date: Thu, 22 Oct 2015 20:49:39 +0000 Subject: ti-ccsv6-native: Add CCS 6.1.1.00022 * Due to licensing, this installer must be downloaded manually and placed into either the downloads directory, or placed on a mirror. * Please see http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads * NOTE: That the Linux off-line installation tarball is the file required. Signed-off-by: Jacob Stiffler Signed-off-by: Denys Dmytriyenko --- recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb | 42 ++++++++++++++++++++++ recipes-ti/includes/ti-paths.inc | 4 +++ 2 files changed, 46 insertions(+) create mode 100644 recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb diff --git a/recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb b/recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb new file mode 100644 index 00000000..c5a4f333 --- /dev/null +++ b/recipes-ti/devtools/ti-ccsv6-native_6.1.1.00022.bb @@ -0,0 +1,42 @@ +DESCRIPTION = "TI DSP Code Generation Tools" +HOMEPAGE = "http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads" +LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD" + +LIC_FILES_CHKSUM = "file://${WORKDIR}/ccsv6/doc/EULA/EULA.doc;md5=24fb8a52ac52d3938b5888362edb295a" + +inherit native + +require recipes-ti/includes/ti-unpack.inc +require recipes-ti/includes/ti-staging.inc +require recipes-ti/includes/ti-paths.inc + +TI_CGT_ARM_VERSION = "5.2.5" + +SRC_URI = "http://install.source.dir.local/CCS${PV}_linux.tar.gz;name=ccsv6" + +S = "${WORKDIR}/CCS${PV}_linux" + +BINFILE = "CCS${PV}_linux/ccs_setup_${PV}.bin" +TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}" +TI_BIN_UNPK_CMDS = "" + +SRC_URI[ccsv6.md5sum] = "648d5f41e8a7a93c16d51cd34045ba15" +SRC_URI[ccsv6.sha256sum] = "b82958a125d5c6bea07cfc12a6f2a77c45e1560217c1aac02194b6e3408c5105" + +do_install() { + install -d ${D}${CCSV6_INSTALL_DIR_RECIPE} + cp -r ${WORKDIR}/ccsv6/. ${D}${CCSV6_INSTALL_DIR_RECIPE} + + install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} + cp -r ${WORKDIR}/ccsv6/tools/compiler/ti-cgt-arm_${TI_CGT_ARM_VERSION}/. \ + ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} +} + +FILES_${PN} += "\ + ${CCSV6_INSTALL_DIR_RECIPE} \ + ${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} \ +" + +INSANE_SKIP_${PN} = "arch libdir ldflags staticdev textrel dev-so" + +EXCLUDE_FROM_SHLIBS = "1" diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc index bd80fa11..d4bbe9ec 100644 --- a/recipes-ti/includes/ti-paths.inc +++ b/recipes-ti/includes/ti-paths.inc @@ -45,6 +45,8 @@ export XDAIS_INSTALL_DIR_RECIPE = "${installdir}/ti-xdais-tree" export XDC_INSTALL_DIR_RECIPE = "${installdir}/ti-xdctools-tree" export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree" export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" +export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm" +export CCSV6_INSTALL_DIR_RECIPE = "${installdir}/ccsv6" # This is where the tools will end up in sysroot export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}" @@ -80,6 +82,8 @@ export XDAIS_INSTALL_DIR = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE export XDC_INSTALL_DIR = "${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}" export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}" export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}" +export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}" +export CCSV6_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CCSV6_INSTALL_DIR_RECIPE}" DSPSUFFIX_omapl137 = "x674" DSPSUFFIX_omapl138 = "x674" -- cgit v1.2.3-54-g00ecf