blob: b3ff12eb9b6dcdaa590bacc997cbe2e0e566783e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the Linux Bluetooth subsystem.
3#
4
5obj-$(CONFIG_BT) += bluetooth.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07006obj-$(CONFIG_BT_RFCOMM) += rfcomm/
7obj-$(CONFIG_BT_BNEP) += bnep/
8obj-$(CONFIG_BT_CMTP) += cmtp/
9obj-$(CONFIG_BT_HIDP) += hidp/
Jukka Rissanen5547e482014-06-18 16:37:09 +030010obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o
11
12bluetooth_6lowpan-y := 6lowpan.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Ulisses Furquimf1e91e12011-12-21 01:32:09 -020014bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
Arron Wangff50e8a2015-06-09 17:47:23 +080015 hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
Arron Wang244bc372015-07-24 17:12:55 +080016 ecc.o hci_request.o mgmt_util.o
Jukka Rissanen18722c22013-12-11 17:05:37 +020017
Arron Wangff50e8a2015-06-09 17:47:23 +080018bluetooth-$(CONFIG_BT_BREDR) += sco.o
Arron Wang244bc372015-07-24 17:12:55 +080019bluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010020bluetooth-$(CONFIG_BT_LEDS) += leds.o
Marcel Holtmann035a07d2015-02-14 13:40:06 -080021bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
Marcel Holtmannee485292014-12-29 20:48:35 -080022bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
23
Marcel Holtmann922ca1d2013-10-01 22:59:25 -070024subdir-ccflags-y += -D__CHECK_ENDIAN__