<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>It&#39;s my first time posting here, I hope I have the right mailing list!  <br><br>I&#39;ve
 been looking into OE in the last few days as a candidate to replace the
 ageing build scripts in a project I am involved with.  I&#39;ve been really
 impressed with OE&#39;s feature list - it ticks off a lot of boxes for our 
requirements.<br><br></div>I am still working out some of the workflows 
though before we go ahead and make the switch, I was hoping someone 
could help me out.<br><br></div>The project I am working on consists of 
several embedded targets.  All targets currently run on the same 
system-on-chip and are built with the same toolchain, though this will 
note be the case in the near future. The majority of the project exists 
as a monolithic application that is built with different DEFINEs in 
order to customize the application&#39;s behaviour.  Each target also has a 
unique rootfs layout (different init scripts mostly).<br><br></div><div>For the sake of clarity, lets call this application &#39;Foo&#39;, and two targets &#39;alpha&#39; and &#39;beta&#39;.<br></div><div><br></div>I am trying to figure out the best was to setup recipes in order to maintain this structure.<br><br></div>I&#39;m thinking that managing the targets is best left to image-recipes in a separate layer.  Essentially adding:<br>* recipes-core/images/<a href="http://target-alpha.bb" target="_blank">target-alpha.bb</a><br>* recipes-core/images/<a href="http://target-beta.bb" target="_blank">target-beta.bb</a><br><br></div><div>Managing the &#39;Foo&#39; application is currently done with a regular package recipe:<br></div><div>* recipes-core/Foo/<a href="http://foo.bb" target="_blank">foo.bb</a><br><br></div><div>However,
 I am not sure if the image recipes can dictate how to build Foo, the 
dependent recipe.  Is this possible? Is there an alternative workflow?<br><br></div><div>Would
 it be better if &#39;targets&#39; were managed as separate distros instead?  
Currently some targets use different kernel versions than others, and 
all targets use different kernel configs.  I haven&#39;t yet figured out if 
this is possible to specify from within an image recipe.<br><br></div><div>Any help is appreciated!<br></div><div><br></div><div>Thanks,<br></div>Logan</div>