summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Pang <i-pang@ti.com>2017-06-21 05:20:07 +0000
committerDenys Dmytriyenko <denys@ti.com>2017-06-23 12:22:42 -0400
commitd64dff779559d15a2cfa68725628d4ed1db5490b (patch)
tree10a16315258c78c15af8b53e3c6acee37408192a
parent5378306336b3d99a99ad6365be200949b62b805a (diff)
downloadmeta-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.bb48
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 @@
1LICENSE = "BSD-3-Clause"
2LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
3
4COMPATIBLE_MACHINE = "ti33x|ti43x"
5DEPENDS = "gcc-arm-none-eabi-native"
6
7require recipes-ti/includes/ti-paths.inc
8
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
12STARTERWARE_GIT_PROTOCOL = "git"
13STARTERWARE_GIT_BRANCH = "master"
14
15# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
16STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
17
18BRANCH = "${STARTERWARE_GIT_BRANCH}"
19SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
20
21SRCREV = "${STARTERWARE_SRCREV}"
22PV = "02.01.01.03A"
23PR = "r0"
24
25S = "${WORKDIR}/git"
26
27PARTNO_ti33x = "am335x"
28PARTNO_ti43x = "am437x"
29
30export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
31export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
32
33do_compile() {
34 cd build
35 ./release_${PARTNO}.sh
36}
37
38do_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
43FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
44
45INHIBIT_PACKAGE_STRIP = "1"
46INHIBIT_SYSROOT_STRIP = "1"
47INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
48INSANE_SKIP_${PN} = "arch staticdev"