[yocto] [meta-cgl][PATCH 2/2] cgl-common.inc: append SRC_URI for poky-cgl only

Huang, Jie (Jackie) Jackie.Huang at windriver.com
Wed Oct 11 19:14:12 PDT 2017



> -----Original Message-----
> From: Andre McCurdy [mailto:armccurdy at gmail.com]
> Sent: Thursday, October 12, 2017 06:51
> To: Huang, Jie (Jackie)
> Cc: Yocto discussion list
> Subject: Re: [yocto] [meta-cgl][PATCH 2/2] cgl-common.inc: append SRC_URI
> for poky-cgl only
> 
> On Mon, Oct 9, 2017 at 8:30 PM,  <jackie.huang at windriver.com> wrote:
> > From: Jackie Huang <jackie.huang at windriver.com>
> >
> > Someone may want to add meta-cgl-common layer into their
> > distro and only use some of the packages, but these kernel
> > features will be also added by the bbappend and may cause
> > unexpected issue, so change to append the SRC_URI for poky-cgl
> > distro only.
> >
> > Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
> > ---
> >  meta-cgl-common/recipes-kernel/linux/cgl-common.inc | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc b/meta-
> cgl-common/recipes-kernel/linux/cgl-common.inc
> > index 52cf773..362a7c4 100644
> > --- a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc
> > +++ b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc
> > @@ -1,6 +1,6 @@
> >  FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> >
> > -SRC_URI += "file://cfg/00001-systemtap.cfg \
> > +SRC_URI_append_poky-cgl = "file://cfg/00001-systemtap.cfg \
> 
> Needs a leading space.

Fixed and sent v2.

Thanks,
Jackie

> 
> >              file://cfg/00002-oprofile.cfg \
> >              file://cfg/00003-lttng.cfg \
> >              file://cfg/00004-kgdb.cfg \
> > --
> > 2.11.0
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list