blob: 29c12ae72a665bf8c730ee5472036fd673dc8f5a [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 \
Johan Hedberga380b6c2015-03-17 13:48:48 +020016 a2mp.o amp.o 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
Marcel Holtmann035a07d2015-02-14 13:40:06 -080019bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
Marcel Holtmannee485292014-12-29 20:48:35 -080020bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
21
Marcel Holtmann922ca1d2013-10-01 22:59:25 -070022subdir-ccflags-y += -D__CHECK_ENDIAN__