blob: cc6827e2ce68b093be549a1be17b7159b23c1ddc [file] [log] [blame]
#
# Makefile for the Linux Bluetooth subsystem.
#
obj-$(CONFIG_BT) += bluetooth.o
obj-$(CONFIG_BT_RFCOMM) += rfcomm/
obj-$(CONFIG_BT_BNEP) += bnep/
obj-$(CONFIG_BT_CMTP) += cmtp/
obj-$(CONFIG_BT_HIDP) += hidp/
bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o sco.o lib.o \
a2mp.o amp.o 6lowpan.o
ifeq ($(CONFIG_IEEE802154_6LOWPAN),)
bluetooth-y += ../ieee802154/6lowpan_iphc.o
endif
subdir-ccflags-y += -D__CHECK_ENDIAN__