[OE-core] [PATCH 1/1] rt-tests: Add src/backfire to FILES_${PN}

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 16 16:24:15 UTC 2012


On Fri, 2012-03-16 at 09:06 -0700, Saul Wold wrote:
> On 03/15/2012 03:00 PM, Darren Hart wrote:
> > Fixes [YOCTO #2114]
> >
> > The rt-tests recipe was issuing the following WARNINGs:
> >
> > WARNING: For recipe rt-tests, the following files/directories were installed
> > but not shipped in any package:
> > WARNING:   /usr/src
> > WARNING:   /usr/src/backfire
> > WARNING:   /usr/src/backfire/backfire.c
> > WARNING:   /usr/src/backfire/Makefile
> >
> > Add ${prefix}/src/backfire to FILES_${PN} to include these files in the package.
> > These depend on the target kernel and are meant to be able to be rebuilt as
> > needed.  Ideally we would also build this module and include it with rt-tests or
> > the linux-yocto-rt kernel. For now, conform with the intent of the rt-tests
> > Makefile and avoid the WARNINGs.
> >
> > Signed-off-by: Darren Hart<dvhart at linux.intel.com>
> > ---
> >   meta/recipes-rt/rt-tests/rt-tests_0.83.bb |    3 +++
> >   1 files changed, 3 insertions(+), 0 deletions(-)
> >
> > diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb
> > index 78d51b3..6425027 100644
> > --- a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb
> > +++ b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb
> > @@ -11,6 +11,7 @@ SRCREV = "5f1e84f8b015df3ff950056494134eca3f640d70"
> >
> >   # git ->  0.83 needs a PE bump
> >   PE = "1"
> > +PR = "r1"
> >
> >   SRC_URI = "git://github.com/clrkwllms/rt-tests.git"
> >
> > @@ -25,3 +26,5 @@ do_install() {
> >           oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \
> >                              INCLUDEDIR=${includedir}
> >   }
> > +
> > +FILES_${PN} += "${prefix}/src/backfire"
> Darren,
> 
> I looked closer and you need you use ${D}${prefix}/src here instead, 
> that will get you what you want.

You should not need ${D} here...

Cheers,

Richard





More information about the Openembedded-core mailing list