Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
software:linux:toradex:toradex-sdk [2020-06-12 13:42] akunzsoftware:linux:toradex:toradex-sdk [2021-03-03 11:46] Moritz Lammerich
Zeile 1: Zeile 1:
-====== Yocto SDKs ====== +This page has been moved to [[ ..:yocto:sdk | here ]]
- +
-===== General information about Yocto SDKs ===== +
- +
-Yocto SDK Manual: [[ https://www.yoctoproject.org/docs/2.1/sdk-manual/sdk-manual.html ]] +
- +
-Yocto SDKs[[ https://www.youtube.com/watch?v=u1rzYRz83kc&t=1277s ]] +
- +
-Yocto C++ development: [[ https://www.youtube.com/watch?v=NmPta5w6P70 ]] +
- +
- +
-===== Yocto SDKs for Toradex projects ===== +
- +
-==== Build the SDK ==== +
- +
-To build the SDK for an image, append ''-c populate_sdk'' to the bitbake build command. +
- +
-For example, to build the SDK for the **ntb-dev-image** run ''bitbake ntb-dev-image -c populate_sdk''. The built SDK is located at **<myWorkspace>/build/deploy/sdk/**. +
- +
-For more information check the [[ https://developer.toradex.com/knowledge-base/linux-sdks Linux SDKs page]] on the Toradex knowledge base. +
- +
- +
-==== Install the SDK ==== +
-The SDK is installed by executing the shell script in the **sdk** folder. If it should be installed on a different computer, the whole **sdk** folder must be copied over and the script executed on the target computer. +
- +
-The shell script is asking for the location to install the SDK. The default is suitable for the most of the use cases. +
- +
-Once it is installed, the installation folder (for example **/opt/tdx-x11/2.6.4/**) contains another shell script with name **environment-setup-<xyz>**. This script can be sourced so all needed path variables are set on the current shell session. This means the script sets all variables so a following ''make'' execution will use the compiler and libraries of the SDK. The script is sourced by the point operator (there must be a space following the point!) as shown by the example below. +
- +
-<code> +
-. /opt/tdx-x11/2.6.4/environment-setup-armv7at2hf-neon-tdx-linux-gnueabi +
-</code> +
- +
-For more information check the [[ https://developer.toradex.com/knowledge-base/linux-sdks#sdk-installation | Linux SDKs - SDK Installation page]] on the Toradex knowledge base. +