From a256f5102ea7b23a27015128481775202fb43e7b Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 7 Feb 2012 16:44:01 -0800 Subject: [PATCH] compat: fix for new CONFIG_COMPAT_KERNEL_2_6_* name changes On the CONFIG_COMPAT_KERNEL_2_6* name change earlier we forgot to update a few checks. Signed-off-by: Luis R. Rodriguez --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3a6b2df..9215e6e 100644 --- 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/ -- 2.41.0