summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-19 13:28:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-19 13:28:36 +0000
commit9cf6bdac93c4ae18850ebbde074dd3eaed28c14e (patch)
tree66223cfeb0e88216aca9c952adb50b2c1e47a0b5 /package
parent47c25a1e96577f777b34b7e73b4bb70c54290b3f (diff)
downloadmtk-20170518-9cf6bdac93c4ae18850ebbde074dd3eaed28c14e.zip
mtk-20170518-9cf6bdac93c4ae18850ebbde074dd3eaed28c14e.tar.gz
mtk-20170518-9cf6bdac93c4ae18850ebbde074dd3eaed28c14e.tar.bz2
fix bluetooth module packaging
SVN-Revision: 5230
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/other.mk28
1 files changed, 18 insertions, 10 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index cf66dee..f00fb32 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -170,22 +170,30 @@ define KernelPackage/bluetooth
TITLE:=Bluetooth support
DESCRIPTION:=Kernel support for Bluetooth devices
SUBMENU:=$(EMENU)
- FILES:= \
- $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.ko \
- $(MODULES_DIR)/kernel/net/bluetooth/l2cap.ko \
- $(MODULES_DIR)/kernel/net/bluetooth/sco.ko \
- $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.ko \
- $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.ko \
- $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.ko
- AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm hci_uart hci_usb)
-endef
+ endef
-define KernelPackage/bluetooth/2.4
+ define KernelPackage/bluetooth/2.4
KCONFIG:=$(CONFIG_BLUEZ)
+ FILES:= \
+ $(MODULES_DIR)/kernel/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm hci_uart hci_usb)
endef
define KernelPackage/bluetooth/2.6
KCONFIG:=$(CONFIG_BT)
+ FILES:= \
+ $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm hci_uart hci_usb)
endef
$(eval $(call KernelPackage,bluetooth))