linux-linaro-qcomlt-dev: fix SRCREV override

Currently linux-linaro-qcomlt-dev fails because SRCREV is applied too
late to be fully processed, which results in the following bitbake
error. Fix it by enforcing immediate parsing of SRCREV assignment.

ERROR:
/home/lumag/Projects/RPB/build-rpb/conf/../../layers/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb:
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.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
Dmitry Baryshkov
2023-03-31 20:56:17 +03:00
parent 906ddf7d28
commit f714c59100

View File

@@ -14,7 +14,7 @@ SRCBRANCH = "integration-linux-qcomlt"
# hence prevent network access during parsing. If linux-linaro-qcomlt-dev
# is the preferred provider, they will be overridden to AUTOREV in following
# anonymous python routine and resolved when the variables are finalized.
SRCREV ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-linaro-qcomlt-dev", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}'
SRCREV := '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-linaro-qcomlt-dev", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}'
LINUX_VERSION = "5.11+"
PV = "${LINUX_VERSION}+git${SRCPV}"