Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Linux Bluetooth subsystem. |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_BT) += bluetooth.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | obj-$(CONFIG_BT_RFCOMM) += rfcomm/ |
| 7 | obj-$(CONFIG_BT_BNEP) += bnep/ |
| 8 | obj-$(CONFIG_BT_CMTP) += cmtp/ |
| 9 | obj-$(CONFIG_BT_HIDP) += hidp/ |
Jukka Rissanen | 5547e48 | 2014-06-18 16:37:09 +0300 | [diff] [blame] | 10 | obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o |
| 11 | |
| 12 | bluetooth_6lowpan-y := 6lowpan.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Ulisses Furquim | f1e91e1 | 2011-12-21 01:32:09 -0200 | [diff] [blame] | 14 | 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] | 15 | hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \ |
Arron Wang | 244bc37 | 2015-07-24 17:12:55 +0800 | [diff] [blame] | 16 | ecc.o hci_request.o mgmt_util.o |
Jukka Rissanen | 18722c2 | 2013-12-11 17:05:37 +0200 | [diff] [blame] | 17 | |
Arron Wang | ff50e8a | 2015-06-09 17:47:23 +0800 | [diff] [blame] | 18 | bluetooth-$(CONFIG_BT_BREDR) += sco.o |
Arron Wang | 244bc37 | 2015-07-24 17:12:55 +0800 | [diff] [blame] | 19 | bluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 20 | bluetooth-$(CONFIG_BT_LEDS) += leds.o |
Marcel Holtmann | 035a07d | 2015-02-14 13:40:06 -0800 | [diff] [blame] | 21 | bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o |
Marcel Holtmann | ee48529 | 2014-12-29 20:48:35 -0800 | [diff] [blame] | 22 | bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o |
| 23 | |
Marcel Holtmann | 922ca1d | 2013-10-01 22:59:25 -0700 | [diff] [blame] | 24 | subdir-ccflags-y += -D__CHECK_ENDIAN__ |