]> git.openfabrics.org - ~emulex/for-vlad/compat.git/commitdiff
compat: fix for new CONFIG_COMPAT_KERNEL_2_6_* name changes
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 8 Feb 2012 00:44:01 +0000 (16:44 -0800)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 8 Feb 2012 00:44:01 +0000 (16:44 -0800)
On the CONFIG_COMPAT_KERNEL_2_6* name change earlier we forgot
to update a few checks.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Makefile

index 3a6b2df8659a15357d62949ad2f389648df6742f..9215e6e8a7f4b721e6d09e3f1abf580ecbffe48a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ export COMPAT_BASE_TREE_VERSION := "next-20100517"
 export COMPAT_VERSION := $(shell git describe)
 endif
 
-# This generates a bunch of CONFIG_COMPAT_KERNEL_22 CONFIG_COMPAT_KERNEL_23 .. etc for
+# This generates a bunch of CONFIG_COMPAT_KERNEL_2_6_22 CONFIG_COMPAT_KERNEL_3_0 .. etc for
 # each kernel release you need an object for.
 ifneq ($(wildcard $(KLIB_BUILD)/Makefile),)
 
@@ -42,15 +42,15 @@ $(foreach ver,$(COMPAT_VERSIONS),$(eval export CONFIG_COMPAT_KERNEL_3_$(ver)=y))
 
 endif
 
-ifeq ($(CONFIG_COMPAT_KERNEL_33),y)
+ifeq ($(CONFIG_COMPAT_KERNEL_2_6_33),y)
 ifneq ($(CONFIG_FW_LOADER),)
  export CONFIG_COMPAT_FIRMWARE_CLASS=m
 endif
 endif
 
-ifeq ($(CONFIG_COMPAT_KERNEL_36),y)
+ifeq ($(CONFIG_COMPAT_KERNEL_2_6_36),y)
  export CONFIG_COMPAT_KFIFO=m
-endif #CONFIG_COMPAT_KERNEL_36
+endif #CONFIG_COMPAT_KERNEL_2_6_36
 
 obj-y += compat/