diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2016-09-29 23:00:11 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-10-11 22:36:58 +1000 |
| commit | 90c73758c8cc4c2ce1093f2aa4b0b167e545ce98 (patch) | |
| tree | 2d8b34514c65593ac740fc43d7855da5da7caa59 | |
| parent | 690bd80c093fca1d12b176cd99127513f20c6c43 (diff) | |
| download | meta-xilinx-90c73758c8cc4c2ce1093f2aa4b0b167e545ce98.tar.gz | |
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.bb | 6 |
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}" | |||
| 9 | # Use the SRCREV for the last tagged revision of linux-xlnx. | 9 | # Use the SRCREV for the last tagged revision of linux-xlnx. |
| 10 | SRCREV ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-xlnx-dev", "${AUTOREV}", "629041605b93343ad2e8971ceaac3edcef0b043b", d)}' | 10 | SRCREV ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-xlnx-dev", "${AUTOREV}", "629041605b93343ad2e8971ceaac3edcef0b043b", d)}' |
| 11 | 11 | ||
| 12 | python () { | ||
| 13 | if d.getVar("PREFERRED_PROVIDER_virtual/kernel", True) != "linux-xlnx-dev": | ||
| 14 | raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-xlnx-dev to enable it") | ||
| 15 | } | ||
| 16 | |||
| 17 | LINUX_VERSION ?= "4.6+" | 12 | LINUX_VERSION ?= "4.6+" |
| 18 | LINUX_VERSION_EXTENSION ?= "-xilinx-dev" | 13 | LINUX_VERSION_EXTENSION ?= "-xilinx-dev" |
| 19 | PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" | ||
| 20 | 14 | ||
| 21 | include linux-xlnx.inc | 15 | include linux-xlnx.inc |
| 22 | 16 | ||
