xref: /linux/net/bluetooth/Makefile (revision 58771c1cb0023fdd744e76d6cad7716dc4f579ee)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux Bluetooth subsystem.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsobj-$(CONFIG_BT)	+= bluetooth.o
61da177e4SLinus Torvaldsobj-$(CONFIG_BT_RFCOMM)	+= rfcomm/
71da177e4SLinus Torvaldsobj-$(CONFIG_BT_BNEP)	+= bnep/
81da177e4SLinus Torvaldsobj-$(CONFIG_BT_CMTP)	+= cmtp/
91da177e4SLinus Torvaldsobj-$(CONFIG_BT_HIDP)	+= hidp/
105547e48cSJukka Rissanenobj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o
115547e48cSJukka Rissanen
125547e48cSJukka Rissanenbluetooth_6lowpan-y := 6lowpan.o
131da177e4SLinus Torvalds
14f1e91e16SUlisses Furquimbluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
15ff50e8afSArron Wang	hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
16*58771c1cSSalvatore Benedetto	ecdh_helper.o hci_request.o mgmt_util.o
1718722c24SJukka Rissanen
18ff50e8afSArron Wangbluetooth-$(CONFIG_BT_BREDR) += sco.o
19244bc377SArron Wangbluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o
206d5d2ee6SHeiner Kallweitbluetooth-$(CONFIG_BT_LEDS) += leds.o
21035a07d5SMarcel Holtmannbluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
22ee485290SMarcel Holtmannbluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
23