Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Using Yocto Project with BeagleBone Black

You're reading from  Using Yocto Project with BeagleBone Black

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781785289736
Pages 144 pages
Edition 1st Edition
Languages
Authors (2):
Hafiz Muhammad I Sadiq Hafiz Muhammad I Sadiq
Irfan Sadiq Irfan Sadiq
Profile icon Irfan Sadiq
View More author details

Table of Contents (17) Chapters

Using Yocto Project with BeagleBone Black
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Welcome to Yocto Project and BeagleBone Black What's BitBake All About? Creating the helloworld Recipe Adding Multimedia to Your Board Creating and Exploring Layers Your First Console Game Turning BeagleBone into a Home Surveillance System BeagleBone as a Wi-Fi Access Point Index

Creating helloworld


Yocto Project provides us with helping scripts to ease our tasks. You will learn some of these scripts during the course of this book. To create our helloworld recipe, we will use one such script, called yocto-layer. This script can be found under the scripts directory in poky. Primarily, this script is meant to create a layer that is used to arrange various sets of recipes. Currently, if we have a look at the contents of our poky directory, which we created in first chapter for creation of images, we have the following directories. These directories are layers, as can be found using the find command:

 $ find . -name layer.conf 
./meta/conf/layer.conf
./meta-skeleton/conf/layer.conf
./meta-yocto-bsp/conf/layer.conf
./meta-yocto/conf/layer.conf
./meta-selftest/conf/layer.conf

All of these are Poky layers, and we cannot use any of these to keep our metadata. Technically, this is not impossible, but it is not a recommended way of development. So, we will create our own layer...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}