aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAlexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>2020-08-05 22:50:53 +0300
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-05 23:27:35 +0200
commit4c73c34ec4215deb690bf03faea2a0fe725476f0 (patch)
tree46d45d9e6c6a15de9f4eff330e4b33f7c161c10f /target
parent816973f42aa47d910d3e35c2f8f8eb9d67416396 (diff)
downloadupstream-4c73c34ec4215deb690bf03faea2a0fe725476f0.tar.gz
upstream-4c73c34ec4215deb690bf03faea2a0fe725476f0.tar.bz2
upstream-4c73c34ec4215deb690bf03faea2a0fe725476f0.zip
ramips: switch rt305x subtarget to kernel 5.4
RT3x5x seems to work fine with kernel 5.4. Set the default kernel version to 5.4 to bring this to a broader audience. Since 4 of 6 targets are on kernel 5.4 now, invert the kernel version setup logic in Makefile/target.mk files. Tested on ZyXEL Keenetic. Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com> [invert version setup logic] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/Makefile2
-rw-r--r--target/linux/ramips/mt7620/target.mk2
-rw-r--r--target/linux/ramips/mt7621/target.mk2
-rw-r--r--target/linux/ramips/mt76x8/target.mk1
-rw-r--r--target/linux/ramips/rt288x/target.mk2
-rw-r--r--target/linux/ramips/rt3883/target.mk2
6 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile
index 864cfa543d..c3d118b2ab 100644
--- a/target/linux/ramips/Makefile
+++ b/target/linux/ramips/Makefile
@@ -12,7 +12,7 @@ BOARDNAME:=MediaTek Ralink MIPS
SUBTARGETS:=mt7620 mt7621 mt76x8 rt288x rt305x rt3883
FEATURES:=squashfs gpio
-KERNEL_PATCHVER:=4.14
+KERNEL_PATCHVER:=5.4
KERNEL_TESTING_PATCHVER:=5.4
define Target/Description
diff --git a/target/linux/ramips/mt7620/target.mk b/target/linux/ramips/mt7620/target.mk
index ff890c5540..56ceaee37f 100644
--- a/target/linux/ramips/mt7620/target.mk
+++ b/target/linux/ramips/mt7620/target.mk
@@ -9,8 +9,6 @@ CPU_TYPE:=24kc
DEFAULT_PACKAGES += kmod-rt2800-soc wpad-basic swconfig
-KERNEL_PATCHVER:=5.4
-
define Target/Description
Build firmware images for Ralink MT7620 based boards.
endef
diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk
index 2684ea5b64..c2eba1d0da 100644
--- a/target/linux/ramips/mt7621/target.mk
+++ b/target/linux/ramips/mt7621/target.mk
@@ -7,8 +7,6 @@ BOARDNAME:=MT7621 based boards
FEATURES+=nand ramdisk rtc usb minor
CPU_TYPE:=24kc
-KERNEL_PATCHVER:=5.4
-
define Target/Description
Build firmware images for Ralink MT7621 based boards.
endef
diff --git a/target/linux/ramips/mt76x8/target.mk b/target/linux/ramips/mt76x8/target.mk
index 4ecc19ff62..e13a12cf58 100644
--- a/target/linux/ramips/mt76x8/target.mk
+++ b/target/linux/ramips/mt76x8/target.mk
@@ -8,7 +8,6 @@ FEATURES+=usb ramdisk
CPU_TYPE:=24kc
DEFAULT_PACKAGES += kmod-mt7603 wpad-basic swconfig
-KERNEL_PATCHVER:=5.4
define Target/Description
Build firmware images for Ralink MT76x8 based boards.
diff --git a/target/linux/ramips/rt288x/target.mk b/target/linux/ramips/rt288x/target.mk
index 57b0ee2251..917f150f24 100644
--- a/target/linux/ramips/rt288x/target.mk
+++ b/target/linux/ramips/rt288x/target.mk
@@ -9,6 +9,8 @@ CPU_TYPE:=24kc
DEFAULT_PACKAGES += kmod-rt2800-soc wpad-mini swconfig
+KERNEL_PATCHVER:=4.14
+
define Target/Description
Build firmware images for Ralink RT288x based boards.
endef
diff --git a/target/linux/ramips/rt3883/target.mk b/target/linux/ramips/rt3883/target.mk
index 4a032f5437..9c719f8b76 100644
--- a/target/linux/ramips/rt3883/target.mk
+++ b/target/linux/ramips/rt3883/target.mk
@@ -9,6 +9,8 @@ CPU_TYPE:=74kc
DEFAULT_PACKAGES += kmod-rt2800-pci kmod-rt2800-soc wpad-mini swconfig
+KERNEL_PATCHVER:=4.14
+
define Target/Description
Build firmware images for Ralink RT3662/RT3883 based boards.
endef