From: Denys Dmytriyenko <denys@ti.com>
To: Hongmei Gou <h-gou@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH] ipumm-fw: update recipe to build ipumm-fw from git source
Date: Tue, 27 Oct 2015 12:21:30 -0400 [thread overview]
Message-ID: <20151027162129.GO8780@edge> (raw)
In-Reply-To: <1445961951-7182-1-git-send-email-h-gou@ti.com>
On Tue, Oct 27, 2015 at 12:05:51PM -0400, Hongmei Gou wrote:
> Signed-off-by: Hongmei Gou <h-gou@ti.com>
> ---
> recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb | 46 ++++++++++++++++++++++++-----
> 1 file changed, 38 insertions(+), 8 deletions(-)
>
> diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb
> index f537179..8b0dc21 100644
> --- a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb
> +++ b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.09.01.bb
> @@ -9,27 +9,57 @@ python __anonymous() {
> DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
> LICENSE = "TI-TSPA"
>
> -LIC_FILES_CHKSUM = "file://MMIP-${PV}-Manifest.doc;md5=5803e271087f74d03239d868bebcc2c7"
> +LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=036f6300761559fbc5ce7d06e1ccea5a"
>
> COMPATIBLE_MACHINE = "dra7xx"
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> RDEPENDS_${PN} = " libdce"
>
> -SRC_URI = "http://downloads.ti.com/infotainment/esd/jacinto6/glsdk/ipumm/3_00_09_01/exports/ipumm-dra7xx-evm-${PV}.tar.gz;protocol=http"
> +SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
>
> -SRC_URI[md5sum] = "bf15624e26bdef4dbb67b98ccd8b9754"
> -SRC_URI[sha256sum] = "e70a38b62e3e4d11d5ce68f0980de4df5256bd597068f179e220fa5afcd065fe"
> +SRCREV = "7f15373c21a9a98b8881d81c3681c09e858a9d2c"
>
> -S = "${WORKDIR}/ipumm-dra7xx-evm-${PV}"
> +S = "${WORKDIR}/git"
> +
> +PV = "3.00.09.01"
This now comes from the filename. Do you want to rename recipe into _git.bb?
> +require recipes-ti/includes/ti-paths.inc
> +require recipes-ti/includes/ti-staging.inc
> +
> +DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
> +
> +export HWVERSION="ES10"
> +export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
> +
> +export XDCVERSION="ti-xdctools-tree"
> +export BIOSVERSION="ti-sysbios-tree"
> +export IPCVERSION="ti-ipc-tree"
> +export CEVERSION="ti-codec-engine-tree"
> +export FCVERSION="ti-framework-components-tree"
> +export XDAISVERSION="ti-xdais-tree"
> +
> +export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}"
> +export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
> +
> +do_configure() {
> + cd ${S}
You probably need B = ${S} instead.
> + make unconfig
> + make vayu_smp_config
Use oe_runmake.
> +}
> +
> +
> +do_compile() {
> + cd ${S}
> + make
Same as above.
> +}
>
> TARGET = "dra7-ipu2-fw.xem4"
>
> do_install() {
> mkdir -p ${D}${base_libdir}/firmware
> - cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
> + cp ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
> }
>
> FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
>
> -PR = "r0"
> +PR = "r1"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
prev parent reply other threads:[~2015-10-27 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-27 16:05 [PATCH] ipumm-fw: update recipe to build ipumm-fw from git source Hongmei Gou
2015-10-27 16:21 ` 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=20151027162129.GO8780@edge \
--to=denys@ti.com \
--cc=h-gou@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.