ramips: switch rt305x subtarget to kernel 5.4
authorAlexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Wed, 5 Aug 2020 19:50:53 +0000 (22:50 +0300)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 5 Aug 2020 21:27:35 +0000 (23:27 +0200)
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>
target/linux/ramips/Makefile
target/linux/ramips/mt7620/target.mk
target/linux/ramips/mt7621/target.mk
target/linux/ramips/mt76x8/target.mk
target/linux/ramips/rt288x/target.mk
target/linux/ramips/rt3883/target.mk

index 864cfa543d053b0991cb0fe0c029f18221419b00..c3d118b2ab229e0f236ab5a4de6d56755f326a84 100644 (file)
@@ -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
index ff890c5540954ad1b97df9b3791a2bbfc722386a..56ceaee37fff7d4ed50648c9e18bd0073d795ef1 100644 (file)
@@ -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
index 2684ea5b64ddf468a57df8c3b86f373f470a1943..c2eba1d0da6f5f2fc7f9353033a1eb553d75ee81 100644 (file)
@@ -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
index 4ecc19ff6202639ffa7e9c1f05185e8e4df2ee4a..e13a12cf582b814c9197fae143e2039cb9d48cee 100644 (file)
@@ -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.
index 57b0ee22514fda88b9e7cc436eba0e78c689f3fb..917f150f2405387ca1ced2aedd5b23cd9bc43c52 100644 (file)
@@ -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
index 4a032f543747f17181118ed712fe6f254c815464..9c719f8b76fd0513be0ddc1681c1e67b8a544ea8 100644 (file)
@@ -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