xref: /linux/net/bluetooth/Makefile (revision 035a07d5df7003bc6954f0aa42174416b775021c)
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 \
15466f8004SAndrei Emeltchenko	hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o sco.o lib.o \
16*035a07d5SMarcel Holtmann	a2mp.o amp.o ecc.o hci_request.o
1718722c24SJukka Rissanen
18*035a07d5SMarcel Holtmannbluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
19ee485290SMarcel Holtmannbluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
20ee485290SMarcel Holtmann
21922ca1dfSMarcel Holtmannsubdir-ccflags-y += -D__CHECK_ENDIAN__
22