[yocto] more BSP Guide pedantry involving customizing a recipe

Gary Thomas gary at mlbassoc.com
Tue Dec 30 14:48:32 PST 2014


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)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list