summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2020-08-21 00:01:15 +0000
committerDenys Dmytriyenko <denys@ti.com>2020-08-20 18:13:25 +0000
commita66d20c1b115109ad7247d0dd9ea3d259b50aad9 (patch)
tree1afdab63e7c1de9f723912560fbf2e4af65ba5c3
parente0b51996e0058d56e4b4186867ba62a1865a9ca9 (diff)
downloadmeta-ti-a66d20c1b115109ad7247d0dd9ea3d259b50aad9.tar.gz
ti-rtos-metadata: add recipe to fetch and deploy metadata.inc for RTOS FW binary integration
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb b/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
new file mode 100644
index 00000000..d49d7d85
--- /dev/null
+++ b/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
@@ -0,0 +1,41 @@
1LICENSE = "BSD-3-Clause"
2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
3
4COMPATIBLE_MACHINE = "k3"
5
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7
8INHIBIT_DEFAULT_DEPS = "1"
9
10inherit nopackages deploy
11
12PLAT_SFX = ""
13PLAT_SFX_j7 = "/j721e"
14PLAT_SFX_j7200-evm = "/j7200"
15PLAT_SFX_am65xx = "/am65xx"
16
17# Use weak assignment to set defaults to TI_RTOS_METADATA_* variables
18TI_RTOS_METADATA_URI ?= "git://git.ti.com/processor-sdk/coresdk_rtos_releases.git"
19TI_RTOS_METADATA_PROTOCOL ?= "git"
20TI_RTOS_METADATA_SRCREV ?= "2290c123a0c4ba4804d794c39532296a9c7b9587"
21TI_RTOS_METADATA_BRANCH ?= "master"
22TI_RTOS_METADATA_DIR ?= "${PLAT_SFX}"
23TI_RTOS_METADATA_FILE ?= "${S}${TI_RTOS_METADATA_DIR}/metadata.inc"
24
25PV = "1.0.0+git${SRCPV}"
26
27S = "${WORKDIR}/git"
28
29SRC_URI = "${TI_RTOS_METADATA_URI};branch=${TI_RTOS_METADATA_BRANCH};protocol=${TI_RTOS_METADATA_PROTOCOL}"
30SRCREV = "${TI_RTOS_METADATA_SRCREV}"
31
32do_configure[noexec] = "1"
33do_compile[noexec] = "1"
34do_install[noexec] = "1"
35
36do_deploy () {
37 install -d ${DEPLOYDIR}
38 install -m 0644 ${TI_RTOS_METADATA_FILE} ${DEPLOYDIR}/
39}
40
41addtask deploy before do_build after do_compile