Template:COMMON YOCTO VARS: Difference between revisions
From Variscite Wiki
(Created page with "<!-- Some variables are derived from the YPC release and used on multiple pages. Consolidate the variable definitions here: --> {{#vardefine:QT_VER|{{#var:QT_VER|5}}}} <...") |
No edit summary |
||
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | |||
<!-- Some variables are derived from the YPC release and used on multiple pages. Consolidate | <!-- Some variables are derived from the YPC release and used on multiple pages. Consolidate | ||
the variable definitions here | the variable definitions here. This page should be included after Yocto_Platform_Customization | ||
or B2QT_Platform_Customization | |||
--> {{#vardefine:QT_VER|{{#var:QT_VER|5}}}} <!-- | --> {{#vardefine:QT_VER|{{#var:QT_VER|5}}}} <!-- Set the default QT Version to 5. newer releases define QT_VER in YPC | ||
--> {{#vardefine:U-BOOT_GIT_HTTP|{{#replace:{{#var:U-BOOT_GIT}}|.git|}}}} <!-- | |||
--> {{#vardefine:LAYER_SUFFIX | {{#varexists: FSLC_BSP_VERSION | -fslc | -imx }} }} <!-- | |||
--> {{#varexists: META_VARISCITE_SDK || {{#vardefine:META_VARISCITE_SDK | {{#var:META_VARISCITE_REPO}}}}}} <!-- | |||
--> {{#varexists: META_VARISCITE_REPO ||{{#vardefine:META_VARISCITE_REPO | meta-variscite{{#var:LAYER_SUFFIX}}}}}} <!-- | |||
Determine machine override syntax based on YOCTO_VERSION | |||
--> {{#vardefine:YOCTO_OVERRIDE_PREFIX|_}} <!-- | |||
--> {{#vardefine:YOCTO_OVERRIDE_SUFFIX|}} <!-- | |||
--> {{#ifexpr: {{#var:YOCTO_VERSION}} >= 4.0 |{{#vardefine:YOCTO_OVERRIDE_PREFIX|:}}}} <!-- | |||
--> {{#ifexpr: {{#var:YOCTO_VERSION}} >= 4.0 |{{#vardefine:YOCTO_OVERRIDE_SUFFIX|-nxp-bsp}}}} <!-- | |||
--> {{#vardefine:IMX_FAM|{{#switch: {{#var:SOC_FAMILY}} | imx8 = i.MX8 | imx8m = i.MX8M | i.MX8M }}}} <!-- Default to i.MX8M | |||
--> {{#vardefine:GUIDE_NAME|{{#if: {{#var:B2QT_GIT}} | B2QT | {{#if: {{#var:DEBIAN_NAME}} | Yocto Debian | Yocto }}}}}} <!-- | |||
--> {{#vardefine:ARCH_PREFIX | {{#varexists: FSLC_BSP_VERSION | -fslc | -poky }} }} <!-- | |||
--> {{#vardefine:ARCH_SUFFIX | {{#switch: {{#var:SOC_SERIES}} | imx8 = -linux | imx9 = -linux | -linux-gnueabi }} }} <!-- | |||
--> {{#vardefine:DEFAULT_DTS|{{#replace:{{#var:DEFAULT_DTB}}|.dtb|.dts}}}} <!-- | |||
--> {{#vardefine:UNZIP|{{GET_UNZIP|{{#var:RECOVERY_SD_NAME}}}}}} <!-- | |||
--> {{#vardefine:UNZIP_EXT|{{#var:SDCARD_IMG_EXT|sdcard.gz}}}} <!-- | |||
--> {{#vardefine:TMPDIR|{{#var:TMPDIR|tmp}}}} <!-- | |||
--> {{#vardefine:KERNEL_GIT_HTTP|{{#replace:{{#var:KERNEL_GIT}}|.git|}}}} <!-- | |||
--> | |||
</includeonly> |