mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-01 16:30:45 +00:00
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>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
63f1954c61
commit
ab2753ca7d
@@ -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"
|
LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-c6x/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca"
|
||||||
|
|
||||||
PE = "1"
|
PE = "1"
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
require ../includes/ti-unpack.inc
|
require ../includes/ti-unpack.inc
|
||||||
|
|
||||||
@@ -49,6 +50,11 @@ do_install() {
|
|||||||
install -m 755 ${binfile} ${D}${bindir}
|
install -m 755 ${binfile} ${D}${bindir}
|
||||||
done
|
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
|
install -d ${D}${datadir}/ti/cgt-c6x/include
|
||||||
for includefile in ${S}/ti-cgt-c6000_${PV}/include/*; do
|
for includefile in ${S}/ti-cgt-c6000_${PV}/include/*; do
|
||||||
install -m 644 ${includefile} ${D}${datadir}/ti/cgt-c6x/include
|
install -m 644 ${includefile} ${D}${datadir}/ti/cgt-c6x/include
|
||||||
@@ -102,4 +108,6 @@ do_install_class-target() {
|
|||||||
|
|
||||||
FILES_${PN} += "${datadir}/ti/*"
|
FILES_${PN} += "${datadir}/ti/*"
|
||||||
|
|
||||||
|
FILES_${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user