Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the Linux Bluetooth subsystem. |
| 4 | # |
| 5 | |
| 6 | obj-$(CONFIG_BT) += bluetooth.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | obj-$(CONFIG_BT_RFCOMM) += rfcomm/ |
| 8 | obj-$(CONFIG_BT_BNEP) += bnep/ |
| 9 | obj-$(CONFIG_BT_CMTP) += cmtp/ |
| 10 | obj-$(CONFIG_BT_HIDP) += hidp/ |
Jukka Rissanen | 5547e48 | 2014-06-18 16:37:09 +0300 | [diff] [blame] | 11 | obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o |
| 12 | |
| 13 | bluetooth_6lowpan-y := 6lowpan.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
Ulisses Furquim | f1e91e1 | 2011-12-21 01:32:09 -0200 | [diff] [blame] | 15 | bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \ |
Arron Wang | ff50e8a | 2015-06-09 17:47:23 +0800 | [diff] [blame] | 16 | hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \ |
Alain Michaud | 1789640 | 2020-06-11 02:01:57 +0000 | [diff] [blame] | 17 | ecdh_helper.o hci_request.o mgmt_util.o mgmt_config.o |
Jukka Rissanen | 18722c2 | 2013-12-11 17:05:37 +0200 | [diff] [blame] | 18 | |
Arron Wang | ff50e8a | 2015-06-09 17:47:23 +0800 | [diff] [blame] | 19 | bluetooth-$(CONFIG_BT_BREDR) += sco.o |
Arron Wang | 244bc37 | 2015-07-24 17:12:55 +0800 | [diff] [blame] | 20 | bluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 21 | bluetooth-$(CONFIG_BT_LEDS) += leds.o |
Miao-chen Chou | 145373c | 2020-04-03 21:44:01 +0200 | [diff] [blame] | 22 | bluetooth-$(CONFIG_BT_MSFTEXT) += msft.o |
Marcel Holtmann | 035a07d | 2015-02-14 13:40:06 -0800 | [diff] [blame] | 23 | bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o |
Marcel Holtmann | ee48529 | 2014-12-29 20:48:35 -0800 | [diff] [blame] | 24 | bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o |