]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wl12xx/compat-wireless.git/blob - enable-older-kernels/enable-2.6.24.patch
compat-wireless: make NEXT_TREE configurable.
[wl12xx/compat-wireless.git] / enable-older-kernels / enable-2.6.24.patch
1 diff --git a/config.mk b/config.mk
2 index 777ebd3..2ad11fc 100644
3 --- a/config.mk
4 +++ b/config.mk
5 @@ -25,8 +25,8 @@ KERNEL_SUBLEVEL := $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2
6  COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done)
7  $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_$(ver)=y))
8  
9 -ifdef CONFIG_COMPAT_KERNEL_25
10 -$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though")
11 +ifdef CONFIG_COMPAT_WIRELESS_24
12 +$(error "ERROR: compat-wireless for selected driver requires a kernel >= 2.6.24")
13  endif
14  
15  ifeq ($(CONFIG_CFG80211),y)
16 diff --git a/scripts/gen-compat-autoconf.sh b/scripts/gen-compat-autoconf.sh
17 index 1e3002e..0f0e415 100755
18 --- a/scripts/gen-compat-autoconf.sh
19 +++ b/scripts/gen-compat-autoconf.sh
20 @@ -11,7 +11,7 @@
21  
22  # This indicates which is the oldest kernel we support
23  # Update this if you are adding support for older kernels.
24 -OLDEST_KERNEL_SUPPORTED="2.6.25"
25 +OLDEST_KERNEL_SUPPORTED="2.6.24"
26  COMPAT_RELEASE="compat_version"
27  KERNEL_RELEASE="compat_base_tree_version"
28  MULT_DEP_FILE=".compat_pivot_dep"