2016-04-23 05:58:37 +08:00
|
|
|
ccflags-y +=-I$(srctree)/include/drivers
|
|
|
|
|
2016-11-09 18:23:21 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_HCI_RAW) += hci_raw.o
|
2015-09-08 00:25:59 +08:00
|
|
|
|
2016-07-04 00:37:38 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_DEBUG) += log.o
|
|
|
|
|
2016-04-20 22:54:07 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_DEBUG_MONITOR) += monitor.o
|
|
|
|
|
2016-07-22 14:54:12 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_TINYCRYPT_ECC) += hci_ecc.o
|
|
|
|
|
2016-11-04 16:47:33 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_INTERNAL_STORAGE) += storage.o
|
|
|
|
|
2017-03-27 22:04:42 +08:00
|
|
|
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
|
2015-09-09 23:27:16 +08:00
|
|
|
|
2017-03-27 22:04:42 +08:00
|
|
|
ifeq ($(CONFIG_BLUETOOTH_SMP),y)
|
|
|
|
obj-y += smp.o keys.o
|
|
|
|
else
|
|
|
|
obj-y += smp_null.o
|
|
|
|
endif
|
2015-09-09 23:27:16 +08:00
|
|
|
endif
|
2016-03-23 16:47:47 +08:00
|
|
|
|
2017-03-27 22:04:42 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_HOST_CRYPTO) += crypto.o
|
|
|
|
endif
|
2016-08-18 01:55:09 +08:00
|
|
|
|
2017-04-01 03:12:37 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_BREDR) += keys_br.o l2cap_br.o sdp.o
|
2016-08-26 17:17:27 +08:00
|
|
|
|
2017-04-01 03:12:37 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_RFCOMM) += rfcomm.o
|
2016-09-13 17:44:21 +08:00
|
|
|
|
2017-04-01 03:12:37 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_HFP_HF) += at.o hfp_hf.o
|
2016-09-15 18:51:57 +08:00
|
|
|
|
2017-04-01 03:12:37 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_AVDTP) += avdtp.o
|
2017-03-15 18:19:27 +08:00
|
|
|
|
2017-04-01 03:12:37 +08:00
|
|
|
obj-$(CONFIG_BLUETOOTH_A2DP) += a2dp.o
|