[yocto] so how does PACKAGECONFIG really work?
Robert P. J. Day
rpjday at crashcourse.ca
Sat Nov 2 11:38:10 PDT 2013
On Sat, 2 Nov 2013, Martin Jansa wrote:
> On Sat, Nov 02, 2013 at 01:15:04PM -0400, Robert P. J. Day wrote:
> >
> > most of the way thru the variable glossary and this one confuses me.
> > from here:
> >
> > http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-PACKAGECONFIG
> >
> > we have:
> >
> > "This variable provides a means of enabling or disabling features of a
> > recipe on a per-recipe basis. PACKAGECONFIG blocks are defined in
> > recipes when you specify features and then arguments that define
> > feature behaviors. Here is the basic block structure:
> >
> > PACKAGECONFIG ??= "f1 f2 f3 ..."
> > PACKAGECONFIG[f1] = "--with-f1,--without-f1,build-deps-f1,rt-deps-f1"
> > PACKAGECONFIG[f2] = "--with-f2,--without-f2,build-deps-f2,rt-deps-f2"
> > PACKAGECONFIG[f3] = "--with-f3,--without-f3,build-deps-f3,rt-deps-f3"
> >
> > which *seems* to suggest that you must first set PACKAGECONFIG to the
> > list of features, but i see numerous examples that don't seem to obey
> > that condition.
>
> Not all features, but *enabled* features.
ah, gotcha, thanks.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the yocto
mailing list