Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Layer creation using script

We should always start with something easy, in order to keep things simple. So, a simple way to create a layer is to execute the following command from the script directory, under the poky directory:

$  ./scripts/yocto-layer create test

This will create a directory named meta-test in the poky directory, from where we invoke this command. However, before that, you have to answer some questions. The answers are discussed in these steps:

  • Enter the layer priority you'd like to use for this layer: [default: 6] 7
  • Check whether you would like to have an example recipe created: (y/n) [default: n]
  • Check whether you would you like to have an example bbappend file created: (y/n) [default: n] y
  • Enter the name you'd like to use for your bbappend file: [default: example] helloworld
  • Enter the version number you'd like to use for your bbappend file, (this should match the recipe you're appending the file to): [default: 0.1]

Then, this script will notify us about...

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