diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-09-02 16:33:21 -0700 |
---|---|---|
committer | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-09-02 17:12:41 -0700 |
commit | 96a3fff0821f5c2962d0b44895abfe914dce51b9 (patch) | |
tree | 1c05688d3675003147cfa45716669ecdee1c8200 | |
parent | d66b3d7be66682257cdb02ebbfd0aa0b661be47b (diff) | |
download | compat-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.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |