Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Using Yocto Project with BeagleBone Black

You're reading from   Using Yocto Project with BeagleBone Black Unleash the power of the BeagleBone Black embedded platform with Yocto Project

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785289736
Length 144 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Preface 1. Welcome to Yocto Project and BeagleBone Black 2. What's BitBake All About? FREE CHAPTER 3. Creating the helloworld Recipe 4. Adding Multimedia to Your Board 5. Creating and Exploring Layers 6. Your First Console Game 7. Turning BeagleBone into a Home Surveillance System 8. BeagleBone as a Wi-Fi Access Point Index

Building a recipe

Now that we have created a recipe, we are ready to build it. We already know how to build a recipe by invoking the simple BitBake <recipename> command as follows in our specific case:

$ bitbake helloworld

Tip

Do not forget to set an environment before running BitBake commands. You can set the environment by running the following command:

$ source oe-init-build-env build_bbb

We are omitting the output of this command for brevity. This will build our helloworld application/package/recipe. Thus, the binary helloworld that is created can be found at tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/helloworld/0.1-r0/helloworld. How can we know where some specific package will be found? Do we need to run a find command for this, or is there some criterion followed? Yes, we have a certain criteria followed here. For this, we need to look into how the WORKDIR variable is constructed. If we grep this variable from bitbake.conf, which can be found under poky/meta/conf/ directory...

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 $19.99/month. Cancel anytime
Banner background image