[openwrt/openwrt] realtek: remove KERNEL_PATCHVER overrides

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 29 07:37:26 PST 2023


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a336b6c7cffcf4e299db3b5cf17e499b427545f5

commit a336b6c7cffcf4e299db3b5cf17e499b427545f5
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Sun Jan 29 10:57:48 2023 +0100

    realtek: remove KERNEL_PATCHVER overrides
    
    On the realtek target, the subtarget makefiles include a KERNEL_PATCHVER
    setting, shadowing KERNEL_PATCHVER from target/linux/realtek/Makefile.
    This makes the realtek target an exception in this regard, and makes
    switching kernel version a bit bothersome. Remove the overrides so all
    subtargets use the same kernel version.
    
    Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 target/linux/realtek/rtl838x/target.mk | 2 --
 target/linux/realtek/rtl839x/target.mk | 2 --
 target/linux/realtek/rtl930x/target.mk | 2 --
 target/linux/realtek/rtl931x/target.mk | 2 --
 4 files changed, 8 deletions(-)

diff --git a/target/linux/realtek/rtl838x/target.mk b/target/linux/realtek/rtl838x/target.mk
index d78b44b717..e776676f66 100644
--- a/target/linux/realtek/rtl838x/target.mk
+++ b/target/linux/realtek/rtl838x/target.mk
@@ -5,8 +5,6 @@ CPU_TYPE:=4kec
 BOARD:=realtek
 BOARDNAME:=Realtek MIPS RTL838X
 
-KERNEL_PATCHVER:=5.10
-
 define Target/Description
 	Build firmware images for Realtek RTL838x based boards.
 endef
diff --git a/target/linux/realtek/rtl839x/target.mk b/target/linux/realtek/rtl839x/target.mk
index 88993fad14..b2f4e9c0dd 100644
--- a/target/linux/realtek/rtl839x/target.mk
+++ b/target/linux/realtek/rtl839x/target.mk
@@ -5,8 +5,6 @@ CPU_TYPE:=24kc
 BOARD:=realtek
 BOARDNAME:=Realtek MIPS RTL839X
 
-KERNEL_PATCHVER:=5.10
-
 define Target/Description
 	Build firmware images for Realtek RTL839x based boards.
 endef
diff --git a/target/linux/realtek/rtl930x/target.mk b/target/linux/realtek/rtl930x/target.mk
index 31b06219ca..a2b95f4db9 100644
--- a/target/linux/realtek/rtl930x/target.mk
+++ b/target/linux/realtek/rtl930x/target.mk
@@ -5,8 +5,6 @@ CPU_TYPE:=24kc
 BOARD:=realtek
 BOARDNAME:=Realtek MIPS RTL930X
 
-KERNEL_PATCHVER:=5.10
-
 define Target/Description
 	Build firmware images for Realtek RTL930x based boards.
 endef
diff --git a/target/linux/realtek/rtl931x/target.mk b/target/linux/realtek/rtl931x/target.mk
index 39892e5484..eaa6b61214 100644
--- a/target/linux/realtek/rtl931x/target.mk
+++ b/target/linux/realtek/rtl931x/target.mk
@@ -5,8 +5,6 @@ CPU_TYPE:=24kc
 BOARD:=realtek
 BOARDNAME:=Realtek MIPS RTL931X
 
-KERNEL_PATCHVER:=5.10
-
 define Target/Description
 	Build firmware images for Realtek RTL931x based boards.
 endef




More information about the lede-commits mailing list