官术网_书友最值得收藏!

Chapter 2. What's BitBake All About?

In the previous chapter, we created a working image for BeagleBone using Yocto Project. We also briefly discussed the different concepts while working on the exercises. In this chapter, we will move one step ahead by detailing different aspects of the basic engine behind Yocto Project, and other similar projects. This engine is BitBake. Covering all the various aspects of BitBake in one chapter is not possible; it will require a complete book. We will familiarize you as much as possible with this tool.

We will cover the following topics in this chapter:

  • A brief history of BitBake
  • Legacy tools and BitBake
  • Execution of BitBake
  • BitBake options

A brief history of BitBake

BitBake drew inspiration from the Gentoo package management tool, Portage. Gentoo has a unique philosophy of building binaries on the system where they are supposed to run, so that maximum optimizations can be applied to the code. This philosophy fits best in the case of embedded systems, where you always have a different set of hardware in hand, and you need to prepare board support packages for that hardware. Initially, BitBake was a part of OpenEmbedded.

Later on, an OpenEmbedded project team member, Chris Larson, split it into two separate pieces:

  • BitBake: This is a generic task executor
  • OpenEmbedded: This is a metadata set utilized by BitBake

Now, BitBake is the base for OpenEmbedded and Yocto Project, which are being used to build and maintain multiple Linux distributions.

主站蜘蛛池模板: 富蕴县| 辽阳市| 巩留县| 五台县| 色达县| 兴海县| 旅游| 邮箱| 中方县| 黎平县| 石柱| 泗洪县| 盐边县| 开原市| 山西省| 道孚县| 鸡东县| 宽城| 抚松县| 望都县| 汽车| 太保市| 齐齐哈尔市| 肃南| 临海市| 寿宁县| 屏边| 长子县| 宁陕县| 资讯 | 广元市| 武隆县| 繁峙县| 突泉县| 和林格尔县| 元阳县| 聂拉木县| 福贡县| 天峨县| 彩票| 屏山县|