[meta-xilinx] [PATCH] linux-xlnx-dev: Remove duplicate setup
Nathan Rossi
nathan at nathanrossi.com
Wed Oct 26 09:19:39 PDT 2016
On Fri, Oct 21, 2016 at 11:15 PM, Nathan Rossi <nathan at nathanrossi.com> wrote:
> 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.
Merged.
Regards,
Nathan
>
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
> recipes-kernel/linux/linux-xlnx-dev.bb | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-xlnx-dev.bb b/recipes-kernel/linux/linux-xlnx-dev.bb
> index 0e672578e5..42979bab04 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
>
> --
> 2.9.3
More information about the meta-xilinx
mailing list