![u-blox EVK-W16 User Manual Download Page 19](http://html1.mh-extra.com/html/u-blox/evk-w16/evk-w16_user-manual_3074646019.webp)
EVK-W16 - User Guide
UBX-15017061 - R02
Advance Information
Yocto environment setup
Page 19 of 38
Source the ublox environment script to initiate the Yocto build environment:
Now, Yocto would have generated a build folder, relocated your shell to the build folder and populated it with a
few files.
The following two files are used to configure your local build settings:
bblayers.conf is used to locate the build recipes used by bitbake during build time
local.conf is used to define local settings, target architecture, machine configuration, and many other
settings.
In the bblayers.conf file, you can see the paths for the different meta-layers, which bitbake requires to build the
u-blox distribution. Here, add your own meta-layer if you would like to add any layers of your own.
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/ublox/projects/yocto/poky/meta \
/home/ublox/projects/yocto/poky/meta-yocto \
/home/ublox/projects/yocto/poky/meta-ublox \
/home/ublox/projects/yocto/poky/meta-ublox-extras \
/home/ublox/projects/yocto/poky/meta-openembedded/meta-networking \
/home/ublox/projects/yocto/poky/meta-openembedded/meta-oe \
/home/ublox/projects/yocto/poky/meta-openembedded/meta-webserver \
"
BBLAYERS_NON_REMOVABLE ?= " \
/home/ublox/projects/yocto/poky/meta \
/home/ublox/projects/yocto/poky/meta-yocto \
"
/
└──
conf
├──
bblayers.conf
├──
local.conf
└──
templateconf.cfg
$ cd poky/
$ source ublox-init-build-env
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-ublox-dev
meta-toolchain