[meta-ti] [EXTERNAL] [rocko][PATCH] ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib
Jacob Stiffler
j-stiffler at ti.com
Wed Sep 19 09:08:25 PDT 2018
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 at 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}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20180919/51414f15/attachment.html>
More information about the meta-ti
mailing list