From 7b002e53ca662e415245a2c6e59c50291ff778bd Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 19 Jan 2010 15:57:10 -0800 Subject: [PATCH] Only build compat_firmware_class if CONFIG_FW_LOADER was enabled This prevents bothering with building compat_firmware_class if your kernel lacks CONFIG_FW_LOADER support. Signed-off-by: Luis R. Rodriguez --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 4843869..be2fdc5 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,10 @@ $(foreach ver,$(COMPAT_VERSIONS),$(eval export CONFIG_COMPAT_KERNEL_$(ver)=y)) endif ifeq ($(CONFIG_COMPAT_KERNEL_33),y) +ifneq ($(CONFIG_FW_LOADER),) export CONFIG_COMPAT_FIRMWARE_CLASS=m endif +endif obj-y += compat/ -- 2.46.0