[meta-xilinx] [PATCH] linux-xlnx.inc: Add KERNELURI

Manjukumar Harthikote Matha manjukumar.harthikote-matha at xilinx.com
Fri Jan 20 23:39:15 PST 2017


Hi Nathan,

> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Nathan Rossi
> Sent: Thursday, January 19, 2017 11:12 PM
> To: Vineeth Karumanchi
> Cc: meta-xilinx at yoctoproject.org
> Subject: Re: [meta-xilinx] [PATCH] linux-xlnx.inc: Add KERNELURI
>
> On 19 January 2017 at 18:04, Vineeth Chowdary Karumanchi
> <vineethchowz.chowdary at xilinx.com> wrote:
> > Add KERNELURI for custom kernel url's
>
> Could you elaborate on the reason for this change, maybe its one of the following?
>
> * Providing a different mirror to source the git repo
> * Changing the protocol to allow for git/ssh cloning
> * Pointing a a different internal-only source for the linux-xlnx repo
Mainly this, with PetaLinux Tools inheriting Yocto, there is significant number of request to change SRC_URI to point to different repos.

> * Having the include more reusable for kernels that are derived from the linux-xlnx
> kernel
We have some use case of this as well.

Thanks
Manju

>
> Thanks,
> Nathan
>
> >
> > Signed-off-by: Vineeth Chowdary Karumanchi
> > <vineethchowz.chowdary at xilinx.com>
> > Reviewed-by: Manjukumar Harthikote Matha
> > <manjukumar.harthikote-matha at xilinx.com>
> > ---
> >  recipes-kernel/linux/linux-xlnx.inc | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/recipes-kernel/linux/linux-xlnx.inc
> > b/recipes-kernel/linux/linux-xlnx.inc
> > index 1474658..dd71324 100644
> > --- a/recipes-kernel/linux/linux-xlnx.inc
> > +++ b/recipes-kernel/linux/linux-xlnx.inc
> > @@ -9,8 +9,9 @@ KBRANCH ?= ""
> >  SRCBRANCHARG = "${@['nobranch=1',
> 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}"
> >
> >  FILESOVERRIDES_append = ":${LINUX_VERSION}"
> > +KERNELURI = "git://github.com/Xilinx/linux-xlnx.git;protocol=https"
> >  SRC_URI = " \
> > -               git://github.com/Xilinx/linux-xlnx.git;protocol=https;${SRCBRANCHARG} \
> > +               ${KERNELURI};${SRCBRANCHARG} \
> >                 file://xilinx-base;type=kmeta;destsuffix=xilinx-base \
> >                 "
> >
> > --
> > 2.7.4
> >
> > --
> > _______________________________________________
> > meta-xilinx mailing list
> > meta-xilinx at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-xilinx
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.




More information about the meta-xilinx mailing list