summaryrefslogtreecommitdiffstats
path: root/recipes-ti
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-18 20:30:17 +0000
commitaff9cb2a62c37e78e3fa48bddd15fa4f5baf448f (patch)
treef543b84713faa2324346eb5653c27b554b475f1a /recipes-ti
parent6fdf9a5b3090fd63547785ae6a248e4668734e7b (diff)
downloadmeta-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>
Diffstat (limited to 'recipes-ti')
-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}