On 11/02/2017 06:26 PM, Colin Helliwell wrote:

Following on from this, I'm trying to be able to build my two versions of 
u-boot, in the *same* build directory.
I'm not sure if this is possible, but I figured it might be: since u-boot 
doesn't get put into the rootfs (?), I would ideally be able to build both and 
just pull down from tmp/deploy/images/.... the image that I want to program 
into a particular unit.
I've pushed common stuff into .inc file(s), and have two recipes which set 
different  'PROVIDES' values.
However, even after a cleanall on both recipes, bitbaking the second one throws an error 
"The recipe u-boot-mymachine-dev is trying to install files into a shared area when 
those files already exist".

Can you share exactly how the two recipes differ?

It seems that you do need to have two different build directories that differ in what MACHINE is set to. And that would configure u-boot accordingly.


Alex
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to