* [rocko][PATCH] ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib
@ 2018-09-15 2:50 Sam Nelson
2018-09-18 0:40 ` Denys Dmytriyenko
2018-09-19 16:08 ` [EXTERNAL] " Jacob Stiffler
0 siblings, 2 replies; 4+ messages in thread
From: Sam Nelson @ 2018-09-15 2:50 UTC (permalink / raw)
To: meta-ti
rtsv7R4_A_le_v3D16_eabi.lib library is not included in the cgt package.
This library is built dynamically during linking during a single build.
Bu in case of parallel make, dynamic creation of libraries causes
failures.
Hence building and adding the library to the package.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>t
---
recipes-ti/devtools/ti-cgt-arm.inc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
index 436fab1..b9f7566 100644
--- a/recipes-ti/devtools/ti-cgt-arm.inc
+++ b/recipes-ti/devtools/ti-cgt-arm.inc
@@ -9,12 +9,20 @@ require recipes-ti/includes/ti-paths.inc
S = "${WORKDIR}/ti-cgt-arm-${PV}"
+PR = "r1"
+
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_compile_append() {
+ cd ${S}/ti-cgt-arm_${PV}.LTS
+ export PATH=${PATH}:${S}/ti-cgt-arm_${PV}.LTS/bin
+ lib/mklib --pattern=rtsv7R4_A_le_v3D16_eabi.lib
+}
+
do_install() {
install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [rocko][PATCH] ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib
2018-09-15 2:50 [rocko][PATCH] ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib Sam Nelson
@ 2018-09-18 0:40 ` Denys Dmytriyenko
2018-09-18 12:50 ` Nelson, Sam
2018-09-19 16:08 ` [EXTERNAL] " Jacob Stiffler
1 sibling, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2018-09-18 0:40 UTC (permalink / raw)
To: Sam Nelson; +Cc: meta-ti
On Fri, Sep 14, 2018 at 10:50:05PM -0400, Sam Nelson wrote:
> rtsv7R4_A_le_v3D16_eabi.lib library is not included in the cgt package.
> This library is built dynamically during linking during a single build.
> Bu in case of parallel make, dynamic creation of libraries causes
> failures.
> Hence building and adding the library to the package.
Is this applicable to all platforms?
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>t
> ---
> recipes-ti/devtools/ti-cgt-arm.inc | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
> index 436fab1..b9f7566 100644
> --- a/recipes-ti/devtools/ti-cgt-arm.inc
> +++ b/recipes-ti/devtools/ti-cgt-arm.inc
> @@ -9,12 +9,20 @@ require recipes-ti/includes/ti-paths.inc
>
> S = "${WORKDIR}/ti-cgt-arm-${PV}"
>
> +PR = "r1"
> +
> 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_compile_append() {
> + cd ${S}/ti-cgt-arm_${PV}.LTS
> + export PATH=${PATH}:${S}/ti-cgt-arm_${PV}.LTS/bin
> + lib/mklib --pattern=rtsv7R4_A_le_v3D16_eabi.lib
> +}
> +
> do_install() {
> install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
> cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [rocko][PATCH] ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib
2018-09-18 0:40 ` Denys Dmytriyenko
@ 2018-09-18 12:50 ` Nelson, Sam
0 siblings, 0 replies; 4+ messages in thread
From: Nelson, Sam @ 2018-09-18 12:50 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-ti
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Monday, September 17, 2018 8:41 PM
> To: Nelson, Sam
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [rocko][PATCH] ti-cgt-arm: Update to add
> rtsv7R4_A_le_v3D16_eabi.lib
>
> On Fri, Sep 14, 2018 at 10:50:05PM -0400, Sam Nelson wrote:
> > rtsv7R4_A_le_v3D16_eabi.lib library is not included in the cgt package.
> > This library is built dynamically during linking during a single build.
> > Bu in case of parallel make, dynamic creation of libraries causes
> > failures.
> > Hence building and adding the library to the package.
>
> Is this applicable to all platforms?
It only affects platforms that use armv7 cores. On second thought this can be modified to be added only for applicable platforms.
>
>
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>t
> > ---
> > recipes-ti/devtools/ti-cgt-arm.inc | 8 ++++++++
> > 1 file changed, 8 insertions(+)
> >
> > diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-
> arm.inc
> > index 436fab1..b9f7566 100644
> > --- a/recipes-ti/devtools/ti-cgt-arm.inc
> > +++ b/recipes-ti/devtools/ti-cgt-arm.inc
> > @@ -9,12 +9,20 @@ require recipes-ti/includes/ti-paths.inc
> >
> > S = "${WORKDIR}/ti-cgt-arm-${PV}"
> >
> > +PR = "r1"
> > +
> > 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_compile_append() {
> > + cd ${S}/ti-cgt-arm_${PV}.LTS
> > + export PATH=${PATH}:${S}/ti-cgt-arm_${PV}.LTS/bin
> > + lib/mklib --pattern=rtsv7R4_A_le_v3D16_eabi.lib
> > +}
> > +
> > do_install() {
> > install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
> > cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [EXTERNAL] [rocko][PATCH] ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib
2018-09-15 2:50 [rocko][PATCH] ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib Sam Nelson
2018-09-18 0:40 ` Denys Dmytriyenko
@ 2018-09-19 16:08 ` Jacob Stiffler
1 sibling, 0 replies; 4+ messages in thread
From: Jacob Stiffler @ 2018-09-19 16:08 UTC (permalink / raw)
To: Sam Nelson, meta-ti
[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]
Denys,
Can you please backport this to ti2018.03?
Thank you,
Jake
On 9/14/2018 10:50 PM, Sam Nelson wrote:
> rtsv7R4_A_le_v3D16_eabi.lib library is not included in the cgt package.
> This library is built dynamically during linking during a single build.
> Bu in case of parallel make, dynamic creation of libraries causes
> failures.
> Hence building and adding the library to the package.
>
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>t
> ---
> recipes-ti/devtools/ti-cgt-arm.inc | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
> index 436fab1..b9f7566 100644
> --- a/recipes-ti/devtools/ti-cgt-arm.inc
> +++ b/recipes-ti/devtools/ti-cgt-arm.inc
> @@ -9,12 +9,20 @@ require recipes-ti/includes/ti-paths.inc
>
> S = "${WORKDIR}/ti-cgt-arm-${PV}"
>
> +PR = "r1"
> +
> 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_compile_append() {
> + cd ${S}/ti-cgt-arm_${PV}.LTS
> + export PATH=${PATH}:${S}/ti-cgt-arm_${PV}.LTS/bin
> + lib/mklib --pattern=rtsv7R4_A_le_v3D16_eabi.lib
> +}
> +
> do_install() {
> install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
> cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
[-- Attachment #2: Type: text/html, Size: 2059 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-09-19 16:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-15 2:50 [rocko][PATCH] ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib Sam Nelson
2018-09-18 0:40 ` Denys Dmytriyenko
2018-09-18 12:50 ` Nelson, Sam
2018-09-19 16:08 ` [EXTERNAL] " Jacob Stiffler
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.