What is Bitbake and Poky?

P Singh picture P Singh · Mar 7, 2016 · Viewed 12.2k times · Source

Can someone please briefly explain what is Bitbake, Poky, Recipes in simple words? I just want a basic understanding of what these are. Thanks.

Answer

Charles C. picture Charles C. · Mar 7, 2016

Let's create a simple relationship of Bitbake, poky and recipes.

Poky is the Yocto Project reference system and is composed of collection of tools and metadata. Poky is platform-independent and performs cross-compiling, using Bitbake Tool, OpenEmbedded Core, and a default set of metadata. The main objective of Poky is to provide all the features an embedded developer needs.

enter image description here

Bitbake is a task scheduler that parses Python and Shell script mixed code, which we called Recipes. The code parsed generates and runs tasks. They are a set of steps orders according to the code's dependencies.

Metadata is where all the Recipes are located. Metadata is composed of a mix of Python and Shell Script text files. Poky uses this to extend OpenEmbeddded Core, meta-yocto, and meta-yocto-bsp

Sources: Embedded Linux Development with Yocto Project by Otavio Salvador and Daiane Angolini