Reader small image

You're reading from  Embedded Linux Development using Yocto Projects - Second Edition

Product typeBook
Published inNov 2017
Publisher
ISBN-139781788470469
Edition2nd Edition
Right arrow
Authors (2):
Otavio Salvador
Otavio Salvador
author image
Otavio Salvador

Otavio Salvador loves technology and started his free software activities in 1999. In 2002, he founded O.S. Systems, a company focused on embedded system development services and consultancy worldwide, creating and maintaining customized BSPs, and helping companies with their product developments challenges. This resulted in his joining the OpenEmbedded community in 2008, when he became an active contributor to the OpenEmbedded project.
Read more about Otavio Salvador

Daiane Angolini
Daiane Angolini
author image
Daiane Angolini

Daiane Angolini has been working with embedded Linux since 2008. She has been working as an application engineer at NXP, acting on internal development, porting custom applications from Android, and on-site customer support for i.MX architectures in areas such as the Linux kernel, u-boot, Android, Yocto Project, and user-space applications. However, it was on the Yocto Project that she found her place.
Read more about Daiane Angolini

View More author details
Right arrow

Customizing BusyBox


BusyBox is a key component of most embedded, Linux-based projects as it provides an alternative to the most commonly used utilities, butwith a smaller footprint than its usual Linux counterparts. It can be seen as a sort of Swiss Army knife, since it provides a huge set of utilities and is quite flexible regarding which utilities to enable or disable.

Note

When we want to deselect an option, we can add a negative line instead, for example, CONFIG_TFTPD=n.

Poky provides a default setting for BusyBox, and it may sometimes not fulfill our needs, so changing this configuration is a common task. For example, the <layer>/recipes-core/busybox/busybox_%.bbappend file could have the following lines of code:

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://enable-tftpd.cfg"

The <layer>/recipes-core/busybox/busybox/enable-tftpd.cfg file contains the following:

CONFIG_TFTPD=y

This combination of the .bbappend file and configuration file is enough to enable support...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Embedded Linux Development using Yocto Projects - Second Edition
Published in: Nov 2017Publisher: ISBN-13: 9781788470469

Authors (2)

author image
Otavio Salvador

Otavio Salvador loves technology and started his free software activities in 1999. In 2002, he founded O.S. Systems, a company focused on embedded system development services and consultancy worldwide, creating and maintaining customized BSPs, and helping companies with their product developments challenges. This resulted in his joining the OpenEmbedded community in 2008, when he became an active contributor to the OpenEmbedded project.
Read more about Otavio Salvador

author image
Daiane Angolini

Daiane Angolini has been working with embedded Linux since 2008. She has been working as an application engineer at NXP, acting on internal development, porting custom applications from Android, and on-site customer support for i.MX architectures in areas such as the Linux kernel, u-boot, Android, Yocto Project, and user-space applications. However, it was on the Yocto Project that she found her place.
Read more about Daiane Angolini