xref: /linux/net/bluetooth/Makefile (revision 1b98f357dadd6ea613a435fbaef1a5dd7b35fd21)
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*04425292SHsin-chen Chuang	ecdh_helper.o mgmt_util.o mgmt_config.o hci_codec.o eir.o hci_sync.o \
18*04425292SHsin-chen Chuang	hci_drv.o
1918722c24SJukka Rissanen
209695ef87SAbhishek Pandit-Subedibluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o
219695ef87SAbhishek Pandit-Subedi
22ff50e8afSArron Wangbluetooth-$(CONFIG_BT_BREDR) += sco.o
23ccf74f23SLuiz Augusto von Dentzbluetooth-$(CONFIG_BT_LE) += iso.o
246d5d2ee6SHeiner Kallweitbluetooth-$(CONFIG_BT_LEDS) += leds.o
25145373cbSMiao-chen Choubluetooth-$(CONFIG_BT_MSFTEXT) += msft.o
26f67743f9SMarcel Holtmannbluetooth-$(CONFIG_BT_AOSPEXT) += aosp.o
27035a07d5SMarcel Holtmannbluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
28ee485290SMarcel Holtmannbluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
29