* [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
@ 2017-04-25 11:26 Karthik Ramanan
2017-04-25 11:26 ` [morty v3 2/3] Remove CCS dependencies for all components Karthik Ramanan
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Karthik Ramanan @ 2017-04-25 11:26 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
---
recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb | 8 ++++++
recipes-ti/devtools/ti-cgt-arm.inc | 35 +++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc
diff --git a/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
new file mode 100644
index 0000000..c4fc7f0
--- /dev/null
+++ b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
@@ -0,0 +1,8 @@
+include ti-cgt-arm.inc
+
+LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
+
+BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
+BINFILE_SHA256 = "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"
+
+PR_append = "r2"
diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
new file mode 100644
index 0000000..8cc1ca4
--- /dev/null
+++ b/recipes-ti/devtools/ti-cgt-arm.inc
@@ -0,0 +1,35 @@
+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"
+
+inherit native
+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}"
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+INSANE_SKIP_${PN} += "arch staticdev"
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [morty v3 2/3] Remove CCS dependencies for all components
2017-04-25 11:26 [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2 Karthik Ramanan
@ 2017-04-25 11:26 ` Karthik Ramanan
2017-04-25 11:26 ` [morty v3 3/3] ti-ccsv6: Remove the recipe and other dependencies Karthik Ramanan
2017-04-25 23:19 ` [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2 Denys Dmytriyenko
2 siblings, 0 replies; 8+ messages in thread
From: Karthik Ramanan @ 2017-04-25 11:26 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
---
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/ipc/ti-ipc-rtos.inc | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
index fd7c3e7..eca3652 100644
--- a/classes/ti-pdk.bbclass
+++ b/classes/ti-pdk.bbclass
@@ -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"
diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
index 6a01d0b..ce9ef85 100644
--- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
+++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
@@ -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}"
diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
index 1a5d285..1291e69 100644
--- a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
+++ b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
@@ -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"
diff --git a/recipes-ti/ipc/ti-ipc-rtos.inc b/recipes-ti/ipc/ti-ipc-rtos.inc
index 0d7e0e6..2a6cac0 100644
--- a/recipes-ti/ipc/ti-ipc-rtos.inc
+++ b/recipes-ti/ipc/ti-ipc-rtos.inc
@@ -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 \
"
DEPENDS_append_omapl138 = " ti-cgt6x-native \
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [morty v3 3/3] ti-ccsv6: Remove the recipe and other dependencies
2017-04-25 11:26 [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2 Karthik Ramanan
2017-04-25 11:26 ` [morty v3 2/3] Remove CCS dependencies for all components Karthik Ramanan
@ 2017-04-25 11:26 ` Karthik Ramanan
2017-04-25 23:19 ` [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2 Denys Dmytriyenko
2 siblings, 0 replies; 8+ messages in thread
From: Karthik Ramanan @ 2017-04-25 11:26 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
---
recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb | 45 ----------------------
recipes-ti/includes/ti-paths.inc | 2 -
2 files changed, 47 deletions(-)
delete mode 100644 recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb
diff --git a/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb b/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb
deleted file mode 100644
index 334c7df..0000000
--- a/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb
+++ /dev/null
@@ -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"
diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
index e7d3e82..a7ea9a7 100644
--- a/recipes-ti/includes/ti-paths.inc
+++ b/recipes-ti/includes/ti-paths.inc
@@ -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}"
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
2017-04-25 11:26 [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2 Karthik Ramanan
2017-04-25 11:26 ` [morty v3 2/3] Remove CCS dependencies for all components Karthik Ramanan
2017-04-25 11:26 ` [morty v3 3/3] ti-ccsv6: Remove the recipe and other dependencies Karthik Ramanan
@ 2017-04-25 23:19 ` Denys Dmytriyenko
2017-04-25 23:39 ` Pang, Ivan
2 siblings, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2017-04-25 23:19 UTC (permalink / raw)
To: Karthik Ramanan; +Cc: meta-ti
Karthik,
This looks much better!
I would have said there's no reason to split it into a recipe and .inc
anymore, but we'll probably also need a -nativesdk recipe, so keeping .inc for
now.
There are couple cosmetic nitpicks - there's no space between SUMMARY and =
sign; and BINFILE variable is defined twice. I'll fix those on merge though.
--
Denys
On Tue, Apr 25, 2017 at 04:56:02PM +0530, Karthik Ramanan wrote:
> Signed-off-by: Karthik Ramanan <a0393906@ti.com>
> ---
> recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb | 8 ++++++
> recipes-ti/devtools/ti-cgt-arm.inc | 35 +++++++++++++++++++++++++
> 2 files changed, 43 insertions(+)
> create mode 100644 recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
> create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc
>
> diff --git a/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
> new file mode 100644
> index 0000000..c4fc7f0
> --- /dev/null
> +++ b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
> @@ -0,0 +1,8 @@
> +include ti-cgt-arm.inc
> +
> +LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
> +
> +BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
> +BINFILE_SHA256 = "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"
> +
> +PR_append = "r2"
> diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
> new file mode 100644
> index 0000000..8cc1ca4
> --- /dev/null
> +++ b/recipes-ti/devtools/ti-cgt-arm.inc
> @@ -0,0 +1,35 @@
> +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"
> +
> +inherit native
> +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}"
> +
> +INHIBIT_PACKAGE_STRIP = "1"
> +INHIBIT_SYSROOT_STRIP = "1"
> +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> +
> +INSANE_SKIP_${PN} += "arch staticdev"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
2017-04-25 23:19 ` [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2 Denys Dmytriyenko
@ 2017-04-25 23:39 ` Pang, Ivan
2017-04-26 5:57 ` Karthik Ramanan
0 siblings, 1 reply; 8+ messages in thread
From: Pang, Ivan @ 2017-04-25 23:39 UTC (permalink / raw)
To: Dmytriyenko, Denys, R, Karthik; +Cc: meta-ti@yoctoproject.org
Karthik, Denys,
>> +PV = "16.9.2"
> Would it be better to have this in the recipe filename? I'm not sure if there is a preference.
Sorry, I haven't kept up with the patch mails. There was a specific reason I moved the PV out of the filename and into the .inc file - I had multiple recipes in RTOS that would need to align with this PV (see ti-cgt-arm-linux.bb and ti-cgt-arm-windows.bb). This would let us update only the .inc file whenever we want to bump up the version.
Ivan
-----Original Message-----
From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-bounces@yoctoproject.org] On Behalf Of Dmytriyenko, Denys
Sent: Tuesday, April 25, 2017 6:19 PM
To: R, Karthik
Cc: meta-ti@yoctoproject.org
Subject: Re: [meta-ti] [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
Karthik,
This looks much better!
I would have said there's no reason to split it into a recipe and .inc anymore, but we'll probably also need a -nativesdk recipe, so keeping .inc for now.
There are couple cosmetic nitpicks - there's no space between SUMMARY and = sign; and BINFILE variable is defined twice. I'll fix those on merge though.
--
Denys
On Tue, Apr 25, 2017 at 04:56:02PM +0530, Karthik Ramanan wrote:
> Signed-off-by: Karthik Ramanan <a0393906@ti.com>
> ---
> recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb | 8 ++++++
> recipes-ti/devtools/ti-cgt-arm.inc | 35 +++++++++++++++++++++++++
> 2 files changed, 43 insertions(+)
> create mode 100644 recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
> create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc
>
> diff --git a/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
> new file mode 100644
> index 0000000..c4fc7f0
> --- /dev/null
> +++ b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
> @@ -0,0 +1,8 @@
> +include ti-cgt-arm.inc
> +
> +LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
> +
> +BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
> +BINFILE_SHA256 = "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"
> +
> +PR_append = "r2"
> diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
> new file mode 100644
> index 0000000..8cc1ca4
> --- /dev/null
> +++ b/recipes-ti/devtools/ti-cgt-arm.inc
> @@ -0,0 +1,35 @@
> +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"
> +
> +inherit native
> +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}"
> +
> +INHIBIT_PACKAGE_STRIP = "1"
> +INHIBIT_SYSROOT_STRIP = "1"
> +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> +
> +INSANE_SKIP_${PN} += "arch staticdev"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
--
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
2017-04-25 23:39 ` Pang, Ivan
@ 2017-04-26 5:57 ` Karthik Ramanan
2017-04-26 11:20 ` Jacob Stiffler
0 siblings, 1 reply; 8+ messages in thread
From: Karthik Ramanan @ 2017-04-26 5:57 UTC (permalink / raw)
To: Pang, Ivan, Dmytriyenko, Denys, R, Karthik; +Cc: meta-ti@yoctoproject.org
On 26-Apr-17 5:09 AM, Pang, Ivan wrote:
> Karthik, Denys,
>
>>> +PV = "16.9.2"
> > Would it be better to have this in the recipe filename? I'm not sure if there is a preference.
>
> Sorry, I haven't kept up with the patch mails. There was a specific reason I moved the PV out of the filename and into the .inc file - I had multiple recipes in RTOS that would need to align with this PV (see ti-cgt-arm-linux.bb and ti-cgt-arm-windows.bb). This would let us update only the .inc file whenever we want to bump up the version.
>
> Ivan
Ivan,
Since we decided to remove the linux and windows on the meta-ti context,
we decided to move out the PV to the filename.
I think we should merge the recipe in its current form and then work on
subsequent changes. Would you be fine with that approach?
>
> -----Original Message-----
> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-bounces@yoctoproject.org] On Behalf Of Dmytriyenko, Denys
> Sent: Tuesday, April 25, 2017 6:19 PM
> To: R, Karthik
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
>
> Karthik,
>
> This looks much better!
>
> I would have said there's no reason to split it into a recipe and .inc anymore, but we'll probably also need a -nativesdk recipe, so keeping .inc for now.
>
> There are couple cosmetic nitpicks - there's no space between SUMMARY and = sign; and BINFILE variable is defined twice. I'll fix those on merge though.
Thank you Denys, I will make a note on these points. The recipe went
through a lot of rework and I overlooked these aspects.
>
> --
> Denys
>
>
> On Tue, Apr 25, 2017 at 04:56:02PM +0530, Karthik Ramanan wrote:
>> Signed-off-by: Karthik Ramanan <a0393906@ti.com>
>> ---
>> recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb | 8 ++++++
>> recipes-ti/devtools/ti-cgt-arm.inc | 35 +++++++++++++++++++++++++
>> 2 files changed, 43 insertions(+)
>> create mode 100644 recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>> create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc
>>
>> diff --git a/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>> new file mode 100644
>> index 0000000..c4fc7f0
>> --- /dev/null
>> +++ b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>> @@ -0,0 +1,8 @@
>> +include ti-cgt-arm.inc
>> +
>> +LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
>> +
>> +BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
>> +BINFILE_SHA256 = "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"
>> +
>> +PR_append = "r2"
>> diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
>> new file mode 100644
>> index 0000000..8cc1ca4
>> --- /dev/null
>> +++ b/recipes-ti/devtools/ti-cgt-arm.inc
>> @@ -0,0 +1,35 @@
>> +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"
>> +
>> +inherit native
>> +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}"
>> +
>> +INHIBIT_PACKAGE_STRIP = "1"
>> +INHIBIT_SYSROOT_STRIP = "1"
>> +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
>> +
>> +INSANE_SKIP_${PN} += "arch staticdev"
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
2017-04-26 5:57 ` Karthik Ramanan
@ 2017-04-26 11:20 ` Jacob Stiffler
2017-04-27 5:57 ` Pang, Ivan
0 siblings, 1 reply; 8+ messages in thread
From: Jacob Stiffler @ 2017-04-26 11:20 UTC (permalink / raw)
To: Karthik Ramanan, Pang, Ivan, Dmytriyenko, Denys, R, Karthik
Cc: meta-ti@yoctoproject.org
On 4/26/2017 1:57 AM, Karthik Ramanan wrote:
>
> On 26-Apr-17 5:09 AM, Pang, Ivan wrote:
>> Karthik, Denys,
>>
>>>> +PV = "16.9.2"
>> > Would it be better to have this in the recipe filename? I'm not
>> sure if there is a preference.
>>
>> Sorry, I haven't kept up with the patch mails. There was a specific
>> reason I moved the PV out of the filename and into the .inc file - I
>> had multiple recipes in RTOS that would need to align with this PV
>> (see ti-cgt-arm-linux.bb and ti-cgt-arm-windows.bb). This would let
>> us update only the .inc file whenever we want to bump up the version.
>>
>> Ivan
> Ivan,
>
> Since we decided to remove the linux and windows on the meta-ti
> context, we decided to move out the PV to the filename.
> I think we should merge the recipe in its current form and then work
> on subsequent changes. Would you be fine with that approach?
Ivan,
the "linux" and "windows" recipe variants simply package the installer,
correct?
If this is the case, you can always create the "linux" and "windows"
packages from the current recipe through a bbappend.
- Jake
>>
>> -----Original Message-----
>> From: meta-ti-bounces@yoctoproject.org
>> [mailto:meta-ti-bounces@yoctoproject.org] On Behalf Of Dmytriyenko,
>> Denys
>> Sent: Tuesday, April 25, 2017 6:19 PM
>> To: R, Karthik
>> Cc: meta-ti@yoctoproject.org
>> Subject: Re: [meta-ti] [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
>>
>> Karthik,
>>
>> This looks much better!
>>
>> I would have said there's no reason to split it into a recipe and
>> .inc anymore, but we'll probably also need a -nativesdk recipe, so
>> keeping .inc for now.
>>
>> There are couple cosmetic nitpicks - there's no space between SUMMARY
>> and = sign; and BINFILE variable is defined twice. I'll fix those on
>> merge though.
> Thank you Denys, I will make a note on these points. The recipe went
> through a lot of rework and I overlooked these aspects.
>>
>> --
>> Denys
>>
>>
>> On Tue, Apr 25, 2017 at 04:56:02PM +0530, Karthik Ramanan wrote:
>>> Signed-off-by: Karthik Ramanan <a0393906@ti.com>
>>> ---
>>> recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb | 8 ++++++
>>> recipes-ti/devtools/ti-cgt-arm.inc | 35
>>> +++++++++++++++++++++++++
>>> 2 files changed, 43 insertions(+)
>>> create mode 100644 recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>>> create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc
>>>
>>> diff --git a/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>>> b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>>> new file mode 100644
>>> index 0000000..c4fc7f0
>>> --- /dev/null
>>> +++ b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>>> @@ -0,0 +1,8 @@
>>> +include ti-cgt-arm.inc
>>> +
>>> +LIC_FILES_CHKSUM =
>>> "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
>>> +
>>> +BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
>>> +BINFILE_SHA256 =
>>> "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"
>>> +
>>> +PR_append = "r2"
>>> diff --git a/recipes-ti/devtools/ti-cgt-arm.inc
>>> b/recipes-ti/devtools/ti-cgt-arm.inc
>>> new file mode 100644
>>> index 0000000..8cc1ca4
>>> --- /dev/null
>>> +++ b/recipes-ti/devtools/ti-cgt-arm.inc
>>> @@ -0,0 +1,35 @@
>>> +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"
>>> +
>>> +inherit native
>>> +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}"
>>> +
>>> +INHIBIT_PACKAGE_STRIP = "1"
>>> +INHIBIT_SYSROOT_STRIP = "1"
>>> +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
>>> +
>>> +INSANE_SKIP_${PN} += "arch staticdev"
>>> --
>>> 1.9.1
>>>
>>> --
>>> _______________________________________________
>>> meta-ti mailing list
>>> meta-ti@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-ti
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
2017-04-26 11:20 ` Jacob Stiffler
@ 2017-04-27 5:57 ` Pang, Ivan
0 siblings, 0 replies; 8+ messages in thread
From: Pang, Ivan @ 2017-04-27 5:57 UTC (permalink / raw)
To: Stiffler, Jacob, R, Karthik, Dmytriyenko, Denys, R, Karthik
Cc: meta-ti@yoctoproject.org
Jake, Karthik,
It should be fine to go ahead with the merge then; I can work on refactoring the "linux" and "windows" recipes internally in meta-processor-sdk-internal. I'm not familiar with appending recipes to an existing .bb file, but it sounds like it can be done.
Ivan
-----Original Message-----
From: Stiffler, Jacob
Sent: Wednesday, April 26, 2017 6:21 AM
To: R, Karthik; Pang, Ivan; Dmytriyenko, Denys; R, Karthik
Cc: meta-ti@yoctoproject.org
Subject: Re: [meta-ti] [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2
On 4/26/2017 1:57 AM, Karthik Ramanan wrote:
>
> On 26-Apr-17 5:09 AM, Pang, Ivan wrote:
>> Karthik, Denys,
>>
>>>> +PV = "16.9.2"
>> > Would it be better to have this in the recipe filename? I'm not
>> sure if there is a preference.
>>
>> Sorry, I haven't kept up with the patch mails. There was a specific
>> reason I moved the PV out of the filename and into the .inc file - I
>> had multiple recipes in RTOS that would need to align with this PV
>> (see ti-cgt-arm-linux.bb and ti-cgt-arm-windows.bb). This would let
>> us update only the .inc file whenever we want to bump up the version.
>>
>> Ivan
> Ivan,
>
> Since we decided to remove the linux and windows on the meta-ti
> context, we decided to move out the PV to the filename.
> I think we should merge the recipe in its current form and then work
> on subsequent changes. Would you be fine with that approach?
Ivan,
the "linux" and "windows" recipe variants simply package the installer, correct?
If this is the case, you can always create the "linux" and "windows"
packages from the current recipe through a bbappend.
- Jake
>>
>> -----Original Message-----
>> From: meta-ti-bounces@yoctoproject.org
>> [mailto:meta-ti-bounces@yoctoproject.org] On Behalf Of Dmytriyenko,
>> Denys
>> Sent: Tuesday, April 25, 2017 6:19 PM
>> To: R, Karthik
>> Cc: meta-ti@yoctoproject.org
>> Subject: Re: [meta-ti] [morty v3 1/3] ti-cgt-arm: add recipe for
>> 16.9.2
>>
>> Karthik,
>>
>> This looks much better!
>>
>> I would have said there's no reason to split it into a recipe and
>> .inc anymore, but we'll probably also need a -nativesdk recipe, so
>> keeping .inc for now.
>>
>> There are couple cosmetic nitpicks - there's no space between SUMMARY
>> and = sign; and BINFILE variable is defined twice. I'll fix those on
>> merge though.
> Thank you Denys, I will make a note on these points. The recipe went
> through a lot of rework and I overlooked these aspects.
>>
>> --
>> Denys
>>
>>
>> On Tue, Apr 25, 2017 at 04:56:02PM +0530, Karthik Ramanan wrote:
>>> Signed-off-by: Karthik Ramanan <a0393906@ti.com>
>>> ---
>>> recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb | 8 ++++++
>>> recipes-ti/devtools/ti-cgt-arm.inc | 35
>>> +++++++++++++++++++++++++
>>> 2 files changed, 43 insertions(+)
>>> create mode 100644 recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>>> create mode 100644 recipes-ti/devtools/ti-cgt-arm.inc
>>>
>>> diff --git a/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>>> b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>>> new file mode 100644
>>> index 0000000..c4fc7f0
>>> --- /dev/null
>>> +++ b/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bb
>>> @@ -0,0 +1,8 @@
>>> +include ti-cgt-arm.inc
>>> +
>>> +LIC_FILES_CHKSUM =
>>> "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=c32eadd03472353c042a8a7c4568438b"
>>> +
>>> +BINFILE_MD5 = "7b73e51e9548a4a0bf3923a336b1a974"
>>> +BINFILE_SHA256 =
>>> "d1a5c255319088be7d75b3fce1b16a2e3d60c75023db7dad16cab6d4d3425d06"
>>> +
>>> +PR_append = "r2"
>>> diff --git a/recipes-ti/devtools/ti-cgt-arm.inc
>>> b/recipes-ti/devtools/ti-cgt-arm.inc
>>> new file mode 100644
>>> index 0000000..8cc1ca4
>>> --- /dev/null
>>> +++ b/recipes-ti/devtools/ti-cgt-arm.inc
>>> @@ -0,0 +1,35 @@
>>> +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"
>>> +
>>> +inherit native
>>> +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}"
>>> +
>>> +INHIBIT_PACKAGE_STRIP = "1"
>>> +INHIBIT_SYSROOT_STRIP = "1"
>>> +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
>>> +
>>> +INSANE_SKIP_${PN} += "arch staticdev"
>>> --
>>> 1.9.1
>>>
>>> --
>>> _______________________________________________
>>> meta-ti mailing list
>>> meta-ti@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-ti
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2017-04-27 5:57 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-25 11:26 [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2 Karthik Ramanan
2017-04-25 11:26 ` [morty v3 2/3] Remove CCS dependencies for all components Karthik Ramanan
2017-04-25 11:26 ` [morty v3 3/3] ti-ccsv6: Remove the recipe and other dependencies Karthik Ramanan
2017-04-25 23:19 ` [morty v3 1/3] ti-cgt-arm: add recipe for 16.9.2 Denys Dmytriyenko
2017-04-25 23:39 ` Pang, Ivan
2017-04-26 5:57 ` Karthik Ramanan
2017-04-26 11:20 ` Jacob Stiffler
2017-04-27 5:57 ` Pang, Ivan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.