Skip to contentSkip to conversation

ti-cgt-7x: Initial version of TI-CGT-C7000 recipe

PATCH Superseded Mahesh Radhakrishnan 2 participants 2 messages Aug 13, 2019

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ti-cgt-7x: Initial version of TI-CGT-C7000 recipe

This tool is not publically fetchable yet and requires pre-downloading

---
v2 - Changes to remove class-target (LIC_CHECKSUM),updated commit description

 recipes-ti/devtools/ti-cgt7x_1.1.0.bb | 50 +++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 recipes-ti/devtools/ti-cgt7x_1.1.0.bb
recipes-ti/devtools/ti-cgt7x_1.1.0.bb new file +50 -0
new file mode 100644
index 0000000..465857c
@@ -0,0 +1,50 @@
+DESCRIPTION = "TI DSP 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 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD"
+
+LIC_FILES_CHKSUM = "file://usr/share/doc/ti/cgt-c7x/C7000_1.0.x_CodeGenerationTools_Manifest.htm;md5=3074e433c5d52657076d1d138dfbdaf8"
+
+require recipes-ti/includes/ti-unpack.inc
+
+# only x86_64 is supported
+COMPATIBLE_HOST = "x86_64.*-linux"
+COMPATIBLE_HOST_class-target = "null"
+
+BINFILE = "ti_cgt_c7000_${PV}_linux_installer_x86.bin"
+BINFILE_NAME = "cgt7x_x86_installer"
+
+# Please note, "install.source.dir.local" is not a real URL, below files need to be pre-downloaded
+SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}"
+
+TI_BIN_UNPK_ARGS = "--prefix ${S}"
+TI_BIN_UNPK_CMDS = ""
+
+BINFILE = "ti_cgt_c7000_${PV}_linux_installer_x86.bin"
+
+BINFILE_MD5 = "feb668b4213403c661909adcf65d2ba8"
+BINFILE_SHA256 = "4a3954c973622c00a9b91fa90473cf921f4b763300b0e7c32735304867856ab8"
+
+SRC_URI[cgt7x_x86_installer.md5sum]    = "feb668b4213403c661909adcf65d2ba8"
+SRC_URI[cgt7x_x86_installer.sha256sum] = "4a3954c973622c00a9b91fa90473cf921f4b763300b0e7c32735304867856ab8"
+
+S = "${WORKDIR}/c7000_${PV}"
+
+do_install() {
+    install -d ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE}
+    cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c7000_${PV}/. ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE}
+}
+
+do_install_class-target() {
+    ${WORKDIR}/${BINFILE} --prefix ${D}
+}
+
+
+FILES_${PN} += "${TI_CGT7X_INSTALL_DIR_RECIPE}"
+
+INSANE_SKIP_${PN} += "arch staticdev textrel"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 16 lines · Mahesh Radhakrishnan

This tool is not publically fetchable yet and requires pre-downloading

---
v2 - Changes to remove class-target (LIC_CHECKSUM),updated commit description

 recipes-ti/devtools/ti-cgt7x_1.1.0.bb | 50 +++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 recipes-ti/devtools/ti-cgt7x_1.1.0.bb
recipes-ti/devtools/ti-cgt7x_1.1.0.bb new file +0 -0
new file mode 100644
index 0000000..465857c

recipes-ti/devtools/ti-cgt7x_1.1.0.bb line 1

Quoted 1 line
recipes-ti/devtools/ti-cgt7x_1.1.0.bb new file +1 -0
@@ -0,0 +1,50 @@
+DESCRIPTION = "TI DSP Code Generation Tools"

SUMMARY ^

Quoted 11 lines
recipes-ti/devtools/ti-cgt7x_1.1.0.bb new file +11 -0
+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 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD"
+
+LIC_FILES_CHKSUM = "file://usr/share/doc/ti/cgt-c7x/C7000_1.0.x_CodeGenerationTools_Manifest.htm;md5=3074e433c5d52657076d1d138dfbdaf8"
+
+require recipes-ti/includes/ti-unpack.inc
+
+# only x86_64 is supported
+COMPATIBLE_HOST = "x86_64.*-linux"
+COMPATIBLE_HOST_class-target = "null"
+

recipes-ti/devtools/ti-cgt7x_1.1.0.bb line 22

Quoted 10 lines
recipes-ti/devtools/ti-cgt7x_1.1.0.bb new file +10 -0
+BINFILE = "ti_cgt_c7000_${PV}_linux_installer_x86.bin"
+BINFILE_NAME = "cgt7x_x86_installer"
+
+# Please note, "install.source.dir.local" is not a real URL, below files need to be pre-downloaded
+SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}"
+
+TI_BIN_UNPK_ARGS = "--prefix ${S}"
+TI_BIN_UNPK_CMDS = ""
+
+BINFILE = "ti_cgt_c7000_${PV}_linux_installer_x86.bin"

Duplicate

recipes-ti/devtools/ti-cgt7x_1.1.0.bb line 25

Quoted 2 lines
recipes-ti/devtools/ti-cgt7x_1.1.0.bb new file +2 -0
+BINFILE_MD5 = "feb668b4213403c661909adcf65d2ba8"
+BINFILE_SHA256 = "4a3954c973622c00a9b91fa90473cf921f4b763300b0e7c32735304867856ab8"

These 2 are not used

recipes-ti/devtools/ti-cgt7x_1.1.0.bb line 39

Quoted 13 lines
recipes-ti/devtools/ti-cgt7x_1.1.0.bb new file +13 -0
+SRC_URI[cgt7x_x86_installer.md5sum]    = "feb668b4213403c661909adcf65d2ba8"
+SRC_URI[cgt7x_x86_installer.sha256sum] = "4a3954c973622c00a9b91fa90473cf921f4b763300b0e7c32735304867856ab8"
+
+S = "${WORKDIR}/c7000_${PV}"
+
+do_install() {
+    install -d ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE}
+    cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c7000_${PV}/. ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE}
+}
+
+do_install_class-target() {
+    ${WORKDIR}/${BINFILE} --prefix ${D}
+}

This is rather useless

Quoted 17 lines
recipes-ti/devtools/ti-cgt7x_1.1.0.bb new file +9 -0
+FILES_${PN} += "${TI_CGT7X_INSTALL_DIR_RECIPE}"
+
+INSANE_SKIP_${PN} += "arch staticdev textrel"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 7 lines
1.9.1

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