On Thu, Aug 20, 2020 at 09:59:58AM -0400, Jacob Stiffler wrote:
>
> On 8/19/2020 11:48 PM, Denys Dmytriyenko wrote:
> >From: Denys Dmytriyenko <[email protected]>
> >
> >Signed-off-by: Denys Dmytriyenko <[email protected]>
> >---
> > recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb | 41
> > ++++++++++++++++++++++++++++++
> > 1 file changed, 41 insertions(+)
> > create mode 100644 recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
> >
> >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 0000000..985ff8a
> >--- /dev/null
> >+++ b/recipes-ti/ti-rtos-bin/ti-rtos-metadata.bb
> >@@ -0,0 +1,41 @@
> >+LICENSE = "BSD-3-Clause"
> >+LIC_FILES_CHKSUM =
> >"file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
> >+
> >+COMPATIBLE_MACHINE = "k3"
> >+
> >+PACKAGE_ARCH = "${MACHINE_ARCH}"
> >+
> >+INHIBIT_DEFAULT_DEPS = "1"
> >+
> >+inherit nopackages deploy
> >+
> >+PLAT_SFX = ""
> >+PLAT_SFX_j7 = "/j721e"
> >+PLAT_SFX_j7200-evm = "/j7200"
> >+PLAT_SFX_am65xx = "/am65xx"
> >+
> >+# Use weak assignment to set defaults to TI_RTOS_METADATA_* variables
> >+TI_RTOS_METADATA_URI ?=
> >"git://git.ti.com/processor-sdk/coresdk_rtos_releases.git"
> >+TI_RTOS_METADATA_PROTOCOL ?= "git"
> >+TI_RTOS_METADATA_SRCREV ?= "2290c123a0c4ba4804d794c39532296a9c7b9587"
> >+TI_RTOS_METADATA_BRANCH ?= "master"
> >+TI_RTOS_METADATA_DIR ?= "${PLAT_SFX}"
> >+TI_RTOS_METADATA_FILE ?= "${S}${TI_RTOS_METADATA_DIR}/metadata.inc"
> >+
> >+PV = "1.0.0"
>
> Since this may be set to AUTOREV, I would suggest adding SRCPV here. This
> will help track to exact version as well as ensure that the remote is
> checked upon each build and that the commit ID is not just cached.
Sounds good, thanks.
> >+S = "${WORKDIR}/git"
> >+
> >+SRC_URI =
> >"${TI_RTOS_METADATA_URI};branch=${TI_RTOS_METADATA_BRANCH};protocol=${TI_RTOS_METADATA_PROTOCOL}"
> >+SRCREV = "${TI_RTOS_METADATA_SRCREV}"
> >+
> >+do_configure[noexec] = "1"
> >+do_compile[noexec] = "1"
> >+do_install[noexec] = "1"
> >+
> >+do_deploy () {
> >+ install -d ${DEPLOYDIR}
> >+ install -m 0644 ${TI_RTOS_METADATA_FILE} ${DEPLOYDIR}/
> >+}
> >+
> >+addtask deploy before do_build after do_compile
> >
> >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13078):
https://lists.yoctoproject.org/g/meta-ti/message/13078
Mute This Topic: https://lists.yoctoproject.org/mt/76308496/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-