The 802.11 subsystem can be built as a whole down to 2.6.25 but
bluetooth is currently only backported down to 2.6.27 so disable
bluetooth for any kernel older than 2.6.27.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
CONFIG_COMPAT_NET_USB_MODULES=m
endif
+# The Bluetooth compatibility only builds on kernels >= 2.6.27 for now
+ifndef CONFIG_COMPAT_KERNEL_27
ifeq ($(CONFIG_BT),y)
# we'll ignore compiling bluetooth
else
CONFIG_COMPAT_BLUETOOTH=y
CONFIG_COMPAT_BLUETOOTH_MODULES=m
endif
+endif # Kernel >= 2.6.26
# Wireless subsystem stuff