[OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

Rafał Miłecki zajec5 at gmail.com
Tue Feb 24 12:04:15 EST 2015


On 24 February 2015 at 16:29, Álvaro Fernández Rojas <noltari at gmail.com> wrote:
> diff --git a/include/kernel.mk b/include/kernel.mk
> index e21d53a..18cb133 100644
> --- a/include/kernel.mk
> +++ b/include/kernel.mk
> @@ -52,7 +52,11 @@ else
>    LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz
>    TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,)
>    ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),)
> +    ifeq ($(word 1,$(subst ., ,$(KERNEL_BASE))),3)
>        LINUX_SITE:=@KERNEL/linux/kernel/v3.x$(TESTING)
> +    else
> +      LINUX_SITE:=@KERNEL/linux/kernel/v4.x$(TESTING)
> +    endif
>    endif
>
>    ifneq ($(TARGET_BUILD),1)

I don't want the same problem when switching to 5.0, we should use
something generic. I've already sent
[PATCH] kernel.mk: handle major version dynamically
, will commit it later if noone will NACK it.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list