[yocto] more BSP Guide pedantry involving customizing a recipe

Robert P. J. Day rpjday at crashcourse.ca
Wed Dec 31 02:06:08 PST 2014


On Tue, 30 Dec 2014, Gary Thomas wrote:

> On 2014-12-30 12:31, Robert P. J. Day wrote:
> >
> >    (you can tell i'm bored and want to get back up to speed on stuff
> > ...)
> >
> >    section 1.4 in BSP Guide, "Customizing a Recipe for a BSP", appears
> > to discuss a new layer, "meta-xyz", then suggests the new "interfaces"
> > file for this machine needs to go at the location:
> >
> > meta-xyz/recipes-core/init-ifupdown/files/xyz/interfaces
> >                                            ^^^ ???
> >
> >    but the files/ subdirectory of "xyz/" would appear to be necessary
> > (as we all know) only if this was a more general layer that
> > represented several machines (say, meta-ti) for which we *needed* to
> > distinguish between machines.
> >
> >    so while the above might be technically correct, it might mislead
> > readers to think they *needed* to create a "xyz/" subdirectory for
> > that overriding interfaces file.
>
> Actually, it *is* necessary if meta-xyz supports more than one
> MACHINE and those targets have unique versions of the 'interfaces'
> file (which is common since this file is being tailored for a
> particular target machine)

  i realize that, but it's not clear from the wording of that section
that that could be a possibility. i just like to avoid potential
confusion, and giving the reader the wrong impression.

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