2016-09-22 08:40:31 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
2017-01-10 05:04:04 +00:00
|
|
|
ifdef CONFIG_BT_ENABLED
|
2016-09-22 08:40:31 +00:00
|
|
|
|
2016-09-27 13:38:07 +00:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS := bluedroid/bta/include \
|
|
|
|
bluedroid/bta/sys/include \
|
|
|
|
bluedroid/btcore/include \
|
|
|
|
bluedroid/device/include \
|
|
|
|
bluedroid/gki/include \
|
|
|
|
bluedroid/hci/include \
|
|
|
|
bluedroid/osi/include \
|
2016-11-02 09:42:26 +00:00
|
|
|
bluedroid/utils/include \
|
2017-03-16 08:48:39 +00:00
|
|
|
bluedroid/external/sbc/decoder/include \
|
2016-11-15 12:56:15 +00:00
|
|
|
bluedroid/btc/core/include \
|
|
|
|
bluedroid/btc/profile/esp/blufi/include \
|
|
|
|
bluedroid/btc/profile/esp/include \
|
|
|
|
bluedroid/btc/profile/std/gatt/include \
|
|
|
|
bluedroid/btc/profile/std/gap/include \
|
2017-03-07 06:21:26 +00:00
|
|
|
bluedroid/btc/profile/std/a2dp/include \
|
2016-11-15 16:34:48 +00:00
|
|
|
bluedroid/btc/profile/std/include \
|
2016-11-15 12:56:15 +00:00
|
|
|
bluedroid/btc/include \
|
2016-12-26 09:40:28 +00:00
|
|
|
bluedroid/btif/include \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/stack/btm/include \
|
|
|
|
bluedroid/stack/btu/include \
|
|
|
|
bluedroid/stack/gap/include \
|
|
|
|
bluedroid/stack/gatt/include \
|
|
|
|
bluedroid/stack/hcic/include \
|
|
|
|
bluedroid/stack/l2cap/include \
|
|
|
|
bluedroid/stack/sdp/include \
|
|
|
|
bluedroid/stack/smp/include \
|
2016-11-02 09:42:26 +00:00
|
|
|
bluedroid/stack/avct/include \
|
|
|
|
bluedroid/stack/avrc/include \
|
|
|
|
bluedroid/stack/avdt/include \
|
|
|
|
bluedroid/stack/a2dp/include \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/stack/include \
|
2016-11-15 06:32:22 +00:00
|
|
|
bluedroid/utils/include \
|
2016-12-26 09:40:28 +00:00
|
|
|
bluedroid/api/include \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/include \
|
|
|
|
include
|
2016-09-22 08:40:31 +00:00
|
|
|
|
2016-11-16 14:15:00 +00:00
|
|
|
LIBS := btdm_app
|
2016-09-22 08:40:31 +00:00
|
|
|
|
2016-11-09 01:51:55 +00:00
|
|
|
COMPONENT_ADD_LDFLAGS := -lbt -L $(COMPONENT_PATH)/lib \
|
2016-12-12 04:54:30 +00:00
|
|
|
$(addprefix -l,$(LIBS))
|
|
|
|
|
|
|
|
# re-link program if BT binary libs change
|
|
|
|
COMPONENT_ADD_LINKER_DEPS := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS))
|
2016-09-22 08:40:31 +00:00
|
|
|
|
2016-09-27 13:38:07 +00:00
|
|
|
COMPONENT_SRCDIRS := bluedroid/bta/dm \
|
|
|
|
bluedroid/bta/gatt \
|
|
|
|
bluedroid/bta/hh \
|
2016-10-21 07:12:22 +00:00
|
|
|
bluedroid/bta/sdp \
|
2016-11-02 11:40:46 +00:00
|
|
|
bluedroid/bta/av \
|
|
|
|
bluedroid/bta/ar \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/bta/sys \
|
|
|
|
bluedroid/bta \
|
|
|
|
bluedroid/btcore \
|
|
|
|
bluedroid/btif \
|
|
|
|
bluedroid/device \
|
|
|
|
bluedroid/gki \
|
|
|
|
bluedroid/hci \
|
|
|
|
bluedroid/main \
|
|
|
|
bluedroid/osi \
|
2017-03-16 08:48:39 +00:00
|
|
|
bluedroid/external/sbc/decoder/srce \
|
2016-11-15 12:56:15 +00:00
|
|
|
bluedroid/btc/core \
|
|
|
|
bluedroid/btc/profile/esp/blufi \
|
|
|
|
bluedroid/btc/profile/std/gap \
|
|
|
|
bluedroid/btc/profile/std/gatt \
|
2017-03-01 05:49:26 +00:00
|
|
|
bluedroid/btc/profile/std/a2dp \
|
2017-03-01 08:18:08 +00:00
|
|
|
bluedroid/btc/profile/std/avrc \
|
2016-11-15 12:56:15 +00:00
|
|
|
bluedroid/btc/profile \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/stack/btm \
|
|
|
|
bluedroid/stack/btu \
|
|
|
|
bluedroid/stack/gap \
|
|
|
|
bluedroid/stack/gatt \
|
|
|
|
bluedroid/stack/hcic \
|
|
|
|
bluedroid/stack/include \
|
|
|
|
bluedroid/stack/l2cap \
|
|
|
|
bluedroid/stack/sdp \
|
|
|
|
bluedroid/stack/smp \
|
2016-11-02 09:42:26 +00:00
|
|
|
bluedroid/stack/avct \
|
|
|
|
bluedroid/stack/avrc \
|
|
|
|
bluedroid/stack/avdt \
|
|
|
|
bluedroid/stack/a2dp \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/stack \
|
2016-11-15 06:32:22 +00:00
|
|
|
bluedroid/utils \
|
2016-11-05 12:40:07 +00:00
|
|
|
bluedroid/api \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid \
|
|
|
|
.
|
2016-09-22 08:40:31 +00:00
|
|
|
|
2016-11-16 00:12:48 +00:00
|
|
|
COMPONENT_SUBMODULES += lib
|
2017-01-10 05:04:04 +00:00
|
|
|
|
|
|
|
endif
|