[yocto] Install native recipe into filesystem

Ross Burton ross.burton at intel.com
Wed Nov 20 03:53:52 PST 2019


On 19/11/2019 21:15, Jeff Kaisner wrote:
> We have several executables that can run on the target (ARM64) but also 
> on the host system (x86).  I added the BBCLASSEXTEND = "native" and can 
> build all the recipes in native mode.  Once done, I would like to be 
> able to install them on the host system, but don’t see a package for 
> them (or understand that part of the process).

I'm guessing you have a recipe called something like foo.bb.  You've 
added BBCLASSEXTEND=native to this, and can bitbake foo-native.

If you want to also build this for the target, simply add foo to the 
IMAGE_DEPENDS or directly bitbake foo.

Ross


More information about the yocto mailing list