Enable CONFIG_BT_CMTP only if CONFIG_BT_CMTP is enabled
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 12 Jan 2010 23:49:51 +0000 (15:49 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 12 Jan 2010 23:49:51 +0000 (15:49 -0800)
Reported-by: Ozan Çağlayan <ozan@pardus.org.tr>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
config.mk

index 9f5d08d412923da07bc175ad3a95d9df8caca1fe..bc280cf9ff63790c3cc90d0570400e3fcad4e12d 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -153,7 +153,10 @@ CONFIG_BT_L2CAP=m
 CONFIG_BT_SCO=m
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_BNEP=m
+# CONFIG_BT_CMTP depends on ISDN_CAPI
+ifneq ($(CONFIG_BT_CMTP),)
 CONFIG_BT_CMTP=m
+endif
 CONFIG_BT_HIDP=m
 
 ifdef CONFIG_COMPAT_KERNEL_32