[yocto] more BSP Guide pedantry involving customizing a recipe

Gary Thomas gary at mlbassoc.com
Tue Dec 30 15:37:23 PST 2014


On 2014-12-30 15:48, 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)
>

n.b. in this case you'd have
    .../files/MACHINEa/interfaces
    .../files/MACHINEb/interfaces
and so on

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



More information about the yocto mailing list