From: Luis R. Rodriguez Date: Tue, 19 Jan 2010 23:57:10 +0000 (-0800) Subject: Only build compat_firmware_class if CONFIG_FW_LOADER was enabled X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7b002e53ca662e415245a2c6e59c50291ff778bd;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/Makefile b/Makefile index 484386949f2d..be2fdc5e59f7 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/