Template:YOCTO ENV SETUP X: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
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@474da3a440cf:/workdir/{{#var:BUILD_FOLDER_ENV}}$ 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@474da3a440cf:/workdir/{{#var:BUILD_FOLDER_ENV}}$ 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> | |}}|}}}}</includeonly> |