diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 0c0c91244..462be0028 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -601,7 +601,7 @@ $(eval $(call KernelPackage,sched)) define KernelPackage/ax25 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=AX25 support - DEPENDS:= +kmod-crc16 + DEPENDS:= +!(LINUX_2_4||TARGET_xburst):kmod-crc16 KCONFIG:= \ CONFIG_AX25 \ CONFIG_MKISS diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 88b57c565..ffcb48ffd 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -62,6 +62,7 @@ $(eval $(call KernelPackage,crc7)) define KernelPackage/crc16 SUBMENU:=$(OTHER_MENU) TITLE:=CRC16 support + DEPENDS:=@!(LINUX_2_4||TARGET_xburst) KCONFIG:=CONFIG_CRC16 FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,20,crc16,1) @@ -275,7 +276,7 @@ $(eval $(call KernelPackage,ssb)) define KernelPackage/bluetooth SUBMENU:=$(OTHER_MENU) TITLE:=Bluetooth support - DEPENDS:=@USB_SUPPORT +kmod-crc16 +kmod-usb-core +!TARGET_x86:kmod-hid \ + DEPENDS:=@USB_SUPPORT +!(LINUX_2_4||TARGET_xburst):kmod-crc16 +kmod-usb-core +!TARGET_x86:kmod-hid \ +(TARGET_x86||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx):kmod-rfkill KCONFIG:= \ CONFIG_BLUEZ \