Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:linux:yocto:introduction [2022-09-27 12:53] – Urs Graf | software:linux:yocto:introduction [2023-05-10 14:33] (aktuell) – Urs Graf | ||
|---|---|---|---|
| Zeile 14: | Zeile 14: | ||
| The build system used by yocto (from OpenEmbedded) is called **bitbake**. Bitbake uses the notions of recipes organised into layers to organise its builds. | The build system used by yocto (from OpenEmbedded) is called **bitbake**. Bitbake uses the notions of recipes organised into layers to organise its builds. | ||
| - | ===== bitbake: recipes, layers and machines | + | ===== bitbake ===== |
| Bitbake is the build system used by yocto and OpenEmbedded. | Bitbake is the build system used by yocto and OpenEmbedded. | ||
| - | ==== Recipes ==== | + | ===== Recipes |
| Rather than defining all parts of the build in a single file (like make or cmake), bitbake separates each component that needs to be built into its own file. | Rather than defining all parts of the build in a single file (like make or cmake), bitbake separates each component that needs to be built into its own file. | ||
| This file is that component' | This file is that component' | ||
| Zeile 27: | Zeile 27: | ||
| Check the [[ .:recipes | Recipes ]] page for more information. | Check the [[ .:recipes | Recipes ]] page for more information. | ||
| - | ==== Layers ==== | + | ===== Layers |
| Groups of recipes that belong together are grouped into layers. | Groups of recipes that belong together are grouped into layers. | ||
| Zeile 39: | Zeile 39: | ||
| Check the [[ .:layer | Layer ]] page for more information. | Check the [[ .:layer | Layer ]] page for more information. | ||
| - | === BSP === | + | ==== BSP ==== |
| The BSP (board support package) is just a layer that provides a bootloader and kernel specific to the hardware that the BSP is for. | The BSP (board support package) is just a layer that provides a bootloader and kernel specific to the hardware that the BSP is for. | ||
| - | === machines | + | ==== Machines ==== |
| Machines are bitbake' | Machines are bitbake' | ||
| Zeile 55: | Zeile 55: | ||
| See [[ .:kernel | Kernel ]] | See [[ .:kernel | Kernel ]] | ||
| - | ===== SDK's ===== | ||
| - | There are essentially three ways to build on/for a yocto image: | ||
| - | |||
| - | * include the toolchain in the image and build natively (not recommended) | ||
| - | * SDK | ||
| - | * extensible SDK | ||
| - | |||
| - | See [[ .:sdk | SDK' | ||