From 4e3a2d838a7d3aefece851f537ffe6370065fc4a Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 3 Apr 2023 20:50:14 +0000 Subject: 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 --- meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone') 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}'}" ESW_REV[2022.1] = "56d94a506fd9f80949f4cff08e13015928603f01" ESW_REV[2022.2] = "5330a64c8efd14f0eef09befdbb8d3d738c33ec2" -SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or '${AUTOREV}'}" +SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or 'invalid'}" EMBEDDEDSW_BRANCHARG ?= "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH') != '']}" EMBEDDEDSW_SRCURI ?= "${REPO};${EMBEDDEDSW_BRANCHARG}" -- cgit v1.2.3-54-g00ecf