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

Denys Dmytriyenko denys at ti.com
Thu Jan 16 11:25:32 PST 2014


On Thu, Jan 16, 2014 at 09:11:37AM -0500, Maupin, Chase wrote:
> >-----Original Message-----
> >From: Dmytriyenko, Denys
> >Sent: Wednesday, January 15, 2014 4:34 PM
> >To: Maupin, Chase
> >Cc: Denys Dmytriyenko; meta-ti at yoctoproject.org
> >Subject: Re: [meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass
> >CROSS_COMPILE
> >
> >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=${B
> >R
> >> >ANCH}"
> >> >@@ -18,7 +18,7 @@ SRC_URI =
> >>
> >>"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${B
> >R
> >> >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.
> 
> Ah.  The commit I was on used CC ?= .... so you didn't have to pass CROSS_COMPILE.  Thanks.

So, I'll be pushing this change shortly.

Going forward, can we try to avoid rebases - I don't believe it was even 
necessary here...

-- 
Denys


More information about the meta-ti mailing list