From: "Jacob Stiffler" <j-stiffler@ti.com>
To: Denys Dmytriyenko <denis@denix.org>, <meta-ti@lists.yoctoproject.org>
Cc: Denys Dmytriyenko <denys@ti.com>
Subject: Re: [EXTERNAL] [meta-ti] [dunfell/master][PATCH 1/2] ti-rtos-metadata: add recipe to fetch and deploy metadata.inc for RTOS FW binary integration
Date: Thu, 20 Aug 2020 09:59:58 -0400 [thread overview]
Message-ID: <c2cc811f-3847-e158-4deb-e2a954e4cb13@ti.com> (raw)
In-Reply-To: <1597895287-29065-1-git-send-email-denis@denix.org>
[-- Attachment #1: Type: text/plain, Size: 2127 bytes --]
On 8/19/2020 11:48 PM, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
>
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
> 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.
> +
> +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
>
>
[-- Attachment #2: Type: text/html, Size: 2968 bytes --]
next prev parent reply other threads:[~2020-08-20 14:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-20 3:48 [dunfell/master][PATCH 1/2] ti-rtos-metadata: add recipe to fetch and deploy metadata.inc for RTOS FW binary integration Denys Dmytriyenko
2020-08-20 3:48 ` [dunfell/master][PATCH 2/2] ti-rtos-firmware: add recipe " Denys Dmytriyenko
2020-08-20 13:59 ` Jacob Stiffler [this message]
2020-08-20 14:01 ` [EXTERNAL] [meta-ti] [dunfell/master][PATCH 1/2] ti-rtos-metadata: add recipe to fetch and deploy metadata.inc " Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c2cc811f-3847-e158-4deb-e2a954e4cb13@ti.com \
--to=j-stiffler@ti.com \
--cc=denis@denix.org \
--cc=denys@ti.com \
--cc=meta-ti@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.