aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2008-09-02 16:33:21 -0700
committerLuis R. Rodriguez <lrodriguez@atheros.com>2008-09-02 17:12:41 -0700
commit96a3fff0821f5c2962d0b44895abfe914dce51b9 (patch)
tree1c05688d3675003147cfa45716669ecdee1c8200
parentd66b3d7be66682257cdb02ebbfd0aa0b661be47b (diff)
downloadcompat-wireless-2.6-old-96a3fff0821f5c2962d0b44895abfe914dce51b9.tar.gz
Prevent compiling on >= 2.6.27, a new tree will be built for those kernels.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r--config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 60fc235..9f33f29 100644
--- a/config.mk
+++ b/config.mk
@@ -33,6 +33,11 @@ else
# we're in a kernel >= 2.6.23
+# we're in kernel >= 2.6.27
+ifeq ($(shell test $(KERNEL_SUBLEVEL) -gt 26 && echo yes),yes)
+$(error "ERROR: You should use another tree/tarball for newer kernels, this one is for kenrels <= 2.6.26")
+endif
+
ifneq ($(KERNELRELEASE),) # This prevents a warning
ifeq ($(CONFIG_NETDEVICES_MULTIQUEUE),) # checks MQ first