[yocto] Slightly varying builds

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Nov 1 10:04:07 PDT 2017


On 11/01/2017 06:43 PM, colin.helliwell at ln-systems.com wrote:
> I need to build two slightly varying versions of our Yocto build – one 
> for the production units and one for development.
> 
> They differ in only a few ways – the kernel and apps are the same. But 
> one has Dropbear, whilst the other doesn’t; and the U-Boot configs & 
> patches are different.
> 
> I’m wondering where to do the separation – image, distro, conf…?
> 
> Any thoughts on the cleanest way to split and/or inherit them would be 
> appreciated.


Image, certainly. Put the common bits into an include, and specific bits 
into image-production|development.bb files. Poky has plenty of examples 
for this.


Alex



More information about the yocto mailing list