Book Image

Using Yocto Project with BeagleBone Black

By : Hafiz Muhammad I Sadiq, Irfan Sadiq
Book Image

Using Yocto Project with BeagleBone Black

By: Hafiz Muhammad I Sadiq, Irfan Sadiq

Overview of this book

Table of Contents (17 chapters)
Using Yocto Project with BeagleBone Black
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
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 enabling our newly...