162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the Linux Bluetooth subsystem.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-$(CONFIG_BT)	+= bluetooth.o
762306a36Sopenharmony_ciobj-$(CONFIG_BT_RFCOMM)	+= rfcomm/
862306a36Sopenharmony_ciobj-$(CONFIG_BT_BNEP)	+= bnep/
962306a36Sopenharmony_ciobj-$(CONFIG_BT_CMTP)	+= cmtp/
1062306a36Sopenharmony_ciobj-$(CONFIG_BT_HIDP)	+= hidp/
1162306a36Sopenharmony_ciobj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cibluetooth_6lowpan-y := 6lowpan.o
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_cibluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
1662306a36Sopenharmony_ci	hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
1762306a36Sopenharmony_ci	ecdh_helper.o hci_request.o mgmt_util.o mgmt_config.o hci_codec.o \
1862306a36Sopenharmony_ci	eir.o hci_sync.o
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_cibluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_cibluetooth-$(CONFIG_BT_BREDR) += sco.o
2362306a36Sopenharmony_cibluetooth-$(CONFIG_BT_LE) += iso.o
2462306a36Sopenharmony_cibluetooth-$(CONFIG_BT_LEDS) += leds.o
2562306a36Sopenharmony_cibluetooth-$(CONFIG_BT_MSFTEXT) += msft.o
2662306a36Sopenharmony_cibluetooth-$(CONFIG_BT_AOSPEXT) += aosp.o
2762306a36Sopenharmony_cibluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
2862306a36Sopenharmony_cibluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
29