summaryrefslogtreecommitdiffstats
path: root/recipes-ti/devtools
diff options
context:
space:
mode:
authorJacob Stiffler <j-stiffler@ti.com>2018-10-03 23:25:02 +0000
committerDenys Dmytriyenko <denys@ti.com>2018-10-09 02:56:30 +0000
commitc3ade2c236fafc9fca110c6fb1f58dc3f6ba2691 (patch)
tree971fef92f4c495096d5fb2a99ffa7ba3d942ccdb /recipes-ti/devtools
parent5aa1da7eed39ff301603bb59fefe6b2dc927e70c (diff)
downloadmeta-ti-c3ade2c236fafc9fca110c6fb1f58dc3f6ba2691.tar.gz
ti-cgt-arm: "clean" library in do_configure
* Prevent a potential error as mklib will return an error if the library already exists. * The error encountered is the following: | >> ERROR: mklib: destination library .../work/x86_64-linux/ti-cgt-arm-native/16.9.2-r1/ti-cgt-arm-16.9.2/ti-cgt-arm_16.9.2.LTS/lib/rtsv7R4_A_le_v3D16_eabi.lib already exists | WARNING: .../work/x86_64-linux/ti-cgt-arm-native/16.9.2-r1/temp/run.do_compile.13758:1 exit 1 from 'lib/mklib --pattern=rtsv7R4_A_le_v3D16_eabi.lib' Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti/devtools')
-rw-r--r--recipes-ti/devtools/ti-cgt-arm.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-ti/devtools/ti-cgt-arm.inc b/recipes-ti/devtools/ti-cgt-arm.inc
index b9f75668..d55b55b4 100644
--- a/recipes-ti/devtools/ti-cgt-arm.inc
+++ b/recipes-ti/devtools/ti-cgt-arm.inc
@@ -9,7 +9,7 @@ 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" 12PR = "r2"
13 13
14SRC_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}"
15 15
@@ -17,6 +17,12 @@ BINFILE = "ti_cgt_tms470_${PV}.LTS_linux_installer_x86.bin"
17TI_BIN_UNPK_ARGS = "--prefix ${S}" 17TI_BIN_UNPK_ARGS = "--prefix ${S}"
18TI_BIN_UNPK_CMDS = "" 18TI_BIN_UNPK_CMDS = ""
19 19
20do_configure_append() {
21 # Remove the library if it exists to prevent an error when building the
22 # library in do_compile().
23 rm -f ./ti-cgt-arm_${PV}.LTS/lib/rtsv7R4_A_le_v3D16_eabi.lib
24}
25
20do_compile_append() { 26do_compile_append() {
21 cd ${S}/ti-cgt-arm_${PV}.LTS 27 cd ${S}/ti-cgt-arm_${PV}.LTS
22 export PATH=${PATH}:${S}/ti-cgt-arm_${PV}.LTS/bin 28 export PATH=${PATH}:${S}/ti-cgt-arm_${PV}.LTS/bin