xref: /linux/net/bluetooth/Makefile (revision 17896406ff3592d47b476ddd29276bf9cf8a26dd)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the Linux Bluetooth subsystem.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvaldsobj-$(CONFIG_BT)	+= bluetooth.o
71da177e4SLinus Torvaldsobj-$(CONFIG_BT_RFCOMM)	+= rfcomm/
81da177e4SLinus Torvaldsobj-$(CONFIG_BT_BNEP)	+= bnep/
91da177e4SLinus Torvaldsobj-$(CONFIG_BT_CMTP)	+= cmtp/
101da177e4SLinus Torvaldsobj-$(CONFIG_BT_HIDP)	+= hidp/
115547e48cSJukka Rissanenobj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o
125547e48cSJukka Rissanen
135547e48cSJukka Rissanenbluetooth_6lowpan-y := 6lowpan.o
141da177e4SLinus Torvalds
15f1e91e16SUlisses Furquimbluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
16ff50e8afSArron Wang	hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
17*17896406SAlain Michaud	ecdh_helper.o hci_request.o mgmt_util.o mgmt_config.o
1818722c24SJukka Rissanen
19ff50e8afSArron Wangbluetooth-$(CONFIG_BT_BREDR) += sco.o
20244bc377SArron Wangbluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o
216d5d2ee6SHeiner Kallweitbluetooth-$(CONFIG_BT_LEDS) += leds.o
22145373cbSMiao-chen Choubluetooth-$(CONFIG_BT_MSFTEXT) += msft.o
23035a07d5SMarcel Holtmannbluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
24ee485290SMarcel Holtmannbluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
25