Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Using Yocto Project with BeagleBone Black
  • Table Of Contents Toc
  • Feedback & Rating feedback
Using Yocto Project with BeagleBone Black

Using Yocto Project with BeagleBone Black

3.2 (6)
close
close
Using Yocto Project with BeagleBone Black

Using Yocto Project with BeagleBone Black

3.2 (6)

Overview of this book

This book is ideal for system developers with knowledge and experience of embedded systems. Knowledge of BeagleBone Black is assumed, while no knowledge of Yocto Project build system is necessary.
Table of Contents (10 chapters)
close
close
9
Index

Conditional selection based on layers

We can use BBFILE_COLLECTIONS to conditionally decide which recipes to include in our BBFILES. To do this, we need to use logic that is similar to the following in our layer.conf:

  1. Firstly, add the following two lines to our layer.conf file:
    BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes-*/*/*.bbappend' % layer \
                   for layer in BBFILE_COLLECTIONS.split())}"
    BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes-*/*/*.bb' % layer \
                   for layer in BBFILE_COLLECTIONS.split())}"
  2. Secondly, arrange your recipes-* directories under directories named according to other layers found in BBFILE_COLLECTION. For example, we might need to add some metadata that is specific only to it, and we want it applied only when we have meta-ti included in our bblayers.conf file. What we will do in this case is create a directory under our layer—say, test/meta-t/—and move all of the recipe...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Using Yocto Project with BeagleBone Black
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon