blob: fda41c0b478189767ba52e52164e8c61354d24f3 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the Linux Bluetooth subsystem.
4#
5
6obj-$(CONFIG_BT) += bluetooth.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07007obj-$(CONFIG_BT_RFCOMM) += rfcomm/
8obj-$(CONFIG_BT_BNEP) += bnep/
9obj-$(CONFIG_BT_CMTP) += cmtp/
10obj-$(CONFIG_BT_HIDP) += hidp/
Jukka Rissanen5547e482014-06-18 16:37:09 +030011obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o
12
13bluetooth_6lowpan-y := 6lowpan.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Ulisses Furquimf1e91e12011-12-21 01:32:09 -020015bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
Arron Wangff50e8a2015-06-09 17:47:23 +080016 hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
Salvatore Benedetto58771c1c2017-04-24 13:13:20 +010017 ecdh_helper.o hci_request.o mgmt_util.o
Jukka Rissanen18722c22013-12-11 17:05:37 +020018
Arron Wangff50e8a2015-06-09 17:47:23 +080019bluetooth-$(CONFIG_BT_BREDR) += sco.o
Arron Wang244bc372015-07-24 17:12:55 +080020bluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010021bluetooth-$(CONFIG_BT_LEDS) += leds.o
Marcel Holtmann035a07d2015-02-14 13:40:06 -080022bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
Marcel Holtmannee485292014-12-29 20:48:35 -080023bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o