From 47a340e44829fc549e57860f3cc1094b0d6743aa Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Wed, 13 Jan 2010 11:03:30 -0800 Subject: [PATCH] Fix a few typos on config.mk and the new enable olde kernel patches Signed-off-by: Luis R. Rodriguez --- config.mk | 2 +- enable-older-kernels/enable-2.6.21.patch | 2 +- enable-older-kernels/enable-2.6.22.patch | 2 +- enable-older-kernels/enable-2.6.23.patch | 2 +- enable-older-kernels/enable-2.6.24.patch | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.mk b/config.mk index bc280cf9ff63..fe953ab5d556 100644 --- a/config.mk +++ b/config.mk @@ -27,7 +27,7 @@ COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNE $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_$(ver)=y)) ifdef CONFIG_COMPAT_KERNEL_25 -$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though" +$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though") endif ifeq ($(CONFIG_CFG80211),y) diff --git a/enable-older-kernels/enable-2.6.21.patch b/enable-older-kernels/enable-2.6.21.patch index db88433b707b..bb6e33dd5e14 100644 --- a/enable-older-kernels/enable-2.6.21.patch +++ b/enable-older-kernels/enable-2.6.21.patch @@ -5,7 +5,7 @@ $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_$(ver)=y)) -ifdef CONFIG_COMPAT_KERNEL_25 --$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though" +-$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though") +ifdef CONFIG_COMPAT_WIRELESS_21 +$(error "ERROR: compat-wireless for selected driver requires a kernel >= 2.6.21") endif diff --git a/enable-older-kernels/enable-2.6.22.patch b/enable-older-kernels/enable-2.6.22.patch index e26053eda141..3acfcec5dc96 100644 --- a/enable-older-kernels/enable-2.6.22.patch +++ b/enable-older-kernels/enable-2.6.22.patch @@ -5,7 +5,7 @@ $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_$(ver)=y)) -ifdef CONFIG_COMPAT_KERNEL_25 --$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though" +-$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though") +ifdef CONFIG_COMPAT_WIRELESS_22 +$(error "ERROR: compat-wireless for selected driver requires a kernel >= 2.6.22") endif diff --git a/enable-older-kernels/enable-2.6.23.patch b/enable-older-kernels/enable-2.6.23.patch index 8fe347ef4842..e415923ba892 100644 --- a/enable-older-kernels/enable-2.6.23.patch +++ b/enable-older-kernels/enable-2.6.23.patch @@ -5,7 +5,7 @@ $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_$(ver)=y)) -ifdef CONFIG_COMPAT_KERNEL_25 --$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though" +-$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though") +ifdef CONFIG_COMPAT_WIRELESS_23 +$(error "ERROR: compat-wireless for selected driver requires a kernel >= 2.6.23") endif diff --git a/enable-older-kernels/enable-2.6.24.patch b/enable-older-kernels/enable-2.6.24.patch index 15fc21d95711..f27af866c32b 100644 --- a/enable-older-kernels/enable-2.6.24.patch +++ b/enable-older-kernels/enable-2.6.24.patch @@ -5,7 +5,7 @@ $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_$(ver)=y)) -ifdef CONFIG_COMPAT_KERNEL_25 --$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though" +-$(error "ERROR: compat-wireless by default supports kernels >= 2.6.25, try enabling only one driver though") +ifdef CONFIG_COMPAT_WIRELESS_24 +$(error "ERROR: compat-wireless for selected driver requires a kernel >= 2.6.24") endif -- 2.30.2