Template:YOCTO ENV SETUP X: Difference between revisions
From Variscite Wiki
(Created page with "<!-- Yocto: MACHINE=<MACHINE_NAME> DISTRO=<BUILD_DISTRO> <BUILD_SRC_CMD> <BUILD_FOLDER_ENV> B2Qt: MACHINE=<MACHINE_NAME> <BUILD_SRC_CMD> Initialize BUILD_FOLDER_ENV -->{{#ife...") |
No edit summary |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!-- | <includeonly><!-- | ||
Yocto: MACHINE=<MACHINE_NAME> DISTRO=<BUILD_DISTRO> <BUILD_SRC_CMD> <BUILD_FOLDER_ENV> | Yocto: MACHINE=<MACHINE_NAME> DISTRO=<BUILD_DISTRO> <BUILD_SRC_CMD> <BUILD_FOLDER_ENV> | ||
B2Qt: MACHINE=<MACHINE_NAME> <BUILD_SRC_CMD> | B2Qt: MACHINE=<MACHINE_NAME> <BUILD_SRC_CMD> | ||
Line 46: | Line 46: | ||
Print the command to setup the environment | Print the command to setup the environment | ||
--> | --> | ||
{{#if:{{#var:BUILD_YOCTO_IN_DOCKER_CONTAINER}}| | |||
vari@yocto-{{#var:DOCKER_CONTAINER_INFO}}:/workdir$ MACHINE={{#var:MACHINE_NAME}} {{#var:DISTRO_CMD}} {{#var:BUILD_SCR_CMD}} {{#var:BUILD_FOLDER_ENV}} | |||
{{#ifeq: {{#var:HARDWARE_NAME}} | VAR-SOM-MX8X |{{#ifeq: {{#var:MACHINE_NAME_B0}} | imx8qxpb0-var-som | | |||
Or, to build for i.MXQXP SOC revision B0: | |||
vari@yocto{{#var:DOCKER_CONTAINER_INFO}}:/workdir$ MACHINE={{#var:MACHINE_NAME_B0}} {{#var:DISTRO_CMD}} {{#var:BUILD_SCR_CMD}} {{#var:BUILD_FOLDER_ENV}} | |||
|}}|}} | |||
| | |||
$ cd {{#var:BUILD_FOLDER}} | $ cd {{#var:BUILD_FOLDER}} | ||
$ MACHINE={{#var:MACHINE_NAME}} {{#var:DISTRO_CMD}} {{#var:BUILD_SCR_CMD}} {{#var:BUILD_FOLDER_ENV}} | $ MACHINE={{#var:MACHINE_NAME}} {{#var:DISTRO_CMD}} {{#var:BUILD_SCR_CMD}} {{#var:BUILD_FOLDER_ENV}} | ||
Line 52: | Line 59: | ||
$ cd {{#var:BUILD_FOLDER}} | $ cd {{#var:BUILD_FOLDER}} | ||
$ MACHINE={{#var:MACHINE_NAME_B0}} {{#var:DISTRO_CMD}} {{#var:BUILD_SCR_CMD}} {{#var:BUILD_FOLDER_ENV}} | $ MACHINE={{#var:MACHINE_NAME_B0}} {{#var:DISTRO_CMD}} {{#var:BUILD_SCR_CMD}} {{#var:BUILD_FOLDER_ENV}} | ||
|}}|}} | |}}|}}}}</includeonly> |