summaryrefslogtreecommitdiffstats
path: root/recipes-ti/devtools
diff options
context:
space:
mode:
authorJacob Stiffler <j-stiffler@ti.com>2015-05-08 18:33:57 +0000
committerDenys Dmytriyenko <denys@ti.com>2015-05-22 13:56:23 -0400
commitab2753ca7dcd850eaaa7360df7a429d827384526 (patch)
treeb90cb4ad3d6e6e8670c3a32988295766f1116ee2 /recipes-ti/devtools
parent63f1954c616ea32a0fbc6f5408ad3dd330a6c324 (diff)
downloadmeta-ti-ab2753ca7dcd850eaaa7360df7a429d827384526.tar.gz
ti-cgt6x: Fix installation for native and nativesdk classes.
* Many RTOS packages assume that the entire cgt is installed in a single directory as opposed to standard install paths. 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-cgt6x_8.0.0.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-ti/devtools/ti-cgt6x_8.0.0.bb b/recipes-ti/devtools/ti-cgt6x_8.0.0.bb
index 69c6d608..2353ebd9 100644
--- a/recipes-ti/devtools/ti-cgt6x_8.0.0.bb
+++ b/recipes-ti/devtools/ti-cgt6x_8.0.0.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://ti-cgt-c6000_${PV}/LICENSE.txt;md5=b6311962635a4f1563
6LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-c6x/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" 6LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-c6x/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca"
7 7
8PE = "1" 8PE = "1"
9PR = "r1"
9 10
10require ../includes/ti-unpack.inc 11require ../includes/ti-unpack.inc
11 12
@@ -49,6 +50,11 @@ do_install() {
49 install -m 755 ${binfile} ${D}${bindir} 50 install -m 755 ${binfile} ${D}${bindir}
50 done 51 done
51 52
53 install -d ${D}${datadir}/ti/cgt-c6x/bin
54 for binfile in ${S}/ti-cgt-c6000_${PV}/bin/*; do
55 install -m 755 ${binfile} ${D}${datadir}/ti/cgt-c6x/bin
56 done
57
52 install -d ${D}${datadir}/ti/cgt-c6x/include 58 install -d ${D}${datadir}/ti/cgt-c6x/include
53 for includefile in ${S}/ti-cgt-c6000_${PV}/include/*; do 59 for includefile in ${S}/ti-cgt-c6000_${PV}/include/*; do
54 install -m 644 ${includefile} ${D}${datadir}/ti/cgt-c6x/include 60 install -m 644 ${includefile} ${D}${datadir}/ti/cgt-c6x/include
@@ -102,4 +108,6 @@ do_install_class-target() {
102 108
103FILES_${PN} += "${datadir}/ti/*" 109FILES_${PN} += "${datadir}/ti/*"
104 110
111FILES_${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug"
112
105BBCLASSEXTEND = "native nativesdk" 113BBCLASSEXTEND = "native nativesdk"