Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

software:linux:yocto:sdk:start [2020-03-25 13:29] (aktuell)
Lammerich Moritz angelegt
Zeile 1: Zeile 1:
 +====== SDK's ======
  
 +===== Build Natively =====
 +
 +This is the simplest but also least useful way to build packages for yocto.
 +By default, ther e is no toolchain installed in the image.
 +
 +To add the toolchain to an image, append ''​tools-sdk''​ to ''​CORE_IMAGE_INSTALL''​.
 +
 +<​code>​
 +CORE_IMAGE_INSTALL_append ​ = " tools-sdk"​
 +</​code>​
 +
 +Note that this will significantly increase image size and build time.
 +
 +===== Cross Development SDK =====
 +
 +run this command to generate a cross development SDK:
 +
 +<​code>​
 +bitbake <image name> -c poulate_sdk
 +# for example:
 +bitbake ntb-prod-image -c pouplate_sdk
 +</​code>​
 +
 +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/''​.
 +
 +=== Additional Information ===
 +
 +[[ https://​www.youtube.com/​watch?​v=u1rzYRz83kc&​t=3119s | Live Coding with Yocto Project #4: SDKs ]]