1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the Linux Bluetooth subsystem. !! 2 # Makefile for the Linux Bluetooth subsystem 4 # 3 # 5 4 6 obj-$(CONFIG_BT) += bluetooth.o !! 5 O_TARGET := bluetooth.o 7 obj-$(CONFIG_BT_RFCOMM) += rfcomm/ !! 6 8 obj-$(CONFIG_BT_BNEP) += bnep/ !! 7 list-multi := bluez.o 9 obj-$(CONFIG_BT_CMTP) += cmtp/ !! 8 export-objs := syms.o l2cap.o 10 obj-$(CONFIG_BT_HIDP) += hidp/ !! 9 11 obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan. !! 10 bluez-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o lib.o syms.o 12 !! 11 13 bluetooth_6lowpan-y := 6lowpan.o !! 12 obj-$(CONFIG_BLUEZ) += bluez.o 14 !! 13 obj-$(CONFIG_BLUEZ_L2CAP) += l2cap.o 15 bluetooth-y := af_bluetooth.o hci_core.o hci_c !! 14 obj-$(CONFIG_BLUEZ_SCO) += sco.o 16 hci_sock.o hci_sysfs.o l2cap_core.o l2 !! 15 17 ecdh_helper.o mgmt_util.o mgmt_config. !! 16 subdir-$(CONFIG_BLUEZ_RFCOMM) += rfcomm 18 !! 17 subdir-$(CONFIG_BLUEZ_BNEP) += bnep 19 bluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o !! 18 subdir-$(CONFIG_BLUEZ_CMTP) += cmtp 20 !! 19 21 bluetooth-$(CONFIG_BT_BREDR) += sco.o !! 20 ifeq ($(CONFIG_BLUEZ_RFCOMM),y) 22 bluetooth-$(CONFIG_BT_LE) += iso.o !! 21 obj-y += rfcomm/rfcomm.o 23 bluetooth-$(CONFIG_BT_LEDS) += leds.o !! 22 endif 24 bluetooth-$(CONFIG_BT_MSFTEXT) += msft.o !! 23 25 bluetooth-$(CONFIG_BT_AOSPEXT) += aosp.o !! 24 ifeq ($(CONFIG_BLUEZ_BNEP),y) 26 bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs. !! 25 obj-y += bnep/bnep.o 27 bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o !! 26 endif >> 27 >> 28 include $(TOPDIR)/Rules.make >> 29 >> 30 bluez.o: $(bluez-objs) >> 31 $(LD) -r -o $@ $(bluez-objs)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.