From: Denys Dmytriyenko <denys@ti.com>
To: Angela Stegmaier <angelabaker@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [thud][PATCH] vxd-dec-fw: Add the recipe for vxd-dec-fw
Date: Fri, 21 Jun 2019 18:04:19 -0400 [thread overview]
Message-ID: <20190621220419.GO4849@beryl> (raw)
In-Reply-To: <1561069977-5243-1-git-send-email-angelabaker@ti.com>
Thanks. Overall patches look fine. May I suggest putting all 3 of the recipes
into a single directory? Say, recipes-bsp/ti-img-encode-decode/ with FW,
kernel module and test app recipes in there. There are many other cases of
such placement in meta-ti, especially LLDs. Also, can extract common pieces
(like SRC_URI) into a shared .inc file, if needed.
Denys
On Thu, Jun 20, 2019 at 05:32:57PM -0500, Angela Stegmaier wrote:
> Add the firmware packaging recipe for the video decoder
> for J721E devices.
>
> Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
> ---
> recipes-bsp/vxd-dec-fw/vxd-dec-fw_git.bb | 35 ++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
> create mode 100644 recipes-bsp/vxd-dec-fw/vxd-dec-fw_git.bb
>
> diff --git a/recipes-bsp/vxd-dec-fw/vxd-dec-fw_git.bb b/recipes-bsp/vxd-dec-fw/vxd-dec-fw_git.bb
> new file mode 100644
> index 0000000..e8a1f72
> --- /dev/null
> +++ b/recipes-bsp/vxd-dec-fw/vxd-dec-fw_git.bb
> @@ -0,0 +1,35 @@
> +SUMMARY = "Video Decoding Firmware Packaging recipe"
> +LICENSE = "TI-TFL"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=84ca7278930db001870686ad997d6bb1"
> +
> +PROTOCOL = "git"
Where's this variable used?
> +BRANCH = "master"
> +SRCREV = "0acbf1d0a7c7eaca0ef14c1a30ce313ea82147e5"
> +
> +SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
> +
> +S = "${WORKDIR}/git"
> +
> +PV = "1.0-git${SRCPV}"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +VXD_FW_DIR = "${S}/decoder/firmware/"
> +
> +# make sure that lib/firmware, and all its contents are part of the package
> +FILES_${PN} += "${base_libdir}/firmware"
> +
> +do_install() {
> + install -d ${D}${base_libdir}/firmware
> + install -m 0755 ${VXD_FW_DIR}/pvdec_full_bin.fw ${D}${base_libdir}/firmware
> +}
> +
> +# This is used to prevent the build system to strip the executables
> +INHIBIT_PACKAGE_STRIP = "1"
> +# This is used to prevent the build system to split the debug info in a separate file
> +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> +# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
> +INSANE_SKIP_${PN} += "arch"
> +
> +# we don't want to configure and build the source code
> +do_compile[noexec] = "1"
> +do_configure[noexec] = "1"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
prev parent reply other threads:[~2019-06-21 22:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-20 22:32 [thud][PATCH] vxd-dec-fw: Add the recipe for vxd-dec-fw Angela Stegmaier
2019-06-21 22:04 ` Denys Dmytriyenko [this message]
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=20190621220419.GO4849@beryl \
--to=denys@ti.com \
--cc=angelabaker@ti.com \
--cc=meta-ti@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.