Skip to contentSkip to conversation

ti-cgt-arm: add recipe for 16.9.2

PATCH Superseded Karthik Ramanan 3 participants 9 messages Apr 21, 2017 – Apr 25, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 ti-cgt-arm: add recipe for 16.9.2

---
 recipes-ti/devtools/ti-cgt-arm.bb  |  8 ++++++++
 recipes-ti/devtools/ti-cgt-arm.inc | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 recipes-ti/devtools/ti-cgt-arm.bb
 create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc
recipes-ti/devtools/ti-cgt-arm.bb new file +8 -0
new file mode 100644
index 0000000..82c1903
@@ -0,0 +1,8 @@
+include ti-cgt-arm.inc
+
+LIC_FILES_CHKSUM = "file://${PN}_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
+
+PV = "16.9.2"
+
+BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
+BINFILE_SHA256 = "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"
recipes-ti/devtools/ti-cgt-arm.inc new file +36 -0
new file mode 100644
index 0000000..3897b2e
@@ -0,0 +1,36 @@
+SUMMARY= "TI ARM Code Generation Tools"
+HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
+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"
+
+require recipes-ti/includes/ti-unpack.inc
+require recipes-ti/includes/ti-staging.inc
+require recipes-ti/includes/ti-paths.inc
+
+S = "${WORKDIR}/ti-cgt-arm-${PV}"
+
+SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}"
+
+BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
+TI_BIN_UNPK_ARGS = "--prefix ${S}"
+TI_BIN_UNPK_CMDS = ""
+
+do_install() {
+    install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+    cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+}
+
+SRC_URI[cgt_arm_installer.md5sum] = "${BINFILE_MD5}"
+SRC_URI[cgt_arm_installer.sha256sum] = "${BINFILE_SHA256}"
+
+BINFILE_NAME = "cgt_arm_installer"
+BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
+
+FILES_${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
+
+BBCLASSEXTEND = "native nativesdk"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN} += "arch staticdev"
Signature · 1 line
1.9.1
#1 lore raw

PATCH v3 3/3 ti-ccsv6: Remove the recipe

---
 recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb | 45 ----------------------
 1 file changed, 45 deletions(-)
 delete mode 100644 recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb
recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb deleted +0 -45
deleted file mode 100644
index 334c7df..0000000
@@ -1,45 +0,0 @@
-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 = "15.12.1.LTS"
-
-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] = "ceaa5023c1a4b51bc637d3de1a15786b"
-SRC_URI[ccsv6.sha256sum] = "fb3205a21942da09684c871371513707c841c4fd8d88a62f6a7865b0a86cc492"
-
-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} \
-"
-
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_SYSROOT_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INSANE_SKIP_${PN} = "arch libdir ldflags staticdev textrel dev-so"
-
-EXCLUDE_FROM_SHLIBS = "1"
Signature · 1 line
1.9.1
#2 lore raw

PATCH v2 2/3 Remove CCS dependencies for all components

In reply to Karthik Ramanan
---
 classes/ti-pdk.bbclass                      | 2 +-
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 2 +-
 recipes-bsp/ipumm-fw/ipumm-fw_git.bb        | 2 +-
 recipes-ti/includes/ti-paths.inc            | 2 --
 recipes-ti/ipc/ti-ipc-rtos.inc              | 2 +-
 5 files changed, 4 insertions(+), 6 deletions(-)
classes/ti-pdk.bbclass +1 -1
index fd7c3e7..eca3652 100644
@@ -5,7 +5,7 @@ inherit perlnative
 
 DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-pdk-build-rtos"
 
-DEPENDS_append_omap-a15 = " ti-ccsv6-native"
+DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
 DEPENDS_remove_ti43x = "ti-cgt6x-native"
 
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +1 -1
index 6a01d0b..ce9ef85 100644
@@ -4,7 +4,7 @@ require recipes-ti/includes/ti-staging.inc
 
 PR = "${INC_PR}.0"
 
-DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"
+DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
recipes-bsp/ipumm-fw/ipumm-fw_git.bb +1 -1
index 1a5d285..1291e69 100644
@@ -29,7 +29,7 @@ require recipes-ti/includes/ti-staging.inc
 
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
+DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
 
 export HWVERSION="ES10"
 export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
recipes-ti/includes/ti-paths.inc +0 -2
index e7d3e82..a7ea9a7 100644
@@ -46,7 +46,6 @@ 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"
 export GCC_ARM_NONE_TOOLCHAIN_RECIPE      = "${installdir}/gcc-arm-none-eabi"
 export TI_CGT_PRU_INSTALL_DIR_RECIPE      = "${installdir}/cgt-pru"
 export DSPLIB_C66_INSTALL_DIR_RECIPE      = "${installdir}/ti-dsplib-c66x-tree"
@@ -93,7 +92,6 @@ 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}"
 export GCC_ARM_NONE_TOOLCHAIN      = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
 export TI_CGT_PRU_INSTALL_DIR      = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}"
 export DSPLIB_C66_INSTALL_DIR      = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}"
recipes-ti/ipc/ti-ipc-rtos.inc +1 -1
index b29e984..696a897 100644
@@ -43,7 +43,7 @@ DEPENDS_append_keystone = " ti-cgt6x-native \
                             gcc-arm-none-eabi-native \
 "
 DEPENDS_append_omap-a15 = " ti-cgt6x-native \
-                            ti-ccsv6-native \
+                            ti-cgt-arm-native \
                             gcc-arm-none-eabi-native \
 "
 IPC_TARGETS = ""
Signature · 1 line
1.9.1
#3 lore raw

Re: [morty PATCH v2 2/3] Remove CCS dependencies for all components

Looks like you missed my comment here for v1. Do you want to remove CCSV6_INSTALL_DIR* variables here or in patch #3? Doing it here might break bisectability...

Quoted 89 lines · Karthik Ramanan
---
 classes/ti-pdk.bbclass                      | 2 +-
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 2 +-
 recipes-bsp/ipumm-fw/ipumm-fw_git.bb        | 2 +-
 recipes-ti/includes/ti-paths.inc            | 2 --
 recipes-ti/ipc/ti-ipc-rtos.inc              | 2 +-
 5 files changed, 4 insertions(+), 6 deletions(-)
classes/ti-pdk.bbclass +1 -1
index fd7c3e7..eca3652 100644
@@ -5,7 +5,7 @@ inherit perlnative
 
 DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-pdk-build-rtos"
 
-DEPENDS_append_omap-a15 = " ti-ccsv6-native"
+DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
 DEPENDS_remove_ti43x = "ti-cgt6x-native"
 
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +1 -1
index 6a01d0b..ce9ef85 100644
@@ -4,7 +4,7 @@ require recipes-ti/includes/ti-staging.inc
 
 PR = "${INC_PR}.0"
 
-DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"
+DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
recipes-bsp/ipumm-fw/ipumm-fw_git.bb +1 -1
index 1a5d285..1291e69 100644
@@ -29,7 +29,7 @@ require recipes-ti/includes/ti-staging.inc
 
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
+DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
 
 export HWVERSION="ES10"
 export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
recipes-ti/includes/ti-paths.inc +0 -2
index e7d3e82..a7ea9a7 100644
@@ -46,7 +46,6 @@ 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"
 export GCC_ARM_NONE_TOOLCHAIN_RECIPE      = "${installdir}/gcc-arm-none-eabi"
 export TI_CGT_PRU_INSTALL_DIR_RECIPE      = "${installdir}/cgt-pru"
 export DSPLIB_C66_INSTALL_DIR_RECIPE      = "${installdir}/ti-dsplib-c66x-tree"
@@ -93,7 +92,6 @@ 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}"
 export GCC_ARM_NONE_TOOLCHAIN      = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
 export TI_CGT_PRU_INSTALL_DIR      = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}"
 export DSPLIB_C66_INSTALL_DIR      = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}"
recipes-ti/ipc/ti-ipc-rtos.inc +1 -1
index b29e984..696a897 100644
@@ -43,7 +43,7 @@ DEPENDS_append_keystone = " ti-cgt6x-native \
                             gcc-arm-none-eabi-native \
 "
 DEPENDS_append_omap-a15 = " ti-cgt6x-native \
-                            ti-ccsv6-native \
+                            ti-cgt-arm-native \
                             gcc-arm-none-eabi-native \
 "
 IPC_TARGETS = ""
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#4 lore raw

Re: [morty PATCH v2 2/3] Remove CCS dependencies for all components

Oh ok, I understand your comment now.
Posted v3 with the change included.

Quoted 95 lines · Denys Dmytriyenko

Looks like you missed my comment here for v1. Do you want to remove CCSV6_INSTALL_DIR* variables here or in patch #3? Doing it here might break bisectability...

Quoted 89 lines · Karthik Ramanan
---
  classes/ti-pdk.bbclass                      | 2 +-
  recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 2 +-
  recipes-bsp/ipumm-fw/ipumm-fw_git.bb        | 2 +-
  recipes-ti/includes/ti-paths.inc            | 2 --
  recipes-ti/ipc/ti-ipc-rtos.inc              | 2 +-
  5 files changed, 4 insertions(+), 6 deletions(-)
classes/ti-pdk.bbclass +1 -1
index fd7c3e7..eca3652 100644
@@ -5,7 +5,7 @@ inherit perlnative
 
  DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-pdk-build-rtos"
 
-DEPENDS_append_omap-a15 = " ti-ccsv6-native"
+DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
  DEPENDS_remove_ti33x = "ti-cgt6x-native"
  DEPENDS_remove_ti43x = "ti-cgt6x-native"
 
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +1 -1
index 6a01d0b..ce9ef85 100644
@@ -4,7 +4,7 @@ require recipes-ti/includes/ti-staging.inc
 
  PR = "${INC_PR}.0"
 
-DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"
+DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
 
  COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
  PACKAGE_ARCH = "${MACHINE_ARCH}"
recipes-bsp/ipumm-fw/ipumm-fw_git.bb +1 -1
index 1a5d285..1291e69 100644
@@ -29,7 +29,7 @@ require recipes-ti/includes/ti-staging.inc
 
  inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
+DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
 
  export HWVERSION="ES10"
  export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
recipes-ti/includes/ti-paths.inc +0 -2
index e7d3e82..a7ea9a7 100644
@@ -46,7 +46,6 @@ 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"
  export GCC_ARM_NONE_TOOLCHAIN_RECIPE      = "${installdir}/gcc-arm-none-eabi"
  export TI_CGT_PRU_INSTALL_DIR_RECIPE      = "${installdir}/cgt-pru"
  export DSPLIB_C66_INSTALL_DIR_RECIPE      = "${installdir}/ti-dsplib-c66x-tree"
@@ -93,7 +92,6 @@ 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}"
  export GCC_ARM_NONE_TOOLCHAIN      = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
  export TI_CGT_PRU_INSTALL_DIR      = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}"
  export DSPLIB_C66_INSTALL_DIR      = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}"
recipes-ti/ipc/ti-ipc-rtos.inc +1 -1
index b29e984..696a897 100644
@@ -43,7 +43,7 @@ DEPENDS_append_keystone = " ti-cgt6x-native \
                              gcc-arm-none-eabi-native \
  "
  DEPENDS_append_omap-a15 = " ti-cgt6x-native \
-                            ti-ccsv6-native \
+                            ti-cgt-arm-native \
                              gcc-arm-none-eabi-native \
  "
  IPC_TARGETS = ""
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#5 lore raw
In reply to Karthik Ramanan

Karthik,

A couple concerns below.

Thanks,

Jake

Quoted 14 lines · Karthik Ramanan
---
  recipes-ti/devtools/ti-cgt-arm.bb  |  8 ++++++++
  recipes-ti/devtools/ti-cgt-arm.inc | 36 ++++++++++++++++++++++++++++++++++++
  2 files changed, 44 insertions(+)

create mode 100644 recipes-ti/devtools/ti-cgt-arm.bb create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc

recipes-ti/devtools/ti-cgt-arm.bb new file +0 -0
new file mode 100644
index 0000000..82c1903

recipes-ti/devtools/ti-cgt-arm.bb line 5

Quoted 5 lines
recipes-ti/devtools/ti-cgt-arm.bb new file +5 -0
@@ -0,0 +1,8 @@
+include ti-cgt-arm.inc
+
+LIC_FILES_CHKSUM = "file://${PN}_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
+
+PV = "16.9.2"

Would it be better to have this in the recipe filename? I'm not sure if there is a preference.

Quoted 29 lines
recipes-ti/devtools/ti-cgt-arm.bb new file +3 -0
+
+BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
+BINFILE_SHA256 = "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"
recipes-ti/devtools/ti-cgt-arm.inc new file +20 -0
new file mode 100644
index 0000000..3897b2e
@@ -0,0 +1,36 @@
+SUMMARY= "TI ARM Code Generation Tools"
+HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
+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"
+
+require recipes-ti/includes/ti-unpack.inc
+require recipes-ti/includes/ti-staging.inc
+require recipes-ti/includes/ti-paths.inc
+
+S = "${WORKDIR}/ti-cgt-arm-${PV}"
+
+SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}"
+
+BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
+TI_BIN_UNPK_ARGS = "--prefix ${S}"
+TI_BIN_UNPK_CMDS = ""
+
+do_install() {
+    install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+    cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+}

recipes-ti/devtools/ti-cgt-arm.inc line 30

Quoted 10 lines
recipes-ti/devtools/ti-cgt-arm.inc new file +10 -0
+
+SRC_URI[cgt_arm_installer.md5sum] = "${BINFILE_MD5}"
+SRC_URI[cgt_arm_installer.sha256sum] = "${BINFILE_SHA256}"
+
+BINFILE_NAME = "cgt_arm_installer"
+BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
+
+FILES_${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
+
+BBCLASSEXTEND = "native nativesdk"

It appears that there is not support for the "target" class as the installer is for the x86 architecture.

Quoted 6 lines
recipes-ti/devtools/ti-cgt-arm.inc new file +6 -0
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN} += "arch staticdev"
#6 lore raw

Jake, Denys - some questions for you.

Quoted 2 lines
Quoted 1 line

+PV = "16.9.2"

Would it be better to have this in the recipe filename? I'm not sure if there is a preference.

Denys, what is the recommendation? I see both approaches, I can rework and submit if the PV should be included in the filename.

Quoted 2 lines
Quoted 1 line

+BBCLASSEXTEND = "native nativesdk"

It appears that there is not support for the "target" class as the installer is for the x86 architecture.

Just to be clear, would it be fine to just remove the nativesdk?

Regards
Karthik

Quoted 87 lines · Jacob Stiffler

Karthik,

A couple concerns below.

Thanks,

Jake

Quoted 19 lines · Karthik Ramanan
---
  recipes-ti/devtools/ti-cgt-arm.bb  |  8 ++++++++
  recipes-ti/devtools/ti-cgt-arm.inc | 36 
++++++++++++++++++++++++++++++++++++
  2 files changed, 44 insertions(+)

create mode 100644 recipes-ti/devtools/ti-cgt-arm.bb create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc

recipes-ti/devtools/ti-cgt-arm.bb new file +3 -0
new file mode 100644
index 0000000..82c1903
@@ -0,0 +1,8 @@
+include ti-cgt-arm.inc
+
+LIC_FILES_CHKSUM = 

"file://${PN}_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"

recipes-ti/devtools/ti-cgt-arm.bb

Quoted 2 lines
recipes-ti/devtools/ti-cgt-arm.bb new file +2 -0
+
+PV = "16.9.2"

Would it be better to have this in the recipe filename? I'm not sure if there is a preference.

Quoted 33 lines
recipes-ti/devtools/ti-cgt-arm.bb new file +3 -0
+
+BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
+BINFILE_SHA256 = 

"d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"

recipes-ti/devtools/ti-cgt-arm.inc new file +2 -0
new file mode 100644
index 0000000..3897b2e
@@ -0,0 +1,36 @@
+SUMMARY= "TI ARM Code Generation Tools"
+HOMEPAGE = 

"https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" +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"

recipes-ti/devtools/ti-cgt-arm.inc new file +8 -0
+
+require recipes-ti/includes/ti-unpack.inc
+require recipes-ti/includes/ti-staging.inc
+require recipes-ti/includes/ti-paths.inc
+
+S = "${WORKDIR}/ti-cgt-arm-${PV}"
+
+SRC_URI = 

"http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}"

recipes-ti/devtools/ti-cgt-arm.inc new file +9 -0
+
+BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
+TI_BIN_UNPK_ARGS = "--prefix ${S}"
+TI_BIN_UNPK_CMDS = ""
+
+do_install() {
+    install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+    cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+}

recipes-ti/devtools/ti-cgt-arm.inc line 30

Quoted 10 lines
recipes-ti/devtools/ti-cgt-arm.inc new file +10 -0
+
+SRC_URI[cgt_arm_installer.md5sum] = "${BINFILE_MD5}"
+SRC_URI[cgt_arm_installer.sha256sum] = "${BINFILE_SHA256}"
+
+BINFILE_NAME = "cgt_arm_installer"
+BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
+
+FILES_${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
+
+BBCLASSEXTEND = "native nativesdk"

It appears that there is not support for the "target" class as the installer is for the x86 architecture.

Quoted 6 lines
recipes-ti/devtools/ti-cgt-arm.inc new file +6 -0
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN} += "arch staticdev"
#7 lore raw
Quoted 7 lines · Karthik Ramanan

Jake, Denys - some questions for you.

Quoted 2 lines
Quoted 1 line

+PV = "16.9.2"

Would it be better to have this in the recipe filename? I'm not

sure if there is a preference.
Denys, what is the recommendation? I see both approaches, I can rework and submit if the PV should be included in the filename.

Depends on how often you plan to update the recipe and whether you will have between-releases snapshots. That's usually the case with git-based components. In case of tarball or binary-installer components, the convention is to use the version in the filename.

Quoted 4 lines
Quoted 2 lines
Quoted 1 line

+BBCLASSEXTEND = "native nativesdk"

It appears that there is not support for the "target" class as the

installer is for the x86 architecture.
Just to be clear, would it be fine to just remove the nativesdk?

Are there plans to have ARM installer? If not, then "target" recipe with BBCLASSEXTEND won't work - you just need to do a -native recipe directly.

Signature · 1 line
Denys
Quoted 96 lines · Jacob Stiffler
Quoted 89 lines

Karthik,

A couple concerns below.

Thanks,

Jake

Quoted 16 lines · Karthik Ramanan
---
 recipes-ti/devtools/ti-cgt-arm.bb  |  8 ++++++++
 recipes-ti/devtools/ti-cgt-arm.inc | 36
++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 recipes-ti/devtools/ti-cgt-arm.bb
 create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc
recipes-ti/devtools/ti-cgt-arm.bb new file +0 -0
new file mode 100644
index 0000000..82c1903

recipes-ti/devtools/ti-cgt-arm.bb line 5

Quoted 5 lines
recipes-ti/devtools/ti-cgt-arm.bb new file +5 -0
@@ -0,0 +1,8 @@
+include ti-cgt-arm.inc
+
+LIC_FILES_CHKSUM = "file://${PN}_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
+
+PV = "16.9.2"

Would it be better to have this in the recipe filename? I'm not sure if there is a preference.

Quoted 33 lines
recipes-ti/devtools/ti-cgt-arm.bb new file +3 -0
+
+BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
+BINFILE_SHA256 =

"d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"

recipes-ti/devtools/ti-cgt-arm.inc new file +3 -0
new file mode 100644
index 0000000..3897b2e
@@ -0,0 +1,36 @@
+SUMMARY= "TI ARM Code Generation Tools"
+HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
+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"

recipes-ti/devtools/ti-cgt-arm.inc new file +17 -0
+
+require recipes-ti/includes/ti-unpack.inc
+require recipes-ti/includes/ti-staging.inc
+require recipes-ti/includes/ti-paths.inc
+
+S = "${WORKDIR}/ti-cgt-arm-${PV}"
+
+SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}"
+
+BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
+TI_BIN_UNPK_ARGS = "--prefix ${S}"
+TI_BIN_UNPK_CMDS = ""
+
+do_install() {
+    install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+    cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
+}

recipes-ti/devtools/ti-cgt-arm.inc line 30

Quoted 10 lines
recipes-ti/devtools/ti-cgt-arm.inc new file +10 -0
+
+SRC_URI[cgt_arm_installer.md5sum] = "${BINFILE_MD5}"
+SRC_URI[cgt_arm_installer.sha256sum] = "${BINFILE_SHA256}"
+
+BINFILE_NAME = "cgt_arm_installer"
+BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
+
+FILES_${PN} += "${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
+
+BBCLASSEXTEND = "native nativesdk"

It appears that there is not support for the "target" class as the installer is for the x86 architecture.

Quoted 6 lines
recipes-ti/devtools/ti-cgt-arm.inc new file +6 -0
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN} += "arch staticdev"
Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#8 lore raw

Denys,

I've taken care of your comments:
* renamed the recipe to include the version name.
* also made it native.

Posted v3.

Regards
Karthik

Quoted 21 lines · Denys Dmytriyenko
Quoted 7 lines · Karthik Ramanan

Jake, Denys - some questions for you.

Quoted 2 lines
Quoted 1 line

+PV = "16.9.2"

Would it be better to have this in the recipe filename? I'm not

sure if there is a preference.
Denys, what is the recommendation? I see both approaches, I can rework and submit if the PV should be included in the filename.

Depends on how often you plan to update the recipe and whether you will have between-releases snapshots. That's usually the case with git-based components. In case of tarball or binary-installer components, the convention is to use the version in the filename.

Quoted 4 lines
Quoted 2 lines
Quoted 1 line

+BBCLASSEXTEND = "native nativesdk"

It appears that there is not support for the "target" class as the

installer is for the x86 architecture.
Just to be clear, would it be fine to just remove the nativesdk?

Are there plans to have ARM installer? If not, then "target" recipe with BBCLASSEXTEND won't work - you just need to do a -native recipe directly.