Re: [yocto] DEPENDS problem with core-image-full-cmdline

2016-05-26 Thread Jonathan Haws
>> I guess we don't cover that explicitly, other than in the reference manual >> entries for each variable. We probably need a small section on dependencies >> in the "Writing a new Recipe" section: >> >> >> http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-rec >>

Re: [yocto] DEPENDS problem with core-image-full-cmdline

2016-05-26 Thread Paul Eggleton
On Fri, 27 May 2016 09:01:31 Paul Eggleton wrote: > On Thu, 26 May 2016 17:03:13 Jonathan Haws wrote: > > > DEPENDS is built-time for the recipe, so the concept of per-package > > > build dependencies doesn't really make sense. > > > > > > DEPENDS = "foo bar" are build dependencies > > >

Re: [yocto] DEPENDS problem with core-image-full-cmdline

2016-05-26 Thread Burton, Ross
On 26 May 2016 at 18:03, Jonathan Haws wrote: > > DEPENDS is built-time for the recipe, so the concept of per-package > > build dependencies doesn't really make sense. > > > > DEPENDS = "foo bar" are build dependencies > > RDEPENDS_${PN} = "foo bar" are

Re: [yocto] DEPENDS problem with core-image-full-cmdline

2016-05-26 Thread Jonathan Haws
> DEPENDS is built-time for the recipe, so the concept of per-package > build dependencies doesn't really make sense. > > DEPENDS = "foo bar" are build dependencies > RDEPENDS_${PN} = "foo bar" are package-specific runtime dependencies. Ross, thanks for clearing that up. Is there anything in the

Re: [yocto] DEPENDS problem with core-image-full-cmdline

2016-05-26 Thread Burton, Ross
On 26 May 2016 at 17:36, Jonathan Haws wrote: > I did find that if I do: > > DEPENDS += " batman-adv libnl" > > instead of > > DEPENDS_${PN} += " batman-adv libnl" > DEPENDS is built-time for the recipe, so the concept of per-package build dependencies doesn't really

Re: [yocto] DEPENDS problem with core-image-full-cmdline

2016-05-26 Thread Jonathan Haws
> However, when building core-image-full-cmdline, I get the following > errors. > > > The error is in the batctl recipe, does that also have a DEPENDS=libnl? > Oh geez...I feel sheepish! Attached is my updated batctl recipe - still giving the same errors. ERROR: oe_runmake failed ERROR:

Re: [yocto] DEPENDS problem with core-image-full-cmdline

2016-05-26 Thread Burton, Ross
On 26 May 2016 at 17:01, Jonathan Haws wrote: > However, when building core-image-full-cmdline, I get the following errors. > The error is in the batctl recipe, does that also have a DEPENDS=libnl? Ross -- ___ yocto

[yocto] DEPENDS problem with core-image-full-cmdline

2016-05-26 Thread Jonathan Haws
I'm working on a recipe for batman-adv, which depends on libnl at build time. I've attached my recipe for batman-adv. It's pretty straightforward, but the DEPENDS variable doesn't seem to work when I build core-image-full-cmdline. If I clean both libnl and batman-adv, then bitbake