M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@ -0,0 +1,12 @@
compat-drivers as a whole aims to always be compiled and used with the
oldest stable kernel supported by kernel.org. This will be the oldest
stable kernel on the 2.6. series listed on the kernel.org front page.
Sometimes we'll go even beyond that.
Backporting compat-drivers involves backporting some subsystems but
at times we may want to support compiling only certain drivers on older
kernels since its easier to backport some subsystems. Such is the case
with PCI drivers. This directly exists to allow developers enable
compilation of compat-drivers on older drivers using ./scripts/driver-select
Upon selection of a driver a patch from this directly will be applied to
allow further compilation of one driver onto even older kernels.

View File

@ -0,0 +1,26 @@
--- a/config.mk
+++ b/config.mk
@@ -33,9 +33,9 @@ endif
COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done)
$(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_3_$(ver)=y))
-ifdef CONFIG_COMPAT_KERNEL_2_6_24
-$(error "ERROR: compat-drivers by default supports kernels >= 2.6.24, try enabling only one driver though")
-endif #CONFIG_COMPAT_KERNEL_2_6_24
+ifdef CONFIG_COMPAT_KERNEL_2_6_21
+$(error "ERROR: compat-drivers by default supports kernels >= 2.6.21, try enabling only one driver though")
+endif #CONFIG_COMPAT_KERNEL_2_6_21
ifeq ($(CONFIG_CFG80211),y)
$(error "ERROR: your kernel has CONFIG_CFG80211=y, you should have it CONFIG_CFG80211=m if you want to use this thing.")
--- a/scripts/gen-compat-autoconf.sh
+++ b/scripts/gen-compat-autoconf.sh
@@ -11,7 +11,7 @@
# This indicates which is the oldest kernel we support
# Update this if you are adding support for older kernels.
-OLDEST_KERNEL_SUPPORTED="2.6.24"
+OLDEST_KERNEL_SUPPORTED="2.6.21"
COMPAT_RELEASE=".compat_version"
KERNEL_RELEASE=".compat_base_tree_version"
MULT_DEP_FILE=".compat_pivot_dep"

View File

@ -0,0 +1,26 @@
--- a/config.mk
+++ b/config.mk
@@ -33,9 +33,9 @@ endif
COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done)
$(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_3_$(ver)=y))
-ifdef CONFIG_COMPAT_KERNEL_2_6_24
-$(error "ERROR: compat-drivers by default supports kernels >= 2.6.24, try enabling only one driver though")
-endif #CONFIG_COMPAT_KERNEL_2_6_24
+ifdef CONFIG_COMPAT_KERNEL_2_6_22
+$(error "ERROR: compat-drivers by default supports kernels >= 2.6.22, try enabling only one driver though")
+endif #CONFIG_COMPAT_KERNEL_2_6_22
ifeq ($(CONFIG_CFG80211),y)
$(error "ERROR: your kernel has CONFIG_CFG80211=y, you should have it CONFIG_CFG80211=m if you want to use this thing.")
--- a/scripts/gen-compat-autoconf.sh
+++ b/scripts/gen-compat-autoconf.sh
@@ -11,7 +11,7 @@
# This indicates which is the oldest kernel we support
# Update this if you are adding support for older kernels.
-OLDEST_KERNEL_SUPPORTED="2.6.24"
+OLDEST_KERNEL_SUPPORTED="2.6.22"
COMPAT_RELEASE=".compat_version"
KERNEL_RELEASE=".compat_base_tree_version"
MULT_DEP_FILE=".compat_pivot_dep"

View File

@ -0,0 +1,26 @@
--- a/config.mk
+++ b/config.mk
@@ -33,9 +33,9 @@ endif
COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done)
$(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_3_$(ver)=y))
-ifdef CONFIG_COMPAT_KERNEL_2_6_24
-$(error "ERROR: compat-drivers by default supports kernels >= 2.6.24, try enabling only one driver though")
-endif #CONFIG_COMPAT_KERNEL_2_6_24
+ifdef CONFIG_COMPAT_KERNEL_2_6_23
+$(error "ERROR: compat-drivers by default supports kernels >= 2.6.23, try enabling only one driver though")
+endif #CONFIG_COMPAT_KERNEL_2_6_23
ifeq ($(CONFIG_CFG80211),y)
$(error "ERROR: your kernel has CONFIG_CFG80211=y, you should have it CONFIG_CFG80211=m if you want to use this thing.")
--- a/scripts/gen-compat-autoconf.sh
+++ b/scripts/gen-compat-autoconf.sh
@@ -11,7 +11,7 @@
# This indicates which is the oldest kernel we support
# Update this if you are adding support for older kernels.
-OLDEST_KERNEL_SUPPORTED="2.6.24"
+OLDEST_KERNEL_SUPPORTED="2.6.23"
COMPAT_RELEASE=".compat_version"
KERNEL_RELEASE=".compat_base_tree_version"
MULT_DEP_FILE=".compat_pivot_dep"