[meta-intel] [PATCH 01/10] crownbay: linux-yocto_v3.4: cleanup the use of KSRC_linux_yocto_3_4 var

Kamble, Nitin A nitin.a.kamble at intel.com
Wed Jan 16 10:17:50 PST 2013



> -----Original Message-----
> From: Hart, Darren
> Sent: Wednesday, January 16, 2013 10:15 AM
> To: Kamble, Nitin A
> Cc: meta-intel at yoctoproject.org; Zanussi, Tom
> Subject: Re: [PATCH 01/10] crownbay: linux-yocto_v3.4: cleanup the use of
> KSRC_linux_yocto_3_4 var
> 
> On 01/16/2013 10:11 AM, Kamble, Nitin A wrote:
> >
> >
> >> -----Original Message-----
> >> From: Hart, Darren
> >> Sent: Wednesday, January 16, 2013 10:10 AM
> >> To: Kamble, Nitin A
> >> Cc: meta-intel at yoctoproject.org; Zanussi, Tom
> >> Subject: Re: [PATCH 01/10] crownbay: linux-yocto_v3.4: cleanup the
> >> use of
> >> KSRC_linux_yocto_3_4 var
> >>
> >> On 01/15/2013 09:07 PM, nitin.a.kamble at intel.com wrote:
> >>> From: Nitin A Kamble <nitin.a.kamble at intel.com>
> >>>
> >>> Make it easy to override it with a local or other kernel repository.
> >>>
> >>> Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> >>> ---
> >>>  .../recipes-kernel/linux/linux-yocto_3.4.bbappend  |    6 +++---
> >>>  1 files changed, 3 insertions(+), 3 deletions(-)
> >>>
> >>> diff --git
> >>> a/meta-crownbay/recipes-kernel/linux/linux-yocto_3.4.bbappend
> >> b/meta-crownbay/recipes-kernel/linux/linux-yocto_3.4.bbappend
> >>> index f00b56e..f653a4d 100644
> >>> --- a/meta-crownbay/recipes-kernel/linux/linux-yocto_3.4.bbappend
> >>> +++ b/meta-crownbay/recipes-kernel/linux/linux-yocto_3.4.bbappend
> >>> @@ -15,6 +15,6 @@ SRCREV_emgd_pn-linux-yocto_crownbay ?=
> >> "${AUTOREV}"
> >>>  SRCREV_machine_pn-linux-yocto_crownbay-noemgd ?= "${AUTOREV}"
> >>>  SRCREV_meta_pn-linux-yocto_crownbay-noemgd ?= "${AUTOREV}"
> >>>
> >>> -KSRC_linux_yocto_3_4 ?= "git.yoctoproject.org/linux-yocto-3.4.git"
> >>> -SRC_URI_crownbay = "git://git.yoctoproject.org/linux-yocto-
> >> 3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA},emgd-
> >> 1.14;name=machine,meta,emgd"
> >>> -SRC_URI_crownbay-noemgd = "git://git.yoctoproject.org/linux-yocto-
> >>
> 3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA};name=ma
> >> chine,meta"
> >>> +KSRC_linux_yocto_3_4 ?= "git.yoctoproject.org/linux-yocto-
> >> 3.4.git;protocol=git"
> >>
> >> This appears to just be adding the protocol=git string,
> >>
> >>> +SRC_URI_crownbay =
> >>
> "${KSRC_linux_yocto_3_4};nocheckout=1;branch=${KBRANCH},${KMETA},e
> >> mgd-1.14;name=machine,meta,emgd"
> >>> +SRC_URI_crownbay-noemgd =
> >>
> "git://${KSRC_linux_yocto_3_4};nocheckout=1;branch=${KBRANCH},${KMET
> >> A};name=machine,meta"
> >>>
> >>
> >> So... was this not working with meta-kernel-dev previously?
> >
> > It was working. But now I can use the local kernel repo by specifying the
> new git repo in the local.conf with one line.
> 
> You mean instead of using meta-kernel-dev at all?
Yes,

 I like this idea, but we
> need to be clear about what we intend here. It will be documented and it will
> become a permanent thing we will need to continually support. It seems that
> this might be better done in the base linux-yocto 3.4 recipe rather than on a
> per machine basis - except for where the machine adds a branch like emgd to
> the mix.
That should work the same, with the slight twist of extra branches as you pointed out.

> 
> Does this interfere with the use of meta-kernel-dev?

I did not try that, but IMO it should not.

Nitin

> 
> --
> Darren Hart
> Intel Open Source Technology Center
> Yocto Project - Linux Kernel



More information about the meta-intel mailing list