diff options
author | Ivan Pang <i-pang@ti.com> | 2017-06-21 05:20:07 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2017-06-23 12:22:42 -0400 |
commit | d64dff779559d15a2cfa68725628d4ed1db5490b (patch) | |
tree | 10a16315258c78c15af8b53e3c6acee37408192a | |
parent | 5378306336b3d99a99ad6365be200949b62b805a (diff) | |
download | meta-ti-d64dff779559d15a2cfa68725628d4ed1db5490b.tar.gz |
starterware-rtos: added recipe for RTOS starterware
Signed-off-by: Ivan Pang <i-pang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r-- | recipes-bsp/starterware/starterware-rtos_git.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes-bsp/starterware/starterware-rtos_git.bb b/recipes-bsp/starterware/starterware-rtos_git.bb new file mode 100644 index 00000000..5584cb2a --- /dev/null +++ b/recipes-bsp/starterware/starterware-rtos_git.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | LICENSE = "BSD-3-Clause" | ||
2 | LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3" | ||
3 | |||
4 | COMPATIBLE_MACHINE = "ti33x|ti43x" | ||
5 | DEPENDS = "gcc-arm-none-eabi-native" | ||
6 | |||
7 | require recipes-ti/includes/ti-paths.inc | ||
8 | |||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git" | ||
12 | STARTERWARE_GIT_PROTOCOL = "git" | ||
13 | STARTERWARE_GIT_BRANCH = "master" | ||
14 | |||
15 | # Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A" | ||
16 | STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144" | ||
17 | |||
18 | BRANCH = "${STARTERWARE_GIT_BRANCH}" | ||
19 | SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}" | ||
20 | |||
21 | SRCREV = "${STARTERWARE_SRCREV}" | ||
22 | PV = "02.01.01.03A" | ||
23 | PR = "r0" | ||
24 | |||
25 | S = "${WORKDIR}/git" | ||
26 | |||
27 | PARTNO_ti33x = "am335x" | ||
28 | PARTNO_ti43x = "am437x" | ||
29 | |||
30 | export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}" | ||
31 | export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}" | ||
32 | |||
33 | do_compile() { | ||
34 | cd build | ||
35 | ./release_${PARTNO}.sh | ||
36 | } | ||
37 | |||
38 | do_install() { | ||
39 | install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware | ||
40 | find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \; | ||
41 | } | ||
42 | |||
43 | FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" | ||
44 | |||
45 | INHIBIT_PACKAGE_STRIP = "1" | ||
46 | INHIBIT_SYSROOT_STRIP = "1" | ||
47 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
48 | INSANE_SKIP_${PN} = "arch staticdev" | ||