[yocto] Specifying MACHINE when setting up build environment

Anuj Mittal anuj.mittal at intel.com
Mon Jan 15 19:14:51 PST 2018


On 01/14/2018 01:07 AM, colin.helliwell at ln-systems.com wrote:
> 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
> 
> 

You can specify a local.conf.sample and have TEMPLATECONF point to the
directory with that file in it. Please see scripts/oe-setup-builddir in
poky/meta to see how it is picked up.

Thanks,
Anuj



More information about the yocto mailing list