xref: /linux/net/bluetooth/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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*936daee9SLuiz Augusto von Dentz	ecdh_helper.o mgmt_util.o mgmt_config.o hci_codec.o eir.o hci_sync.o
1818722c24SJukka Rissanen
199695ef87SAbhishek Pandit-Subedibluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o
209695ef87SAbhishek Pandit-Subedi
21ff50e8afSArron Wangbluetooth-$(CONFIG_BT_BREDR) += sco.o
22ccf74f23SLuiz Augusto von Dentzbluetooth-$(CONFIG_BT_LE) += iso.o
236d5d2ee6SHeiner Kallweitbluetooth-$(CONFIG_BT_LEDS) += leds.o
24145373cbSMiao-chen Choubluetooth-$(CONFIG_BT_MSFTEXT) += msft.o
25f67743f9SMarcel Holtmannbluetooth-$(CONFIG_BT_AOSPEXT) += aosp.o
26035a07d5SMarcel Holtmannbluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
27ee485290SMarcel Holtmannbluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
28