Template:Yocto Toolchain installation IMX: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
--> {{#vardefine:PLATFORM_OS | {{#varexists: B2QT_GIT | B2QT | {{#varexists: DEBIAN_NAME | Debian | Yocto }} }} }} <!-- | --> {{#vardefine:PLATFORM_OS | {{#varexists: B2QT_GIT | B2QT | {{#varexists: DEBIAN_NAME | Debian | Yocto }} }} }} <!-- | ||
--> {{#vardefine:RELEASE_GUIDE | {{#varexists:DEBIAN_NAME | Yocto_Debian_Build_Release | {{#var:PLATFORM_OS}}_Build_Release }} }} <!-- | --> {{#vardefine:RELEASE_GUIDE | {{#varexists:DEBIAN_NAME | Yocto_Debian_Build_Release | {{#var:PLATFORM_OS}}_Build_Release }} }} <!-- | ||
--> {{#vardefine:SHELL_PROMPT|{{#if:{{#var:BUILD_YOCTO_IN_DOCKER_CONTAINER}}|vari@474da3a440cf:/workdir/{{#var:BUILD_FOLDER_ENV}}$|$}}}} <!-- | |||
--> {{PageHeader|Yocto toolchain installation for out of Yocto builds}} {{DocImage|category1=Yocto|category2={{#var:HARDWARE_NAME}}}} __toc__ | --> {{PageHeader|Yocto toolchain installation for out of Yocto builds}} {{DocImage|category1=Yocto|category2={{#var:HARDWARE_NAME}}}} __toc__ | ||
Line 19: | Line 20: | ||
{{#lst:Yocto_Platform_Customization|YOCTO_ENV_SETUP_X}} | {{#lst:Yocto_Platform_Customization|YOCTO_ENV_SETUP_X}} | ||
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 29: | ||
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.}} | ||
}} | }} |