compat: add check for CONFIG_COMPAT_KFIFO=m
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 6 Jan 2011 20:46:26 +0000 (12:46 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 6 Jan 2011 20:46:26 +0000 (12:46 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Makefile

index 04877c5..9ff4611 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,10 @@ ifneq ($(CONFIG_FW_LOADER),)
 endif
 endif
 
+ifeq ($(CONFIG_COMPAT_KERNEL_36),y)
+ export CONFIG_COMPAT_KFIFO=m
+endif #CONFIG_COMPAT_KERNEL_36
+
 obj-y += compat/
 
 # This hack lets us put our include path first than the kernel's