Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
software:linux:yocto:sdk [2022-09-29 11:37] Urs Grafsoftware:linux:yocto:sdk [2023-04-25 11:08] Moritz Lammerich
Zeile 17: Zeile 17:
 This will generate a toolchain with a sysroot containing all header/libraries/... included in the image. This will generate a toolchain with a sysroot containing all header/libraries/... included in the image.
 By default the SDK is in ''build/tmp/deploy/sdk/''. By default the SDK is in ''build/tmp/deploy/sdk/''.
 +
 +=== Changing the SDK HOST CPU Architecture ===
 +
 +By default, the SDK is built for ''x86_64'' host machines. That means you can use the SDK on x86_64 computers to build software for the target. If you want to use the SDK on another system such as the ARM based Apple Macbooks, the SDK host architecture needs to be specified accordingly. This is achieved through the ''SDKMACHINE'' variable.
 +To build the SDK for a 64bit ARM host (e.g. ARM based Apple computers), add the following to ''local.conf'':
 +<code>
 +SDKMACHINE = "aarch64"
 +</code>
  
 ==== Installing the SDK ==== ==== Installing the SDK ====