GUF-Yocto-34.0-r5756-0
VINCELL
User Manual
8
Building a Garz & Fricke Yocto Linux system from source
This chapter describes how to build a Yocto based Linux BSP for a Garz & Fricke platform from source. All steps,
including the installation of the build system and the required toolchains, are covered here.
8.1
General information about Garz & Fricke Yocto Linux systems
Garz & Fricke uses the
Yocto Project
build system for building embedded Linux systems for their platforms by
providing a Board Support Package (BSP). The Yocto Project is lead by the Linux foundation with the aim to
produce tools and processes to create embedded Linux distributions.
The Yocto project includes a configurable build system specializing in building embedded Linux systems. This
chapter contains information about the handling of Linux with
Yocto
and Yocto based toolchains for Garz & Fricke
systems. For further information regarding the
Yocto Project
please refer to the official
Yocto website
:
Documentation regarding several Yocto topics can be found at:
https://www.yoctoproject.org/documentation/current
In order to build a Yocto based Linux system, the following list of packages should be installed (Debian and
Ubuntu package names):
autoconf
automake
build-essential
dblatex
docbook-utils
fop
libglib2.0-dev
libsdl1.2-dev
libtool
make
xmlto
xsltproc
xterm
git
texinfo
chrpath
python-dev
python3-dev
See also:
On Debian based Linux distributions packages can be installed using the
apt-get
command:
$ sudo apt-get install <package_Name>
To install all the above packages, type:
$ sudo apt-get install autoconf automake dblatex docbook-utils fop libglib2.0-dev
,!
libsdl1.2-dev libtool make xmlto xsltproc xterm git texinfo chrpath python-dev
,!
python3-dev
In contrast to a desktop Linux system, which is completely built with a native GNU toolchain, an embedded Linux
system is built with a GNU cross toolchain. A cross toolchain must have the ability to produce target specific
opcode while running on a different host system. When building a BSP with Yocto the toolchain will be supplied
and built alongside with the target system. There is no need to install a GNU Compiler Collection (GCC) host and
cross toolchain separately.
45