S B C X U s e r ' s G u i d e
v . 1 . 0 . 1
7.4
Building the software components with Yocto
The build process creates an entire Linux distribution from source. The
build process can be summarized as follows:
●
Make sure that all the prerequisites are met
●
Initialize the build environment, as described in 7.4.2.
●
Optionally ensure the conf/local.conf configuration file, which is
found in the Build Directory, is set up how you want it. This file
defines many aspects of the build environment including the
target machine architecture through the MACHINE variable,
the development machine's processor use through the
BB_NUMBER_THREADS and PARALLEL_MAKE variables,
and a centralized tarball download directory through the
DL_DIR variable.
●
Build the image using the bitbake command. If you want
information on BitBake, see the BitBake User Manual.
N.B. Since the XELK virtual machine is already configured to match
all the requirements for using the Yocto build system, developers
who wants to quickly build a Yocto image can directly go to section
7.4.3
7.4.1
Prerequisites
The following prerequisites are required and only need to be done once.
Please note that the XELK virtual machine is already configured to match
all the requirements for using the Yocto build system.
Some generic development tools are required on the host Linux machine:
●
git
●
curl
●
build-essential
●
diffstat
●
texinfo
●
gawk
●
chrpath
●
ia32-libs (if the host machine is running a 64-bit OS)
December, 2019
98/139
Summary of Contents for SBC AXEL
Page 2: ...S B C X U s e r s G u i d e v 1 0 1 Page intentionally left blank December 2019 2 139 ...
Page 105: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 105 139 ...
Page 106: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 106 139 ...
Page 107: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 107 139 Fig 44 QtQuick Hello World ...
Page 119: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 119 139 ...
Page 121: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 121 139 ...
Page 139: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 139 139 ...