Template:Yocto Toolchain installation IMX: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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 }} }} <!-- | ||
--> {{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 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}} }} | {{#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}} }} | ||
Line 36: | 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> |