From e3f90fe310a383c9b6b5efb59be4200ef9991c67 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 10 Jun 2011 00:03:40 +0200 Subject: [PATCH] compat-wireless: update enable-older-kernels patches Add to compat-3.0-stable Signed-off-by: Hauke Mehrtens --- enable-older-kernels/enable-2.6.21.patch | 12 ++++++------ enable-older-kernels/enable-2.6.22.patch | 12 ++++++------ enable-older-kernels/enable-2.6.23.patch | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/enable-older-kernels/enable-2.6.21.patch b/enable-older-kernels/enable-2.6.21.patch index 2c16809d6246..44a1bb25b7d8 100644 --- a/enable-older-kernels/enable-2.6.21.patch +++ b/enable-older-kernels/enable-2.6.21.patch @@ -1,15 +1,15 @@ --- a/config.mk +++ b/config.mk -@@ -25,9 +25,9 @@ +@@ -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_$(ver)=y)) + $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_3_$(ver)=y)) --ifdef CONFIG_COMPAT_KERNEL_24 +-ifdef CONFIG_COMPAT_KERNEL_2_6_24 -$(error "ERROR: compat-wireless by default supports kernels >= 2.6.24, try enabling only one driver though") --endif #CONFIG_COMPAT_KERNEL_24 -+ifdef CONFIG_COMPAT_KERNEL_21 +-endif #CONFIG_COMPAT_KERNEL_2_6_24 ++ifdef CONFIG_COMPAT_KERNEL_2_6_21 +$(error "ERROR: compat-wireless by default supports kernels >= 2.6.21, try enabling only one driver though") -+endif #CONFIG_COMPAT_KERNEL_21 ++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.") diff --git a/enable-older-kernels/enable-2.6.22.patch b/enable-older-kernels/enable-2.6.22.patch index 92150e94a0e1..127382499e3e 100644 --- a/enable-older-kernels/enable-2.6.22.patch +++ b/enable-older-kernels/enable-2.6.22.patch @@ -1,15 +1,15 @@ --- a/config.mk +++ b/config.mk -@@ -25,9 +25,9 @@ +@@ -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_$(ver)=y)) + $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_3_$(ver)=y)) --ifdef CONFIG_COMPAT_KERNEL_24 +-ifdef CONFIG_COMPAT_KERNEL_2_6_24 -$(error "ERROR: compat-wireless by default supports kernels >= 2.6.24, try enabling only one driver though") --endif #CONFIG_COMPAT_KERNEL_24 -+ifdef CONFIG_COMPAT_KERNEL_22 +-endif #CONFIG_COMPAT_KERNEL_2_6_24 ++ifdef CONFIG_COMPAT_KERNEL_2_6_22 +$(error "ERROR: compat-wireless by default supports kernels >= 2.6.22, try enabling only one driver though") -+endif #CONFIG_COMPAT_KERNEL_22 ++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.") diff --git a/enable-older-kernels/enable-2.6.23.patch b/enable-older-kernels/enable-2.6.23.patch index 6266c176690c..7a958428a32e 100644 --- a/enable-older-kernels/enable-2.6.23.patch +++ b/enable-older-kernels/enable-2.6.23.patch @@ -1,15 +1,15 @@ --- a/config.mk +++ b/config.mk -@@ -25,9 +25,9 @@ +@@ -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_$(ver)=y)) + $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_3_$(ver)=y)) --ifdef CONFIG_COMPAT_KERNEL_24 +-ifdef CONFIG_COMPAT_KERNEL_2_6_24 -$(error "ERROR: compat-wireless by default supports kernels >= 2.6.24, try enabling only one driver though") --endif #CONFIG_COMPAT_KERNEL_24 -+ifdef CONFIG_COMPAT_KERNEL_23 +-endif #CONFIG_COMPAT_KERNEL_2_6_24 ++ifdef CONFIG_COMPAT_KERNEL_2_6_23 +$(error "ERROR: compat-wireless by default supports kernels >= 2.6.23, try enabling only one driver though") -+endif #CONFIG_COMPAT_KERNEL_23 ++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.") -- 2.30.2