summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2018-09-15 08:50:05 +0000
committerDenys Dmytriyenko <denys@ti.com>2018-09-19 16:26:17 +0000
commit4d58ead1e5d39ed97b6dabffa00369d365c17a65 (patch)
treeddca5dc432ece3e5f78162f4decf0ce7867bfd31
parenta3f0621e6049366d4a865770b7851593cf8d7e12 (diff)
downloadmeta-ti-4d58ead1e5d39ed97b6dabffa00369d365c17a65.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.inc8
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
10S = "${WORKDIR}/ti-cgt-arm-${PV}" 10S = "${WORKDIR}/ti-cgt-arm-${PV}"
11 11
12PR = "r1"
13
12SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}" 14SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/TMS470/${PV}.LTS/${BINFILE};name=${BINFILE_NAME}"
13 15
14BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin" 16BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
15TI_BIN_UNPK_ARGS = "--prefix ${S}" 17TI_BIN_UNPK_ARGS = "--prefix ${S}"
16TI_BIN_UNPK_CMDS = "" 18TI_BIN_UNPK_CMDS = ""
17 19
20do_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
18do_install() { 26do_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}