zephyr/subsys/bluetooth/host/Makefile
Carles Cufi 6c9e563c92 Bluetooth: Move common code to common/
Since more and more code is going to be reused by both the Host and the
Controller, this commit introduces a common/ folder that will contain
everything that is not tied to one of the two components but shared by
them.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2017-05-12 12:56:14 +03:00

37 lines
828 B
Makefile

ccflags-y +=-I$(srctree)/include/drivers
ccflags-y +=-I$(srctree)/subsys/bluetooth
obj-$(CONFIG_BLUETOOTH_HCI_RAW) += hci_raw.o
obj-$(CONFIG_BLUETOOTH_DEBUG_MONITOR) += monitor.o
obj-$(CONFIG_BLUETOOTH_TINYCRYPT_ECC) += hci_ecc.o
obj-$(CONFIG_BLUETOOTH_INTERNAL_STORAGE) += storage.o
ifeq ($(CONFIG_BLUETOOTH_HCI_HOST),y)
obj-y += uuid.o hci_core.o
ifeq ($(CONFIG_BLUETOOTH_CONN),y)
obj-y += conn.o l2cap.o att.o gatt.o
ifeq ($(CONFIG_BLUETOOTH_SMP),y)
obj-y += smp.o keys.o
else
obj-y += smp_null.o
endif
endif
obj-$(CONFIG_BLUETOOTH_HOST_CRYPTO) += crypto.o
endif
obj-$(CONFIG_BLUETOOTH_BREDR) += keys_br.o l2cap_br.o sdp.o
obj-$(CONFIG_BLUETOOTH_RFCOMM) += rfcomm.o
obj-$(CONFIG_BLUETOOTH_HFP_HF) += at.o hfp_hf.o
obj-$(CONFIG_BLUETOOTH_AVDTP) += avdtp.o
obj-$(CONFIG_BLUETOOTH_A2DP) += a2dp.o