aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-24 19:34:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-24 19:34:02 +0000
commitc288d2d6d9a2dcca593157dae8175d40267135f4 (patch)
tree7c8ade3c9578f65932f36d6c55176bf8664b6ca6 /target
parentfc822a4370f534ad83de092a2a9ababa94ebee8b (diff)
downloadupstream-c288d2d6d9a2dcca593157dae8175d40267135f4.tar.gz
upstream-c288d2d6d9a2dcca593157dae8175d40267135f4.tar.bz2
upstream-c288d2d6d9a2dcca593157dae8175d40267135f4.zip
kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43047
Diffstat (limited to 'target')
-rw-r--r--target/linux/adm5120/Makefile2
-rw-r--r--target/linux/adm8668/Makefile2
-rw-r--r--target/linux/amazon/Makefile2
-rw-r--r--target/linux/ar7/Makefile2
-rw-r--r--target/linux/ar71xx/Makefile2
-rw-r--r--target/linux/at91/Makefile2
-rw-r--r--target/linux/atheros/Makefile2
-rw-r--r--target/linux/au1000/Makefile2
-rw-r--r--target/linux/avr32/Makefile2
-rw-r--r--target/linux/bcm53xx/Makefile2
-rw-r--r--target/linux/brcm2708/Makefile2
-rw-r--r--target/linux/brcm47xx/Makefile2
-rw-r--r--target/linux/brcm63xx/Makefile2
-rw-r--r--target/linux/cns21xx/Makefile2
-rw-r--r--target/linux/cns3xxx/Makefile2
-rw-r--r--target/linux/cobalt/Makefile2
-rw-r--r--target/linux/ep93xx/Makefile2
-rw-r--r--target/linux/gemini/Makefile2
-rw-r--r--target/linux/imx6/Makefile2
-rw-r--r--target/linux/iop32x/Makefile2
-rw-r--r--target/linux/ipq806x/Makefile2
-rw-r--r--target/linux/ixp4xx/Makefile2
-rw-r--r--target/linux/kirkwood/Makefile2
-rw-r--r--target/linux/lantiq/Makefile2
-rw-r--r--target/linux/malta/Makefile2
-rw-r--r--target/linux/mcs814x/Makefile2
-rw-r--r--target/linux/mpc52xx/Makefile2
-rw-r--r--target/linux/mpc83xx/Makefile2
-rw-r--r--target/linux/mpc85xx/Makefile2
-rw-r--r--target/linux/mvebu/Makefile2
-rw-r--r--target/linux/mxs/Makefile2
-rw-r--r--target/linux/octeon/Makefile2
-rw-r--r--target/linux/omap/Makefile2
-rw-r--r--target/linux/omap24xx/Makefile2
-rw-r--r--target/linux/orion/Makefile2
-rw-r--r--target/linux/ppc40x/Makefile2
-rw-r--r--target/linux/ppc44x/Makefile2
-rw-r--r--target/linux/pxa/Makefile2
-rw-r--r--target/linux/ramips/Makefile2
-rw-r--r--target/linux/rb532/Makefile2
-rw-r--r--target/linux/realview/Makefile2
-rw-r--r--target/linux/sibyte/Makefile2
-rw-r--r--target/linux/sparc/Makefile2
-rw-r--r--target/linux/sunxi/Makefile2
-rw-r--r--target/linux/uml/Makefile2
-rw-r--r--target/linux/x86/Makefile2
-rw-r--r--target/linux/x86/ep80579/target.mk2
-rw-r--r--target/linux/x86_64/Makefile2
-rw-r--r--target/linux/xburst/Makefile2
49 files changed, 49 insertions, 49 deletions
diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120/Makefile
index 2500f90e77..e58122db07 100644
--- a/target/linux/adm5120/Makefile
+++ b/target/linux/adm5120/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
BOARD:=adm5120
BOARDNAME:=Infineon/ADMtek ADM5120
-LINUX_VERSION:=3.8.13
+KERNEL_PATCHVER:=3.8
SUBTARGETS:=router_le router_be rb1xx
INITRAMFS_EXTRA_FILES:=
diff --git a/target/linux/adm8668/Makefile b/target/linux/adm8668/Makefile
index de3b9e7878..2220bbd120 100644
--- a/target/linux/adm8668/Makefile
+++ b/target/linux/adm8668/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Infineon WildPass ADM8668
FEATURES:=squashfs usb pci
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile
index d2d4e8d673..9553da098c 100644
--- a/target/linux/amazon/Makefile
+++ b/target/linux/amazon/Makefile
@@ -10,7 +10,7 @@ ARCH:=mips
BOARD:=amazon
BOARDNAME:=Infineon Amazon
FEATURES:=squashfs broken
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile
index 3f40e57837..0f6377fdaa 100644
--- a/target/linux/ar7/Makefile
+++ b/target/linux/ar7/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs atm low_mem
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
SUBTARGETS:=generic ac49x
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index 1b400745d1..74bc361faf 100644
--- a/target/linux/ar71xx/Makefile
+++ b/target/linux/ar71xx/Makefile
@@ -13,7 +13,7 @@ FEATURES:=mips16
CPU_TYPE=34kc
SUBTARGETS:=generic nand mikrotik
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile
index c7e67fec01..27ee330026 100644
--- a/target/linux/at91/Makefile
+++ b/target/linux/at91/Makefile
@@ -13,7 +13,7 @@ BOARDNAME:=Atmel AT91
FEATURES:=squashfs targz ext2 usb
SUBTARGETS:=legacy sama5d3
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/atheros/Makefile b/target/linux/atheros/Makefile
index 9ebbd34cb4..3983ff7ad3 100644
--- a/target/linux/atheros/Makefile
+++ b/target/linux/atheros/Makefile
@@ -11,7 +11,7 @@ BOARD:=atheros
BOARDNAME:=Atheros AR231x/AR5312
FEATURES:=squashfs low_mem
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/au1000/Makefile b/target/linux/au1000/Makefile
index 9a2e4f5fae..cb08fb5f28 100644
--- a/target/linux/au1000/Makefile
+++ b/target/linux/au1000/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs usb pci
SUBTARGETS=au1500 au1550
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += wpad-mini yamonenv
diff --git a/target/linux/avr32/Makefile b/target/linux/avr32/Makefile
index cd8bd5e60d..b6802a466c 100644
--- a/target/linux/avr32/Makefile
+++ b/target/linux/avr32/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Atmel AVR32
FEATURES:=squashfs
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/bcm53xx/Makefile b/target/linux/bcm53xx/Makefile
index 69f30f84ec..f47dae8180 100644
--- a/target/linux/bcm53xx/Makefile
+++ b/target/linux/bcm53xx/Makefile
@@ -14,7 +14,7 @@ MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
CPU_TYPE:=cortex-a9
CPU_SUBTYPE:=vfpv3
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/brcm2708/Makefile b/target/linux/brcm2708/Makefile
index c8a5536934..c6d72bcbdd 100644
--- a/target/linux/brcm2708/Makefile
+++ b/target/linux/brcm2708/Makefile
@@ -15,7 +15,7 @@ MAINTAINER:=Florian Fainelli <florian@openwrt.org>
CPU_TYPE:=arm1176jzf-s
CPU_SUBTYPE:=vfp
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835
diff --git a/target/linux/brcm47xx/Makefile b/target/linux/brcm47xx/Makefile
index c15ba1c682..010013307d 100644
--- a/target/linux/brcm47xx/Makefile
+++ b/target/linux/brcm47xx/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs usb
SUBTARGETS:=generic mips74k legacy
MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/brcm63xx/Makefile b/target/linux/brcm63xx/Makefile
index c7fdfe60be..1ff2eb0552 100644
--- a/target/linux/brcm63xx/Makefile
+++ b/target/linux/brcm63xx/Makefile
@@ -11,7 +11,7 @@ BOARD:=brcm63xx
BOARDNAME:=Broadcom BCM63xx
SUBTARGETS:=generic smp
FEATURES:=squashfs usb atm pci pcmcia usbgadget
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/cns21xx/Makefile b/target/linux/cns21xx/Makefile
index a183a21b86..866030a9d0 100644
--- a/target/linux/cns21xx/Makefile
+++ b/target/linux/cns21xx/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Cavium Networks Econa CNS21xx
FEATURES:=squashfs
CPU_TYPE:=fa526
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/cns3xxx/Makefile b/target/linux/cns3xxx/Makefile
index dd5349cd6f..27ed12f2f7 100644
--- a/target/linux/cns3xxx/Makefile
+++ b/target/linux/cns3xxx/Makefile
@@ -14,7 +14,7 @@ CPU_TYPE:=mpcore
CPU_SUBTYPE:=vfp
MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/cobalt/Makefile b/target/linux/cobalt/Makefile
index 527d36dd94..5f0adc288a 100644
--- a/target/linux/cobalt/Makefile
+++ b/target/linux/cobalt/Makefile
@@ -14,7 +14,7 @@ CPU_TYPE := 5k
CPU_CFLAGS_5k := -march=r5000
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/ep93xx/Makefile b/target/linux/ep93xx/Makefile
index ad7fb31bd3..7e7422b192 100644
--- a/target/linux/ep93xx/Makefile
+++ b/target/linux/ep93xx/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs ext4 targz usb display sound
CPU_TYPE:=arm920t
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-LINUX_VERSION:=3.8.13
+KERNEL_PATCHVER:=3.8
DEVICE_TYPE:=developerboard
diff --git a/target/linux/gemini/Makefile b/target/linux/gemini/Makefile
index 45ae97ef91..7eb751ec70 100644
--- a/target/linux/gemini/Makefile
+++ b/target/linux/gemini/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs pci
CPU_TYPE:=fa526
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
KERNELNAME:=zImage
diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile
index c29187cb35..a9da7bf99a 100644
--- a/target/linux/imx6/Makefile
+++ b/target/linux/imx6/Makefile
@@ -14,7 +14,7 @@ CPU_TYPE:=cortex-a9
CPU_SUBTYPE:=neon
MAINTAINER:=Luka Perkov <luka@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/iop32x/Makefile b/target/linux/iop32x/Makefile
index 02037d9837..1159c74b05 100644
--- a/target/linux/iop32x/Makefile
+++ b/target/linux/iop32x/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Intel IOP32x
FEATURES:=squashfs broken
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/ipq806x/Makefile b/target/linux/ipq806x/Makefile
index 55a0d72f7d..875bb9cee9 100644
--- a/target/linux/ipq806x/Makefile
+++ b/target/linux/ipq806x/Makefile
@@ -9,7 +9,7 @@ FEATURES:=squashfs
CPU_TYPE:=cortex-a7
MAINTAINER:=John Crispin <blogic@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
KERNELNAME:=Image dtbs
diff --git a/target/linux/ixp4xx/Makefile b/target/linux/ixp4xx/Makefile
index 2b249dc855..780ca9653d 100644
--- a/target/linux/ixp4xx/Makefile
+++ b/target/linux/ixp4xx/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
SUBTARGETS=generic harddisk
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile
index 4b6d841de2..bf3c431a17 100644
--- a/target/linux/kirkwood/Makefile
+++ b/target/linux/kirkwood/Makefile
@@ -13,7 +13,7 @@ FEATURES:=targz usb jffs2_nand nand ubifs
CPU_TYPE:=xscale
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/lantiq/Makefile b/target/linux/lantiq/Makefile
index f5ba6bf4f4..99075dcbb1 100644
--- a/target/linux/lantiq/Makefile
+++ b/target/linux/lantiq/Makefile
@@ -12,7 +12,7 @@ FEATURES:=squashfs
SUBTARGETS=xway xrx200
MAINTAINER:=John Crispin <blogic@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
CPU_TYPE:=mips32r2
diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index e5b16b2bdc..7796754003 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -12,7 +12,7 @@ SUBTARGETS:=le be le64 be64
INITRAMFS_EXTRA_FILES:=
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
DEVICE_TYPE:=developerboard
diff --git a/target/linux/mcs814x/Makefile b/target/linux/mcs814x/Makefile
index 25c778afa6..091f74dd08 100644
--- a/target/linux/mcs814x/Makefile
+++ b/target/linux/mcs814x/Makefile
@@ -13,7 +13,7 @@ FEATURES:=usb squashfs
CPU_TYPE:=arm926ej-s
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
DEVICE_TYPE:=other
diff --git a/target/linux/mpc52xx/Makefile b/target/linux/mpc52xx/Makefile
index 56f655a31e..aa3c5a72cc 100644
--- a/target/linux/mpc52xx/Makefile
+++ b/target/linux/mpc52xx/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Freescale MPC52xx
CPU_TYPE:=603e
FEATURES:=targz ext4
-LINUX_VERSION:=3.8.13
+KERNEL_PATCHVER:=3.8
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/mpc83xx/Makefile b/target/linux/mpc83xx/Makefile
index 806b8f6e4e..c5ab1e2d55 100644
--- a/target/linux/mpc83xx/Makefile
+++ b/target/linux/mpc83xx/Makefile
@@ -13,7 +13,7 @@ CPU_TYPE:=603e
FEATURES:=squashfs targz
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.8.13
+KERNEL_PATCHVER:=3.8
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile
index 37669684db..dba0361ee4 100644
--- a/target/linux/mpc85xx/Makefile
+++ b/target/linux/mpc85xx/Makefile
@@ -14,7 +14,7 @@ FEATURES:=spe_fpu squashfs
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
SUBTARGETS=generic p1020
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/mvebu/Makefile b/target/linux/mvebu/Makefile
index dc61e7c2c1..630a330608 100644
--- a/target/linux/mvebu/Makefile
+++ b/target/linux/mvebu/Makefile
@@ -14,7 +14,7 @@ CPU_TYPE:=cortex-a9
CPU_SUBTYPE:=vfpv3
MAINTAINER:=Luka Perkov <luka@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/mxs/Makefile b/target/linux/mxs/Makefile
index 9f950959b8..7e5183fb6d 100644
--- a/target/linux/mxs/Makefile
+++ b/target/linux/mxs/Makefile
@@ -13,7 +13,7 @@ FEATURES:=ext4 rtc usb gpio
CPU_TYPE:=arm926ej-s
MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
KERNELNAME:=zImage dtbs
define Target/Description
diff --git a/target/linux/octeon/Makefile b/target/linux/octeon/Makefile
index 507938fe7b..e15aad81d2 100644
--- a/target/linux/octeon/Makefile
+++ b/target/linux/octeon/Makefile
@@ -14,7 +14,7 @@ CPU_TYPE:=octeon
CPU_CFLAGS_octeon:=-march=octeon -mabi=64
MAINTAINER:=John Crispin <blogic@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/omap/Makefile b/target/linux/omap/Makefile
index 3ebfccddc3..03a2c244e4 100644
--- a/target/linux/omap/Makefile
+++ b/target/linux/omap/Makefile
@@ -13,7 +13,7 @@ FEATURES:=usb usbgadget ext4 targz fpu audio display nand ubifs
CPU_TYPE:=cortex-a9
CPU_SUBTYPE:=vfpv3
-LINUX_VERSION:=3.13.7
+KERNEL_PATCHVER:=3.13
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
diff --git a/target/linux/omap24xx/Makefile b/target/linux/omap24xx/Makefile
index 40ad342bed..af82384730 100644
--- a/target/linux/omap24xx/Makefile
+++ b/target/linux/omap24xx/Makefile
@@ -13,7 +13,7 @@ MAINTAINER:=Michael Buesch <m@bues.ch>
FEATURES:=targz squashfs jffs2_nand usb usbgadget display gpio audio broken
CPU_TYPE:=arm1136j-s
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
define Target/Description
TI OMAP-24xx
diff --git a/target/linux/orion/Makefile b/target/linux/orion/Makefile
index ec40a00d18..6717540d6d 100644
--- a/target/linux/orion/Makefile
+++ b/target/linux/orion/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Marvell Orion
SUBTARGETS:=generic harddisk
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/ppc40x/Makefile b/target/linux/ppc40x/Makefile
index 00e8d4322c..fee261e4b1 100644
--- a/target/linux/ppc40x/Makefile
+++ b/target/linux/ppc40x/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs
CPU_TYPE:=405
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/ppc44x/Makefile b/target/linux/ppc44x/Makefile
index 5c2e15da2a..c36675cc05 100644
--- a/target/linux/ppc44x/Makefile
+++ b/target/linux/ppc44x/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs broken
CPU_TYPE:=440
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/pxa/Makefile b/target/linux/pxa/Makefile
index c61231daf7..2aed3d9caf 100644
--- a/target/linux/pxa/Makefile
+++ b/target/linux/pxa/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Marvell/Intel PXA2xx
FEATURES:=squashfs
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile
index 008e5aa067..cf1b9e8311 100644
--- a/target/linux/ramips/Makefile
+++ b/target/linux/ramips/Makefile
@@ -13,7 +13,7 @@ SUBTARGETS:=rt305x mt7620a mt7620n mt7621 rt3883 rt288x
FEATURES:=squashfs gpio
MAINTAINER:=John Crispin <blogic@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += \
diff --git a/target/linux/rb532/Makefile b/target/linux/rb532/Makefile
index e07afc138c..0a6bd712d0 100644
--- a/target/linux/rb532/Makefile
+++ b/target/linux/rb532/Makefile
@@ -11,7 +11,7 @@ BOARD:=rb532
BOARDNAME:=Mikrotik RouterBoard 532
FEATURES:=pci targz
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += wpad-mini kmod-ath5k kmod-input-rb532
diff --git a/target/linux/realview/Makefile b/target/linux/realview/Makefile
index 80892075b0..065c170ae4 100644
--- a/target/linux/realview/Makefile
+++ b/target/linux/realview/Makefile
@@ -14,7 +14,7 @@ CPU_TYPE:=mpcore
CPU_SUBTYPE:=vfp
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
DEVICE_TYPE:=developerboard
diff --git a/target/linux/sibyte/Makefile b/target/linux/sibyte/Makefile
index 2370cac25d..a98b170f59 100644
--- a/target/linux/sibyte/Makefile
+++ b/target/linux/sibyte/Makefile
@@ -14,7 +14,7 @@ CPU_TYPE:=sb1
CPU_CFLAGS_sb1:=-march=sb1
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/sparc/Makefile b/target/linux/sparc/Makefile
index 0fee7c17eb..13a5a05987 100644
--- a/target/linux/sparc/Makefile
+++ b/target/linux/sparc/Makefile
@@ -11,7 +11,7 @@ BOARD:=sparc
BOARDNAME:=Sun UltraSPARC
FEATURES+=fpu tgz ext4 squashfs broken
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile
index e96f0815b4..0deb2d8f27 100644
--- a/target/linux/sunxi/Makefile
+++ b/target/linux/sunxi/Makefile
@@ -15,7 +15,7 @@ CPU_TYPE:=cortex-a8
CPU_SUBTYPE:=vfpv3
MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
KERNELNAME:=zImage dtbs
DEFAULT_PACKAGES += uboot-envtools uboot-sunxi kmod-eeprom-sunxi kmod-wdt-sunxi
diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile
index 35290da28e..eb4fed11e9 100644
--- a/target/linux/uml/Makefile
+++ b/target/linux/uml/Makefile
@@ -23,7 +23,7 @@ BOARDNAME:=User Mode Linux
FEATURES:=ext4 audio
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile
index 32eafdfc0a..13f15c0826 100644
--- a/target/linux/x86/Makefile
+++ b/target/linux/x86/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs ext4 vdi vmdk pcmcia targz
SUBTARGETS=generic olpc xen_domu ep80579 net5501 kvm_guest geos alix2 thincan \
rdc
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
KERNELNAME:=bzImage
diff --git a/target/linux/x86/ep80579/target.mk b/target/linux/x86/ep80579/target.mk
index 4fe35e0440..f4bd20a0f1 100644
--- a/target/linux/x86/ep80579/target.mk
+++ b/target/linux/x86/ep80579/target.mk
@@ -1,5 +1,5 @@
BOARDNAME:=Intel EP80579
-LINUX_VERSION:=3.3.8
+KERNEL_PATCHVER:=3.3
DEFAULT_PACKAGES += kmod-ep80579-can kmod-ep80579-eth kmod-ep80579-misc \
kmod-usb-core kmod-usb2 kmod-usb-hid kmod-usb-uhci
diff --git a/target/linux/x86_64/Makefile b/target/linux/x86_64/Makefile
index 73898ec62a..ca0a05a38b 100644
--- a/target/linux/x86_64/Makefile
+++ b/target/linux/x86_64/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=x86_64
FEATURES:=ext4 vdi vmdk targz
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
-LINUX_VERSION:=3.14.18
+KERNEL_PATCHVER:=3.14
KERNELNAME:=bzImage
diff --git a/target/linux/xburst/Makefile b/target/linux/xburst/Makefile
index 92897393d6..64ee7ec4ec 100644
--- a/target/linux/xburst/Makefile
+++ b/target/linux/xburst/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=Ingenic XBurst
FEATURES:=targz nand ubifs audio
SUBTARGETS:=qi_lb60 n516 n526 id800wt
-LINUX_VERSION:=3.10.49
+KERNEL_PATCHVER:=3.10
DEVICE_TYPE=other