Makefile 717 B

12345678910111213141516171819202122232425
  1. #
  2. # Makefile for the Linux Bluetooth subsystem.
  3. #
  4. obj-$(CONFIG_BT) += bluetooth.o
  5. obj-$(CONFIG_BT_RFCOMM) += rfcomm/
  6. obj-$(CONFIG_BT_BNEP) += bnep/
  7. obj-$(CONFIG_BT_CMTP) += cmtp/
  8. obj-$(CONFIG_BT_HIDP) += hidp/
  9. obj-$(CONFIG_BT_6LOWPAN) += bluetooth_6lowpan.o
  10. bluetooth_6lowpan-y := 6lowpan.o
  11. bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
  12. hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o lib.o \
  13. ecc.o hci_request.o mgmt_util.o
  14. bluetooth-$(CONFIG_BT_BREDR) += sco.o
  15. bluetooth-$(CONFIG_BT_HS) += a2mp.o amp.o
  16. bluetooth-$(CONFIG_BT_LEDS) += leds.o
  17. bluetooth-$(CONFIG_BT_DEBUGFS) += hci_debugfs.o
  18. bluetooth-$(CONFIG_BT_SELFTEST) += selftest.o
  19. subdir-ccflags-y += -D__CHECK_ENDIAN__