O'Reilly logo

Embedded Linux Projects Using Yocto Project Cookbook by Alex González

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding new packages

We have seen how to customize our image so that we can add supported packages to it. When we can't find an existing recipe or we need to integrate some new software we have developed, we will need to create a new Yocto recipe.

Getting ready

There are some questions we need to ask ourselves before starting to write a new recipe:

  • Where is the source code stored?
  • Is it source-controlled or released as a tarball?
  • What is the source code license?
  • What build system is it using?
  • Does it need configuration?
  • Can we cross-compile it as is or does it need to be patched?
  • What are the files that need to be deployed to the root filesystem, and where do they go?
  • Are there any system changes that need to happen, such as new users or init scripts?
  • Are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required