aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-xlnx-dev.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-xlnx-dev.bb')
-rw-r--r--recipes-kernel/linux/linux-xlnx-dev.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-xlnx-dev.bb b/recipes-kernel/linux/linux-xlnx-dev.bb
index 4ef20275..cf4c5c78 100644
--- a/recipes-kernel/linux/linux-xlnx-dev.bb
+++ b/recipes-kernel/linux/linux-xlnx-dev.bb
@@ -6,13 +6,11 @@
KBRANCH ?= "master-next"
# Use the SRCREV for the last tagged revision of linux-xlnx.
-SRCREV ?= "f27f400f43062b28d2b6f0977e50492b851d7464"
+SRCREV ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-xlnx-dev", "${AUTOREV}", "f27f400f43062b28d2b6f0977e50492b851d7464", d)}'
python () {
if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-xlnx-dev":
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-xlnx-dev to enable it")
- else:
- d.setVar("SRCREV", "${AUTOREV}")
}
LINUX_VERSION ?= "3.14+"