diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-06-10 18:43:51 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 10:43:42 -0600 |
| commit | 82d56b97e95abc04803f214691d4875704911889 (patch) | |
| tree | fe41981a2fc0c1185e700a145fbfdf9ad0047fa6 | |
| parent | 399ac45dbb8e11f899f248565c7bb54263f73648 (diff) | |
| download | meta-xilinx-82d56b97e95abc04803f214691d4875704911889.tar.gz | |
meta-xilinx-standalone: layer.conf: Change PREFERRED_VERSION
Adjust the way the PREFERRED_VERSION happens to allow us to use the same
logic in layers that depend on this one.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-standalone/conf/layer.conf | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/meta-xilinx-standalone/conf/layer.conf b/meta-xilinx-standalone/conf/layer.conf index 84d83673..ef4a919e 100644 --- a/meta-xilinx-standalone/conf/layer.conf +++ b/meta-xilinx-standalone/conf/layer.conf | |||
| @@ -17,7 +17,12 @@ LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze" | |||
| 17 | 17 | ||
| 18 | LAYERSERIES_COMPAT_xilinx-standalone = "scarthgap" | 18 | LAYERSERIES_COMPAT_xilinx-standalone = "scarthgap" |
| 19 | 19 | ||
| 20 | PREFERRED_VERSION_plm-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%" | 20 | # What version of ESW and related should we default to? |
| 21 | PREFERRED_VERSION_psm-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%" | 21 | # Note, there is no 'esw' recipe, but we're going to use this for all |
| 22 | PREFERRED_VERSION_pmu-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%" | 22 | # of the related items in this layer. |
| 23 | PREFERRED_VERSION_fsbl-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%" | 23 | PREFERRED_VERSION_esw ??= "${@(d.getVar('XILINX_RELEASE_VERSION') or 'undefined').replace('v', '')}" |
| 24 | |||
| 25 | PREFERRED_VERSION_plm-firmware ??= "${PREFERRED_VERSION_esw}%" | ||
| 26 | PREFERRED_VERSION_psm-firmware ??= "${PREFERRED_VERSION_esw}%" | ||
| 27 | PREFERRED_VERSION_pmu-firmware ??= "${PREFERRED_VERSION_esw}%" | ||
| 28 | PREFERRED_VERSION_fsbl-firmware ??= "${PREFERRED_VERSION_esw}%" | ||
