summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2023-04-03 20:50:14 +0000
committerMark Hatle <mark.hatle@amd.com>2023-04-12 13:15:01 -0700
commit4e3a2d838a7d3aefece851f537ffe6370065fc4a (patch)
tree1b76f13409cb0c104dc63feeb372d84d9e3dec9c /meta-xilinx-standalone
parentb37c654579e737ff8dcbf29a833ab972bc17d882 (diff)
downloadmeta-xilinx-4e3a2d838a7d3aefece851f537ffe6370065fc4a.tar.gz
meta-xilinx-standalone: xlnx-embeddedsw.bbclass: Can't use AUTOREV as default
Workaround for error: AUTOREV/SRCPV set too late for the fetcher to work properly, please set the variables earlier in parsing. Erroring instead of later obtuse build failures. This was introduced in bitbake commit: 4d9ec332d5bfc8b60b54f8ec2a17d34e35aa903a Poky commit: 04c27888d05e16791cfb5ebc3b51f9f02923775b Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone')
-rw-r--r--meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
index 13837a3e..d9c6e149 100644
--- a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
+++ b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
@@ -9,7 +9,7 @@ BRANCH ??= "${@d.getVarFlag('ESW_BRANCH', d.getVar('ESW_VER')) or '${ESW_VER}'}"
9 9
10ESW_REV[2022.1] = "56d94a506fd9f80949f4cff08e13015928603f01" 10ESW_REV[2022.1] = "56d94a506fd9f80949f4cff08e13015928603f01"
11ESW_REV[2022.2] = "5330a64c8efd14f0eef09befdbb8d3d738c33ec2" 11ESW_REV[2022.2] = "5330a64c8efd14f0eef09befdbb8d3d738c33ec2"
12SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or '${AUTOREV}'}" 12SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or 'invalid'}"
13 13
14EMBEDDEDSW_BRANCHARG ?= "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}" 14EMBEDDEDSW_BRANCHARG ?= "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}"
15EMBEDDEDSW_SRCURI ?= "${REPO};${EMBEDDEDSW_BRANCHARG}" 15EMBEDDEDSW_SRCURI ?= "${REPO};${EMBEDDEDSW_BRANCHARG}"