Makefile 883 B

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