mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
cleanup: drop obselete code
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,31 +0,0 @@
|
||||
From 9572a5a438a8fc6e53283cdab8f56479509e476f Mon Sep 17 00:00:00 2001
|
||||
From: John Crispin <john@phrozen.org>
|
||||
Date: Sat, 7 May 2022 19:48:29 +0200
|
||||
Subject: [PATCH] rtkmipsel: add kernel-version
|
||||
|
||||
Signed-off-by: John Crispin <john@phrozen.org>
|
||||
---
|
||||
include/kernel-version.mk | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/kernel-version.mk b/include/kernel-version.mk
|
||||
index efecf2f919..787abfca14 100644
|
||||
--- a/include/kernel-version.mk
|
||||
+++ b/include/kernel-version.mk
|
||||
@@ -6,11 +6,13 @@ ifdef CONFIG_TESTING_KERNEL
|
||||
KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER)
|
||||
endif
|
||||
|
||||
+LINUX_VERSION-3.18 = .29
|
||||
LINUX_VERSION-4.4 = .60
|
||||
LINUX_VERSION-4.14 = .193
|
||||
LINUX_VERSION-5.4 = .158
|
||||
LINUX_VERSION-5.10 = .27
|
||||
|
||||
+LINUX_KERNEL_HASH-3.18.29 = d099072fcbd6aefea8c787c0325eaa56c65b35b15c52579c8a613349bcba425f
|
||||
LINUX_KERNEL_HASH-4.4.60 = e7f2f47acf17497d6ffd713eda65c025b3df0bce09faa8c04712bf1b3cfc9fdb
|
||||
LINUX_KERNEL_HASH-4.14.193 = 0b0fb41d4430e1a42738b341cbfd2f41951aa5cd02acabbd53f076119c8b9f03
|
||||
LINUX_KERNEL_HASH-5.4.158 = 6e018fecdc8fc24553756e582d83b82d65b10a6b03ef36262a24911f839b8d59
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
From 414f0c79a0fac86020f220b6feba518926420491 Mon Sep 17 00:00:00 2001
|
||||
From: John Crispin <john@phrozen.org>
|
||||
Date: Sat, 7 May 2022 19:50:33 +0200
|
||||
Subject: [PATCH 4/4] kernel-headers: add v3.18->v5.10 support
|
||||
|
||||
Signed-off-by: John Crispin <john@phrozen.org>
|
||||
---
|
||||
toolchain/kernel-headers/Makefile | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
|
||||
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
|
||||
index c33f26d46d..a97f230d57 100644
|
||||
--- a/toolchain/kernel-headers/Makefile
|
||||
+++ b/toolchain/kernel-headers/Makefile
|
||||
@@ -14,6 +14,18 @@ override HOST_QUILT:=
|
||||
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
+ifneq ($(KERNEL_NAME_SUFFIX),)
|
||||
+ KERNEL_PATCHVER := 5.10
|
||||
+ KERNEL_NAME_SUFFIX:=
|
||||
+ GENERIC_BACKPORT_DIR := $(GENERIC_PLATFORM_DIR)/backport$(if $(wildcard $(GENERIC_PLATFORM_DIR)/backport-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER))
|
||||
+ GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/pending$(if $(wildcard $(GENERIC_PLATFORM_DIR)/pending-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER))
|
||||
+ GENERIC_HACK_DIR := $(GENERIC_PLATFORM_DIR)/hack$(if $(wildcard $(GENERIC_PLATFORM_DIR)/hack-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER))
|
||||
+ GENERIC_FILES_DIR := $(foreach dir,$(wildcard $(GENERIC_PLATFORM_DIR)/files $(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)),"$(dir)")
|
||||
+ $(warning GENERIC_BACKPORT_DIR = $(GENERIC_BACKPORT_DIR))
|
||||
+ include $(INCLUDE_DIR)/kernel-version.mk
|
||||
+ include $(INCLUDE_DIR)/kernel.mk
|
||||
+endif
|
||||
+
|
||||
PKG_NAME:=linux
|
||||
PKG_VERSION:=$(LINUX_VERSION)
|
||||
PKG_SOURCE:=$(LINUX_SOURCE)
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From a53155dd79b1114533e30272ccbc216feaa8b755 Mon Sep 17 00:00:00 2001
|
||||
From: John Crispin <john@phrozen.org>
|
||||
Date: Wed, 3 Nov 2021 14:39:21 +0100
|
||||
Subject: [PATCH 51/51] toolchain: do not enable mips16 on realtek AP kernel
|
||||
|
||||
Signed-off-by: John Crispin <john@phrozen.org>
|
||||
---
|
||||
toolchain/Config.in | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/toolchain/Config.in b/toolchain/Config.in
|
||||
index 6dda9af92d..b9638a1b69 100644
|
||||
--- a/toolchain/Config.in
|
||||
+++ b/toolchain/Config.in
|
||||
@@ -28,6 +28,7 @@ menuconfig TARGET_OPTIONS
|
||||
config USE_MIPS16
|
||||
bool "Build packages with MIPS16 instructions" if TARGET_OPTIONS
|
||||
depends on HAS_MIPS16
|
||||
+ depends on !TARGET_rtkmipsel
|
||||
default y
|
||||
help
|
||||
If your target CPU does support the MIPS16 instruction set
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
From aa6938c36045da952053965eefdb7a29049641e9 Mon Sep 17 00:00:00 2001
|
||||
From: John Crispin <john@phrozen.org>
|
||||
Date: Sun, 8 May 2022 07:03:08 +0200
|
||||
Subject: [PATCH] rtkmipsel: select gcc-5 as the compiler
|
||||
|
||||
Signed-off-by: John Crispin <john@phrozen.org>
|
||||
---
|
||||
toolchain/gcc/Config.in | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
|
||||
index 6625e02114..3ba07aaa63 100644
|
||||
--- a/toolchain/gcc/Config.in
|
||||
+++ b/toolchain/gcc/Config.in
|
||||
@@ -4,6 +4,7 @@ choice
|
||||
prompt "GCC compiler Version" if TOOLCHAINOPTS
|
||||
default GCC_USE_VERSION_8
|
||||
default GCC_USE_VERSION_5 if TARGET_ipq807x
|
||||
+ default GCC_USE_VERSION_5 if TARGET_rtkmipsel
|
||||
help
|
||||
Select the version of gcc you wish to use.
|
||||
|
||||
@@ -15,18 +16,22 @@ choice
|
||||
bool "gcc 7.x"
|
||||
depends on !arc
|
||||
depends on !TARGET_ipq807x
|
||||
+ depends on !TARGET_rtkmipsel
|
||||
|
||||
config GCC_USE_VERSION_8
|
||||
bool "gcc 8.x"
|
||||
depends on !TARGET_ipq807x
|
||||
+ depends on !TARGET_rtkmipsel
|
||||
|
||||
config GCC_USE_VERSION_9
|
||||
bool "gcc 9.x"
|
||||
depends on !TARGET_ipq807x
|
||||
+ depends on !TARGET_rtkmipsel
|
||||
|
||||
config GCC_USE_VERSION_10
|
||||
bool "gcc 10.x"
|
||||
depends on !TARGET_ipq807x
|
||||
+ depends on !TARGET_rtkmipsel
|
||||
endchoice
|
||||
|
||||
config GCC_USE_GRAPHITE
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
From 4c86f99b3a97a8f0a9d0c803c322362f7866a620 Mon Sep 17 00:00:00 2001
|
||||
From: John Crispin <john@phrozen.org>
|
||||
Date: Sun, 2 Jan 2022 10:10:13 +0100
|
||||
Subject: [PATCH 74/83] rtkmipsel: kernel module fixes
|
||||
|
||||
Signed-off-by: John Crispin <john@phrozen.org>
|
||||
---
|
||||
package/kernel/linux/modules/other.mk | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
|
||||
index 784adcb744..8e3642ab9a 100644
|
||||
--- a/package/kernel/linux/modules/other.mk
|
||||
+++ b/package/kernel/linux/modules/other.mk
|
||||
@@ -53,8 +53,7 @@ define KernelPackage/bluetooth
|
||||
$(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
|
||||
$(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
|
||||
$(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
|
||||
- $(LINUX_DIR)/drivers/bluetooth/btusb.ko \
|
||||
- $(LINUX_DIR)/drivers/bluetooth/btintel.ko
|
||||
+ $(LINUX_DIR)/drivers/bluetooth/bt*.ko
|
||||
AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
|
||||
endef
|
||||
|
||||
@@ -837,6 +836,7 @@ define KernelPackage/regmap-core
|
||||
ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),)
|
||||
FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko
|
||||
endif
|
||||
+ DEPENDS:=+kmod-lib-lzo
|
||||
endef
|
||||
|
||||
define KernelPackage/regmap-core/description
|
||||
--
|
||||
2.25.1
|
||||
|
||||
Reference in New Issue
Block a user