aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2021-02-10 22:23:52 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2021-02-16 23:10:27 +0100
commit45ba252bcc24476a9a3a6100a6bacdd3362f4823 (patch)
tree7439ac22c3dcf6bf86bc3b680271b4bfcebd2bb4
parent42843203e0d18972fe0662a924a3aa0912a5b527 (diff)
downloadmeta-qcom-qcomlt-dev.tar.gz
meta-qcom-qcomlt-dev.tar.bz2
meta-qcom-qcomlt-dev.zip
recipes-kernel/linux/linux-linaro-qcomlt-dev: use AUTOREVqcomlt-dev
This kernel recipe builds the QCLT integration branch which is not a *relase* branch, but is regularly rebased. With a fixed SRCREV the build will often break. Instead let's use AUTOREV. To avoid any network issue during parsing we use AUTOREV only when the recipe is selected, which most likely implies the user understands the risks and the benefits! Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--recipes-kernel/linux/linux-linaro-qcomlt-dev.bb13
1 files changed, 7 insertions, 6 deletions
diff --git a/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb b/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb
index 9794e42..b402431 100644
--- a/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb
+++ b/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb
@@ -12,14 +12,15 @@ require recipes-kernel/linux/linux-linaro-qcom.inc
require recipes-kernel/linux/linux-qcom-bootimg.inc
SRCBRANCH ?= "integration-linux-qcomlt"
-#SRCREV ?= "${AUTOREV}"
-SRCREV = "7b0c8f86e1ef16d58c582de5a0f0331f82640096"
-LINUX_VERSION = "5.10-rc+"
+# Set default SRCREV. it is statically set to the korg v3.7 tag, and
+# 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)}'
+
+LINUX_VERSION = "5.11+"
PV = "${LINUX_VERSION}+git${SRCPV}"
# Wifi firmware has a recognizable arch :(
ERROR_QA_remove = "arch"
-
-# Disable by default
-DEFAULT_PREFERENCE = "-1"