Multiple build with different rc.local and interface files for same machine

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multiple build with different rc.local and interface files for same machine

430 Views
sebastiaanlaga
Contributor I

Dear People of the NXP community.

Is it possible in Yocto to do two different build one the same machine with different rc.local (fsl-rc-local) or interface (netbase). You can easy make different interface and rc.local file for different machine by using the .bbappend. But I do not know how you make different images with different rc.local and interface file for the same machine?

Kind regards

Sebastiaan

0 Kudos
1 Reply

353 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Sebastiaan,

The way to configure different images for the same machine would be similar, as in that you would need to write a new image or append an existing one. Instead of changing depending on the machine you would need to have a dedicated image or image version for each configuration. I would strongly suggest that you use different image names and customize them, as this is much easier to manage than having different versions of the same image.

I hope this helps!

Regards,

0 Kudos