aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-09-29 23:00:11 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-10-11 22:36:58 +1000
commit90c73758c8cc4c2ce1093f2aa4b0b167e545ce98 (patch)
tree2d8b34514c65593ac740fc43d7855da5da7caa59
parent690bd80c093fca1d12b176cd99127513f20c6c43 (diff)
downloadmeta-xilinx-90c73758c8cc4c2ce1093f2aa4b0b167e545ce98.tar.gz
meta-xilinx-90c73758c8cc4c2ce1093f2aa4b0b167e545ce98.tar.bz2
meta-xilinx-90c73758c8cc4c2ce1093f2aa4b0b167e545ce98.zip
linux-xlnx-dev: Remove duplicate setup
The PREFERRED_PROVIDER check is already done by linux-yocto.inc, avoid doing it twice. Also linux-xlnx.inc sets the PV correctly, no need to set it again. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--recipes-kernel/linux/linux-xlnx-dev.bb6
1 files changed, 0 insertions, 6 deletions
diff --git a/recipes-kernel/linux/linux-xlnx-dev.bb b/recipes-kernel/linux/linux-xlnx-dev.bb
index 0e672578..42979bab 100644
--- a/recipes-kernel/linux/linux-xlnx-dev.bb
+++ b/recipes-kernel/linux/linux-xlnx-dev.bb
@@ -9,14 +9,8 @@ SRCBRANCH = "${KBRANCH}"
# Use the SRCREV for the last tagged revision of linux-xlnx.
SRCREV ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-xlnx-dev", "${AUTOREV}", "629041605b93343ad2e8971ceaac3edcef0b043b", 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")
-}
-
LINUX_VERSION ?= "4.6+"
LINUX_VERSION_EXTENSION ?= "-xilinx-dev"
-PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}"
include linux-xlnx.inc