blob: f0ad126ac4f52da70972401232011a4ab37b7e2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
require ti-cgt6x.inc
inherit sdk
SRC_URI = "http://install.source.dir.com/ti_cgt_c6000_6.0.21_setup_linux_x86.bin"
S = "${WORKDIR}/cgt"
# Yes, the xdc stuff still breaks with a '.' in PWD
PV = "6021"
PR = "r3"
do_install() {
install -d ${D}/${prefix}/dvsdk/cg6x_6_0_21
cp -pPrf ${S}/* ${D}/${prefix}/dvsdk/cg6x_6_0_21
# Creates rules.make file
mkdir -p ${STAGING_DIR_HOST}/ti-sdk-rules
echo "# Where the TI C6x codegen tool is installed." > ${STAGING_DIR_HOST}/ti-sdk-rules/cgt6x.Rules.make
echo "CODEGEN_INSTALL_DIR=${prefix}/dvsdk/cg6x_6_0_21" >> ${STAGING_DIR_HOST}/ti-sdk-rules/cgt6x.Rules.make
echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/cgt6x.Rules.make
}
INHIBIT_PACKAGE_STRIP = "1"
FILES_${PN} = "${prefix}/dvsdk/cg6x_6_0_21"
INSANE_SKIP_${PN} = True
|