Template:Yocto Toolchain installation IMX: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
Setup the environment: | Setup the environment: | ||
{{#lst:Yocto_Platform_Customization|YOCTO_ENV_SETUP_X}} | {{#lst:Yocto_Platform_Customization|YOCTO_ENV_SETUP_X}} | ||
{{#vardefine:SHELL_PROMPT|{{#if:{{#var:BUILD_YOCTO_IN_DOCKER_CONTAINER}}|vari@yocto-{{#var:DOCKER_CONTAINER_INFO}}:/workdir/{{#var:BUILD_FOLDER_ENV}}$|$}}}} | |||
Build the toolchain: | Build the toolchain: | ||
{{#var:SHELL_PROMPT}} {{#var:BB_ENV}} bitbake {{#varexists: DEFAULT_TOOLCHAIN_BB_NAME | {{#var:DEFAULT_TOOLCHAIN_BB_NAME}} | {{#varexists: B2QT_BSP_VERSION | meta-toolchain-b2qt-embedded-qt5-sdk | meta-toolchain}} }} | |||
<!-- Debian build with Yocto does currently not support building the SDK --> | <!-- Debian build with Yocto does currently not support building the SDK --> | ||
{{#switch:{{#var:PLATFORM_OS}}|Debian=| | {{#switch:{{#var:PLATFORM_OS}}|Debian=| | ||
Line 28: | Line 30: | ||
E.g. when using the {{#var:DEFAULT_IMAGE_BB_NAME}} image: | E.g. when using the {{#var:DEFAULT_IMAGE_BB_NAME}} image: | ||
{{#var:SHELL_PROMPT}} {{#var:BB_ENV}} bitbake -c populate_sdk {{#var:DEFAULT_IMAGE_BB_NAME}} | |||
{{Note|The SDK should match the rootfs image on the target, otherwise you may experience difficulties when trying to debug application failures.}} | {{Note|The SDK should match the rootfs image on the target, otherwise you may experience difficulties when trying to debug application failures.}} | ||
}} | }} | ||
Line 35: | Line 37: | ||
E.g. | E.g. | ||
{{#var:SHELL_PROMPT}} tmp/deploy/sdk/{{#var:TOOLCHAIN_INSTALL_NAME}} | |||
Note: The toolchain/script name depends on your build machine and the bitbaked image/recipe, and may change.<br> | Note: The toolchain/script name depends on your build machine and the bitbaked image/recipe, and may change.<br> | ||
<br> | <br> |