[meta-ti] [PATCH] ti-cgt6x: Fix installation for native and nativesdk classes.

Jacob Stiffler j-stiffler at ti.com
Fri May 8 05:33:57 PDT 2015


* 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 at ti.com>
---
 recipes-ti/devtools/ti-cgt6x_8.0.0.bb |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/recipes-ti/devtools/ti-cgt6x_8.0.0.bb b/recipes-ti/devtools/ti-cgt6x_8.0.0.bb
index 69c6d60..2353ebd 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
 LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-c6x/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca"
 
 PE = "1"
+PR = "r1"
 
 require ../includes/ti-unpack.inc
 
@@ -49,6 +50,11 @@ do_install() {
         install -m 755 ${binfile} ${D}${bindir}
     done
 
+    install -d ${D}${datadir}/ti/cgt-c6x/bin
+    for binfile in ${S}/ti-cgt-c6000_${PV}/bin/*; do
+        install -m 755 ${binfile} ${D}${datadir}/ti/cgt-c6x/bin
+    done
+
     install -d ${D}${datadir}/ti/cgt-c6x/include
     for includefile in ${S}/ti-cgt-c6000_${PV}/include/*; do
         install -m 644 ${includefile} ${D}${datadir}/ti/cgt-c6x/include
@@ -102,4 +108,6 @@ do_install_class-target() {
 
 FILES_${PN} += "${datadir}/ti/*"
 
+FILES_${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
1.7.9.5



More information about the meta-ti mailing list