adjust kmod-crc16 dependencies and dependencies on kmod-crc16 (closes: #7063)
authorNicolas Thill <nico@openwrt.org>
Wed, 5 May 2010 12:01:17 +0000 (12:01 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 5 May 2010 12:01:17 +0000 (12:01 +0000)
SVN-Revision: 21377

package/kernel/modules/netsupport.mk
package/kernel/modules/other.mk

index 0c0c912448cc552486055870fd37ebcf9dbb67da..462be0028eace560d847affbb8dcd075fea6dfdf 100644 (file)
@@ -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
index 88b57c56515fbcbce7825766c6b2c2a64c977e3e..ffcb48ffd2aaf5213337bda96683bf3ec9f2ff9e 100644 (file)
@@ -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 \