diff options
author | Jacob Stiffler <j-stiffler@ti.com> | 2015-02-25 22:54:04 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2015-02-26 12:10:29 -0500 |
commit | fe7542b7c5e13d802cf0c1367fe7c7487e89de01 (patch) | |
tree | 022b2fbd3a685965faa85641b7a3d5f211765b36 /recipes-ti | |
parent | 936fa6c78907f8b1078ea529e733703933ec33f0 (diff) | |
download | meta-ti-fe7542b7c5e13d802cf0c1367fe7c7487e89de01.tar.gz |
ti-cgt6x: Add verion 8.0.0
* Supports native and nativesdk classes as well as target.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti')
-rw-r--r-- | recipes-ti/devtools/ti-cgt6x_8.0.0.bb | 105 |
1 files changed, 105 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 new file mode 100644 index 00000000..d2979308 --- /dev/null +++ b/recipes-ti/devtools/ti-cgt6x_8.0.0.bb | |||
@@ -0,0 +1,105 @@ | |||
1 | DESCRIPTION = "TI DSP Code Generation Tools" | ||
2 | HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" | ||
3 | LICENSE = "TI TSPA with portions under Thai Open Source Software Center & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & Public Domain & other similar" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://ti-cgt-c6000_${PV}/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" | ||
6 | LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-c6x/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" | ||
7 | |||
8 | PE = "1" | ||
9 | |||
10 | require ../includes/ti-unpack.inc | ||
11 | |||
12 | COMPATIBLE_HOST_class-target = "arm.*-linux" | ||
13 | |||
14 | # For now we only have hardfp version for target class | ||
15 | python __anonymous() { | ||
16 | c = bb.data.getVar("CLASSOVERRIDE", d, 1) | ||
17 | |||
18 | if c == "class-target": | ||
19 | tunes = bb.data.getVar("TUNE_FEATURES", d, 1) | ||
20 | if not tunes: | ||
21 | return | ||
22 | pkgn = bb.data.getVar("PN", d, 1) | ||
23 | pkgv = bb.data.getVar("PV", d, 1) | ||
24 | if "callconvention-hard" not in tunes: | ||
25 | bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) | ||
26 | raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) | ||
27 | } | ||
28 | |||
29 | |||
30 | BINFILE = "ti_cgt_c6000_${PV}_linux_installer_x86.bin" | ||
31 | BINFILE_NAME = "cgt6x_x86_installer" | ||
32 | TI_BIN_UNPK_ARGS = "--prefix ${S}" | ||
33 | TI_BIN_UNPK_CMDS = "" | ||
34 | |||
35 | BINFILE_class-target = "ti_cgt_c6000_${PV}_armlinuxa8hf_busybox_installer.sh" | ||
36 | BINFILE_NAME_class-target = "cgt6x_arm_installer" | ||
37 | |||
38 | SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/C6000/Production/${PV}/${BINFILE};name=${BINFILE_NAME}" | ||
39 | |||
40 | SRC_URI[cgt6x_x86_installer.md5sum] = "ff83845672090bf0a669bba7b0cadf56" | ||
41 | SRC_URI[cgt6x_x86_installer.sha256sum] = "297f77a00b211b3c4afa23afe7319e98b2400b5d2eb0f8c8cfe3ef7d7aa4d709" | ||
42 | |||
43 | SRC_URI[cgt6x_arm_installer.md5sum] = "13961e5a1da4c310ea8c8707ab981fff" | ||
44 | SRC_URI[cgt6x_arm_installer.sha256sum] = "cb24ae05baffbd44d6dedba68743be09fd883e04403e069c437c486533d8fffb" | ||
45 | |||
46 | do_install() { | ||
47 | install -d ${D}${bindir} | ||
48 | for binfile in ${S}/ti-cgt-c6000_${PV}/bin/*; do | ||
49 | install -m 755 ${binfile} ${D}${bindir} | ||
50 | done | ||
51 | |||
52 | install -d ${D}${datadir}/ti/cgt-c6x/include | ||
53 | for includefile in ${S}/ti-cgt-c6000_${PV}/include/*; do | ||
54 | install -m 644 ${includefile} ${D}${datadir}/ti/cgt-c6x/include | ||
55 | done | ||
56 | |||
57 | install -d ${D}${datadir}/ti/cgt-c6x/lib | ||
58 | for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.a; do | ||
59 | install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib | ||
60 | done | ||
61 | |||
62 | for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.cmd; do | ||
63 | install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib | ||
64 | done | ||
65 | |||
66 | for libfile in ${S}/ti-cgt-c6000_${PV}/lib/*.lib; do | ||
67 | install -m 644 ${libfile} ${D}${datadir}/ti/cgt-c6x/lib | ||
68 | done | ||
69 | |||
70 | install -d ${D}${datadir}/ti/cgt-c6x/lib/src | ||
71 | for srcfile in ${S}/ti-cgt-c6000_${PV}/lib/src/*; do | ||
72 | install -m 644 ${srcfile} ${D}${datadir}/ti/cgt-c6x/lib/src | ||
73 | done | ||
74 | |||
75 | install -d ${D}${datadir}/man/man1 | ||
76 | for manfile in ${S}/ti-cgt-c6000_${PV}/man/man1/*; do | ||
77 | install -m 644 ${manfile} ${D}${datadir}/man/man1 | ||
78 | done | ||
79 | |||
80 | install -d ${D}${datadir}/doc/ti/cgt-c6x | ||
81 | for docfile in ${S}/ti-cgt-c6000_${PV}/*.txt; do | ||
82 | install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x | ||
83 | done | ||
84 | |||
85 | for docfile in ${S}/ti-cgt-c6000_${PV}/*.htm; do | ||
86 | install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x | ||
87 | done | ||
88 | |||
89 | for docfile in ${S}/ti-cgt-c6000_${PV}/*.spdx; do | ||
90 | install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x | ||
91 | done | ||
92 | |||
93 | for docfile in ${S}/ti-cgt-c6000_${PV}/doc/*; do | ||
94 | install -m 644 ${docfile} ${D}${datadir}/doc/ti/cgt-c6x | ||
95 | done | ||
96 | |||
97 | } | ||
98 | |||
99 | do_install_class-target() { | ||
100 | ${WORKDIR}/${BINFILE} --prefix ${D} | ||
101 | } | ||
102 | |||
103 | FILES_${PN} += "${datadir}/ti/*" | ||
104 | |||
105 | BBCLASSEXTEND = "native nativesdk" | ||