Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
software:linux:yocto:sdk [2022-09-28 10:35] – Urs Graf | software:linux:yocto:sdk [2023-04-25 11:08] – Moritz Lammerich | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== SDK ====== | ====== SDK ====== | ||
- | |||
- | ===== Build Natively ===== | ||
- | |||
- | This is the simplest but also least useful way to build packages for yocto. | ||
- | By default, there is no toolchain installed in the image. | ||
- | |||
- | To add the toolchain to an image, append '' | ||
- | |||
- | < | ||
- | CORE_IMAGE_INSTALL_append | ||
- | </ | ||
- | |||
- | Note that this will significantly increase image size and build time. | ||
===== Cross Development SDK ===== | ===== Cross Development SDK ===== | ||
Zeile 30: | Zeile 17: | ||
This will generate a toolchain with a sysroot containing all header/ | This will generate a toolchain with a sysroot containing all header/ | ||
By default the SDK is in '' | By default the SDK is in '' | ||
+ | |||
+ | === Changing the SDK HOST CPU Architecture === | ||
+ | |||
+ | By default, the SDK is built for '' | ||
+ | To build the SDK for a 64bit ARM host (e.g. ARM based Apple computers), add the following to '' | ||
+ | < | ||
+ | SDKMACHINE = " | ||
+ | </ | ||
==== Installing the SDK ==== | ==== Installing the SDK ==== |