Loading...
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Linux Bluetooth subsystem.
4#
5
6obj-$(CONFIG_BT) += bluetooth.o
7obj-$(CONFIG_BT_RFCOMM) += rfcomm
8obj-$(CONFIG_BT_BNEP) += bnep
9obj-$(CONFIG_BT_CMTP) += cmtp
10obj-$(CONFIG_BT_HIDP) += hidp
11obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o
12
13bluetooth_6lowpan-y := 6lowpan.o
14
15bluetooth-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 mgmt_util.o mgmt_config.o hci_codec.o eir.o hci_sync.o
18
19bluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o
20
21bluetooth-$(CONFIG_BT_BREDR) += sco.o
22bluetooth-$(CONFIG_BT_LE) += iso.o
23bluetooth-$(CONFIG_BT_LEDS) += leds.o
24bluetooth-$(CONFIG_BT_MSFTEXT) += msft.o
25bluetooth-$(CONFIG_BT_AOSPEXT) += aosp.o
26bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
27bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
1#
2# Makefile for the Linux Bluetooth subsystem.
3#
4
5obj-$(CONFIG_BT) += bluetooth.o
6obj-$(CONFIG_BT_RFCOMM) += rfcomm
7obj-$(CONFIG_BT_BNEP) += bnep
8obj-$(CONFIG_BT_CMTP) += cmtp
9obj-$(CONFIG_BT_HIDP) += hidp
10obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o
11
12bluetooth_6lowpan-y := 6lowpan.o
13
14bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
15 hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
16 ecc.o hci_request.o mgmt_util.o
17
18bluetooth-$(CONFIG_BT_BREDR) += sco.o
19bluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o
20bluetooth-$(CONFIG_BT_LEDS) += leds.o
21bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
22bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
23
24subdir-ccflags-y += -D__CHECK_ENDIAN__