diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-04-23 04:01:03 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-04-23 04:01:03 +0000 |
commit | 2d8b1229c2073d81c9c2eefafd193c1852fed789 (patch) | |
tree | 9181b1060716549d76aca49946bd5d4cde5962d7 /package/kernel/modules/other.mk | |
parent | b06ead2a09af03aebb801c1bfa923251626acf04 (diff) | |
download | upstream-2d8b1229c2073d81c9c2eefafd193c1852fed789.tar.gz upstream-2d8b1229c2073d81c9c2eefafd193c1852fed789.tar.bz2 upstream-2d8b1229c2073d81c9c2eefafd193c1852fed789.zip |
package/kernel: introduce a new file that will be sourced first and holding complex dependencies spread over multiple files, use it for kmod-crc16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21101 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r-- | package/kernel/modules/other.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 97ce3d3b70..d00b6f78a6 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -65,6 +65,7 @@ define KernelPackage/crc16 KCONFIG:=CONFIG_CRC16 FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,20,crc16,1) + $(call SetDepends/crc16) endef define KernelPackage/crc16/description @@ -261,7 +262,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 +kmod-usb-core +!TARGET_x86:kmod-hid \ +(TARGET_x86||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx):kmod-rfkill KCONFIG:= \ CONFIG_BLUEZ \ @@ -281,6 +282,7 @@ define KernelPackage/bluetooth CONFIG_BT_HCIUSB \ CONFIG_BT_HCIUART \ CONFIG_BT_HIDP + $(call AddDepends/crc16) endef define KernelPackage/bluetooth/2.4 |