[meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass CROSS_COMPILE

Denys Dmytriyenko denys at ti.com
Wed Jan 15 14:33:34 PST 2014


On Wed, Jan 15, 2014 at 10:25:01PM +0000, Maupin, Chase wrote:
> >-----Original Message-----
> >From: meta-ti-bounces at yoctoproject.org [mailto:meta-ti-
> >bounces at yoctoproject.org] On Behalf Of Denys Dmytriyenko
> >Sent: Wednesday, January 15, 2014 3:16 PM
> >To: meta-ti at yoctoproject.org
> >Subject: [meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass
> >CROSS_COMPILE
> >
> >From: Denys Dmytriyenko <denys at ti.com>
> >
> >Signed-off-by: Denys Dmytriyenko <denys at ti.com>
> >---
> > recipes-bsp/ti/vpe-vpdma_git.bb | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> >diff --git a/recipes-bsp/ti/vpe-vpdma_git.bb b/recipes-bsp/ti/vpe-
> >vpdma_git.bb
> >index d506791..fb3012a 100644
> >--- a/recipes-bsp/ti/vpe-vpdma_git.bb
> >+++ b/recipes-bsp/ti/vpe-vpdma_git.bb
> >@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM =
> >"file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
> > COMPATIBLE_MACHINE = "dra7xx-evm"
> >
> > PV = "1b8"
> >-PR = "r0"
> >+PR = "r1"
> >
> >-SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"
> >+SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"
> > BRANCH ?= "master"
> >
> > SRC_URI =
> >"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BR
> >ANCH}"
> >@@ -18,7 +18,7 @@ SRC_URI =
> >"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BR
> >ANCH
> > S = "${WORKDIR}/git"
> >
> > # The test application needs additional include headers from the
> >kernel
> >-EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi -
> >I${STAGING_KERNEL_DIR}/include"'
> >+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}"
> >KDIR="${STAGING_KERNEL_DIR}/include/uapi -
> >I${STAGING_KERNEL_DIR}/include"'
> 
> Shouldn't the setting of CC in OE already take care of this?  Or did the rebase affect the Makefile?

I believe it has been affected by this commit:
http://git.ti.com/gitweb/?p=vpe_tests/vpe_tests.git;a=commitdiff;h=e3d8db1aa935775f9d196ad7428e0cd9864a36ca

It overrides CC in the Makefile and the simplest way is to pass CROSS_COMPILE.


> > do_install() {
> >     oe_runmake DESTDIR="${D}" install
> >--
> >1.8.3.2
> >
> >_______________________________________________
> >meta-ti mailing list
> >meta-ti at yoctoproject.org
> >https://lists.yoctoproject.org/listinfo/meta-ti
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list