]> git.openfabrics.org - ~emulex/compat.git/commitdiff
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 04877c540aadc8eea902c7e7aa7c9b68aa9ee159..9ff4611ca8bfae11bd67747b3681dae2bbeb8aa1 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