blob: 35079bb0d363009aab7766f52b4a429ad929b3a3 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
SUMMARY = "TI Software Tools"
HOMEPAGE = "https://git.ti.com/ep-processor-libraries/swtools"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://ti/mas/swtools/copyright.txt;md5=b1f52a1435051fdb18f8885b0384147d"
require ../includes/ti-paths.inc
DEPENDS = "ti-cgt6x-native \
ti-sysbios \
ti-xdctools-native"
PV = "5_0_8"
PR = "r0"
S = "${WORKDIR}/git"
BRANCH = "master"
SRC_URI = "git://git.ti.com/ep-processor-libraries/swtools.git;protocol=git;branch=${BRANCH}"
SRCREV = "d0c1022954b489d5f3d8d2f5c81d8c6a392f4af4"
export C64PCODEGENTOOL = "${CGTOOLS_INSTALL_DIR}"
export C674CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}"
export C66CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}"
PATH_append = ":${XDC_INSTALL_DIR}"
XDCPATH .= "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;"
export XDCPATH
do_compile() {
cd ${S}/ti/mas/swtools
xdc
}
do_install() {
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
install -d ${D}${SWTOOLS_INSTALL_DIR_RECIPE}
cp -pPrf ${S}/* ${D}${SWTOOLS_INSTALL_DIR_RECIPE}
}
FILES_${PN}-dev += "${SWTOOLS_INSTALL_DIR_RECIPE}"
INSANE_SKIP_${PN}-dev = "arch staticdev"
ALLOW_EMPTY_${PN} = "1"
COMPATIBLE_HOST ?= "null"
COMPATIBLE_HOST_ti-soc = "(.*)"
|