| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
# |
| 3 |
# Makefile for the Linux Bluetooth subsystem. |
| 4 |
# |
| 5 |
|
| 6 |
obj-$(CONFIG_BT) += bluetooth.o |
| 7 |
obj-$(CONFIG_BT_RFCOMM) += rfcomm/ |
| 8 |
obj-$(CONFIG_BT_BNEP) += bnep/ |
| 9 |
obj-$(CONFIG_BT_CMTP) += cmtp/ |
| 10 |
obj-$(CONFIG_BT_HIDP) += hidp/ |
| 11 |
obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o |
| 12 |
|
| 13 |
bluetooth_6lowpan-y := 6lowpan.o |
| 14 |
|
| 15 |
bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \ |
| 16 |
hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \ |
| 17 |
ecdh_helper.o mgmt_util.o mgmt_config.o hci_codec.o eir.o hci_sync.o \ |
| 18 |
hci_drv.o |
| 19 |
|
| 20 |
bluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o |
| 21 |
|
| 22 |
bluetooth-$(CONFIG_BT_BREDR) += sco.o |
| 23 |
bluetooth-$(CONFIG_BT_LE) += iso.o |
| 24 |
bluetooth-$(CONFIG_BT_LEDS) += leds.o |
| 25 |
bluetooth-$(CONFIG_BT_MSFTEXT) += msft.o |
| 26 |
bluetooth-$(CONFIG_BT_AOSPEXT) += aosp.o |
| 27 |
bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o |
| 28 |
bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o |