Yocto CI: Difference between revisions

From Variscite Wiki
(Introduce prototype page with CI commands)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Set release according to "release" parameter in URL and use RELEASE_MORTY_V1.0_DART-6UL as default
<!-- Set release according to "release" parameter in URL and use RELEASE_MORTY_V1.0_DART-6UL as default
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release|RELEASE_MORTY_V1.0_DART-6UL}}}} <!--
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release|RELEASE_DUNFELL_V1.1_VAR-SOM-MX6}}}} <!--
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!--
-->
-->


MACHINE={{#var:MACHINE_NAME}}
MACHINE=={{#var:MACHINE_NAME}}
 
DISTRO=DISTRO={{#var:BUILD_DISTRO_FB}}
 
BUILD_SCR_CMD={{#var:BUILD_SCR_CMD}}


{{#ifeq: {{#var:SOC_SERIES}} | imx8 |
{{#ifeq: {{#var:SOC_SERIES}} | imx8 |
REPO_INIT=repo init -u {{#var:YOCTO_GIT}} -b {{#var:YOCTO_BRANCH}} -m {{#var:YOCTO_MANIFEST}}
REPO_INIT==repo init -u {{#var:YOCTO_GIT}} -b {{#var:YOCTO_BRANCH}} -m {{#var:YOCTO_MANIFEST}}
|
|
REPO_INIT=repo init -u {{#var:YOCTO_GIT}} -b {{#var:YOCTO_BRANCH}}
REPO_INIT==repo init -u {{#var:YOCTO_GIT}} -b {{#var:YOCTO_BRANCH}}
}}
}}


SETUP_ENV_CMD=MACHINE={{#var:MACHINE_NAME}} DISTRO={{#var:BUILD_DISTRO_FB}} {{#var:BUILD_SCR_CMD}} {{#var:BUILD_FOLDER_FB}}
{{#lst:Yocto_Platform_Customization|YOCTO_ENV_SETUP_X}}
 
<!--DISTRO=={{#var:BUILD_DISTRO_FB}}-->
<!--SETUP_ENV_CMD==MACHINE={{#var:MACHINE_NAME}} DISTRO={{#var:BUILD_DISTRO_FB}} {{#var:BUILD_SCR_CMD}} {{#var:BUILD_FOLDER_FB}}-->
KERNEL_VERSION=={{#var:KERNEL_VER}}

Latest revision as of 18:32, 31 May 2022


MACHINE==var-som-mx6

REPO_INIT==repo init -u https://github.com/varigit/variscite-bsp-platform.git -b dunfell


$ cd ~/var-fslc-yocto
$ MACHINE=var-som-mx6 DISTRO=fslc-xwayland . setup-environment build_xwayland

KERNEL_VERSION==5.4.142