[yocto] Specifying MACHINE when setting up build environment

Colin Helliwell colin.helliwell at ln-systems.com
Mon Jan 15 06:55:11 PST 2018


> On 13 January 2018 at 18:52 Jan Siegmund wrote:
> 
> 
> Hi,
> 
> Am 13.01.2018 um 18:07 schrieb colin.helliwell at ln-systems.com:
> > Is there a way to specify what MACHINE is put into local.conf when first
> > setting up the build directory with oe-init-build-env?
> > I have my own TEMPLATECONF which I use, but I'd like to be able to set the
> > MACHINE on the command line rather than having to then modify local.conf
> If it would suit your needs to specify the MACHINE on every bitbake call,
> try
> 
> $ MACHINE= bitbake 
> 
> e. g.
> 
> $ MACHINE=qemuarm bitbake core-image-minimal
> 
> If your want to use QEMU, you can use
> 
> $ env DEPLOY_DIR_IMAGE= runqemu
> 
> Not sure if the 'env' is needed though.
> 

Thanks Jan. I don't want to have to include MACHINE on every bitbake cmd line though - just have it placed into the local.conf the first time the build dir is set up by oe-init-build-env.



More information about the yocto mailing list