diff options
author | Sam Nelson <sam.nelson@ti.com> | 2018-09-15 08:50:05 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2018-09-18 20:30:17 +0000 |
commit | aff9cb2a62c37e78e3fa48bddd15fa4f5baf448f (patch) | |
tree | f543b84713faa2324346eb5653c27b554b475f1a | |
parent | 6fdf9a5b3090fd63547785ae6a248e4668734e7b (diff) | |
download | meta-ti-aff9cb2a62c37e78e3fa48bddd15fa4f5baf448f.tar.gz |
ti-cgt-arm: Update to add rtsv7R4_A_le_v3D16_eabi.lib
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
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r-- | recipes-ti/devtools/ti-cgt-arm.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc index 436fab12..b9f75668 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 | |||
9 | 9 | ||
10 | S = "${WORKDIR}/ti-cgt-arm-${PV}" | 10 | S = "${WORKDIR}/ti-cgt-arm-${PV}" |
11 | 11 | ||
12 | PR = "r1" | ||
13 | |||
12 | SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}" | 14 | SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}" |
13 | 15 | ||
14 | BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin" | 16 | BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin" |
15 | TI_BIN_UNPK_ARGS = "--prefix ${S}" | 17 | TI_BIN_UNPK_ARGS = "--prefix ${S}" |
16 | TI_BIN_UNPK_CMDS = "" | 18 | TI_BIN_UNPK_CMDS = "" |
17 | 19 | ||
20 | do_compile_append() { | ||
21 | cd ${S}/ti-cgt-arm_${PV}.LTS | ||
22 | export PATH=${PATH}:${S}/ti-cgt-arm_${PV}.LTS/bin | ||
23 | lib/mklib --pattern=rtsv7R4_A_le_v3D16_eabi.lib | ||
24 | } | ||
25 | |||
18 | do_install() { | 26 | do_install() { |
19 | install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} | 27 | install -d ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} |
20 | cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} | 28 | cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE} |