Makefile 761 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
L
Linus Torvalds 已提交
2 3 4 5 6 7 8 9 10
#
# Makefile for the Linux Bluetooth subsystem.
#

obj-$(CONFIG_BT)	+= bluetooth.o
obj-$(CONFIG_BT_RFCOMM)	+= rfcomm/
obj-$(CONFIG_BT_BNEP)	+= bnep/
obj-$(CONFIG_BT_CMTP)	+= cmtp/
obj-$(CONFIG_BT_HIDP)	+= hidp/
11 12 13
obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o

bluetooth_6lowpan-y := 6lowpan.o
L
Linus Torvalds 已提交
14

15
bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
16
	hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
17
	ecdh_helper.o hci_request.o mgmt_util.o
18

19
bluetooth-$(CONFIG_BT_BREDR) += sco.o
A
Arron Wang 已提交
20
bluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o
21
bluetooth-$(CONFIG_BT_LEDS) += leds.o
22
bluetooth-$(CONFIG_BT_MSFTEXT) += msft.o
23
bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
24
bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o