[oe] how to create a new layer

Philip Balister philip at balister.org
Fri May 23 15:37:06 UTC 2014


On 05/23/2014 03:11 AM, Paul Eggleton wrote:
> On Thursday 22 May 2014 15:46:01 Richard Cagley wrote:
>>> One other thing to note - if there are overrides for the previous machine
>>> (e.g. in bbappends you may see _zedboard-zynq7) you should change
>>> these to _me so that they still apply.
>>
>> What is the threshold for making a new machine? That is, if I just
>> have a .bbappend file I want, that should just involve creating a new
>> layer and putting the bbappend file in the correct location. I
>> shouldn't have to change anything else correct?
>>
>> For instance, if I just want to change the kernel configuration with a
>> frag file I can put linux-xlnx_3.8.bbappedn in
>> meta-me/recipes-kernel/linux and that's all I need?
> 
> Yes, that should be all that is required - no need for your own machine 
> configuration in this case.
> 
>> I guess I'm just confused at what point I actually need a new machine.
> 
> If you want to change the global configuration for the machine substantially 
> from that in the original BSP, you may need to create your own machine 
> configuration; but for the exact same hardware as the original BSP supports I 
> would have thought that in most cases it would not be necessary.

Basically, I make a machine whenever I will have hardware specific
drivers, kernel configs, and device trees.

Philip


> 
> Cheers,
> Paul
> 



More information about the Openembedded-devel mailing list