summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/conf/layer.conf
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2022-09-12 17:14:45 -0700
committerMark Hatle <mark.hatle@amd.com>2022-09-12 17:14:45 -0700
commitfb44a4e29a40c2653735358da4668c6ae2736fab (patch)
tree3c4357f5430f1d75e6f0de47dcbd506685abbf4a /meta-xilinx-core/conf/layer.conf
parente859586f3432f9ef5f4c2930cd2821a0075868e8 (diff)
downloadmeta-xilinx-fb44a4e29a40c2653735358da4668c6ae2736fab.tar.gz
User can now set XILINX_RELEASE_VERSION to either 'v2022.1' or 'v2022.2'
This will in-turn select the preferred version for various components to match a given release. It is advise that the user use the latest version whenever possible, but if they are stuck on an older version of Vivado they may need to select the older release. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/conf/layer.conf')
-rw-r--r--meta-xilinx-core/conf/layer.conf13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf
index bdf14ee9..9090abe6 100644
--- a/meta-xilinx-core/conf/layer.conf
+++ b/meta-xilinx-core/conf/layer.conf
@@ -44,4 +44,15 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
44 *->xserver-xorg \ 44 *->xserver-xorg \
45" 45"
46 46
47XILINX_RELEASE_VERSION = "v2022.2" 47XILINX_RELEASE_VERSION ??= "v2022.2"
48
49BUILDCFG_VARS:append = " XILINX_RELEASE_VERSION"
50
51PREFERRED_VERSION_qemu-xilinx ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%"
52PREFERRED_VERSION_qemu-xilinx-native ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%"
53PREFERRED_VERSION_qemu-xilinx-system-native ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%"
54PREFERRED_VERSION_qemu-devicetrees ?= "xilinx-${XILINX_RELEASE_VERSION}%"
55PREFERRED_VERSION_arm-trusted-firmware ?= "2.6-xilinx-${XILINX_RELEASE_VERSION}%"
56PREFERRED_VERSION_u-boot-xlnx ?= "v2021.01-xilinx-${XILINX_RELEASE_VERSION}%"
57PREFERRED_VERSION_pmu-rom-native ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}"
58PREFERRED_VERSION_linux-xlnx ?= "${@'5.15.19' if d.getVar("XILINX_RELEASE_VERSION") == 'v2022.1' else '5.15.36'}%"