CONFIG_BT_CMTP is not checked in compat-wireless
Hi,
CONFIG_BT_CMTP depends on BT && BT_L2CAP && ISDN_CAPI but in config.mk there isn't an explicit check for those conditions. On a ISDN_CAPI disabled kernel this causes unresolved symbols as cmtp.ko is built
Something like below fixes the problem (at least for CMTP case) by not compiling net/bluetooth/cmtp:
# CONFIG_BT_CMTP depends on ISDN_CAPI
ifneq ($(CONFIG_BT_CMTP),)CONFIG_BT_CMTP=m
endif
Regards,
Ozan Caglayan
Luis R. Rodriguez
AppliedQuoted 11 lines · Ozan Çağlayan
Hi,
CONFIG_BT_CMTPdepends on BT &&BT_L2CAP&&ISDN_CAPIbut in config.mk there isn't an explicit check for those conditions. On aISDN_CAPIdisabled kernel this causes unresolved symbols as cmtp.ko is builtSomething like below fixes the problem (at least for CMTP case) by not compiling
net/bluetooth/cmtp:#
CONFIG_BT_CMTPdepends onISDN_CAPI
ifneq ($(CONFIG_BT_CMTP),)CONFIG_BT_CMTP=m
endif
I applied this change, thanks for the report.
Luis