2016-09-22 04:40:31 -04:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
2017-01-10 00:04:04 -05:00
|
|
|
ifdef CONFIG_BT_ENABLED
|
2016-09-22 04:40:31 -04:00
|
|
|
|
2017-03-07 12:20:33 -05:00
|
|
|
COMPONENT_SRCDIRS := .
|
|
|
|
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
|
|
|
|
|
|
|
LIBS := btdm_app
|
|
|
|
|
|
|
|
COMPONENT_ADD_LDFLAGS := -lbt -L $(COMPONENT_PATH)/lib \
|
|
|
|
$(addprefix -l,$(LIBS))
|
|
|
|
|
|
|
|
# re-link program if BT binary libs change
|
|
|
|
COMPONENT_ADD_LINKER_DEPS := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS))
|
|
|
|
|
|
|
|
COMPONENT_SUBMODULES += lib
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifdef CONFIG_BLUEDROID_ENABLED
|
|
|
|
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS += bluedroid/bta/include \
|
2016-09-27 09:38:07 -04:00
|
|
|
bluedroid/bta/sys/include \
|
|
|
|
bluedroid/btcore/include \
|
|
|
|
bluedroid/device/include \
|
|
|
|
bluedroid/gki/include \
|
|
|
|
bluedroid/hci/include \
|
|
|
|
bluedroid/osi/include \
|
2016-11-02 05:42:26 -04:00
|
|
|
bluedroid/utils/include \
|
2017-03-16 04:48:39 -04:00
|
|
|
bluedroid/external/sbc/decoder/include \
|
2017-12-25 06:39:37 -05:00
|
|
|
bluedroid/external/sbc/encoder/include \
|
2016-11-15 07:56:15 -05: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 01:21:26 -05:00
|
|
|
bluedroid/btc/profile/std/a2dp/include \
|
2016-11-15 11:34:48 -05:00
|
|
|
bluedroid/btc/profile/std/include \
|
2016-11-15 07:56:15 -05:00
|
|
|
bluedroid/btc/include \
|
2016-12-26 04:40:28 -05:00
|
|
|
bluedroid/btif/include \
|
2016-09-27 09:38:07 -04: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 05:42:26 -04:00
|
|
|
bluedroid/stack/avct/include \
|
|
|
|
bluedroid/stack/avrc/include \
|
|
|
|
bluedroid/stack/avdt/include \
|
|
|
|
bluedroid/stack/a2dp/include \
|
2018-01-05 03:48:29 -05:00
|
|
|
bluedroid/stack/rfcomm/include \
|
2016-09-27 09:38:07 -04:00
|
|
|
bluedroid/stack/include \
|
2016-11-15 01:32:22 -05:00
|
|
|
bluedroid/utils/include \
|
2016-12-26 04:40:28 -05:00
|
|
|
bluedroid/api/include \
|
2016-09-27 09:38:07 -04:00
|
|
|
bluedroid/include \
|
2016-09-22 04:40:31 -04:00
|
|
|
|
2017-03-07 12:20:33 -05:00
|
|
|
COMPONENT_SRCDIRS += bluedroid/bta/dm \
|
2016-09-27 09:38:07 -04:00
|
|
|
bluedroid/bta/gatt \
|
|
|
|
bluedroid/bta/hh \
|
2016-10-21 03:12:22 -04:00
|
|
|
bluedroid/bta/sdp \
|
2016-11-02 07:40:46 -04:00
|
|
|
bluedroid/bta/av \
|
|
|
|
bluedroid/bta/ar \
|
2016-09-27 09:38:07 -04:00
|
|
|
bluedroid/bta/sys \
|
2018-01-05 03:48:29 -05:00
|
|
|
bluedroid/bta/jv \
|
2016-09-27 09:38:07 -04:00
|
|
|
bluedroid/bta \
|
|
|
|
bluedroid/btcore \
|
|
|
|
bluedroid/btif \
|
|
|
|
bluedroid/device \
|
|
|
|
bluedroid/gki \
|
|
|
|
bluedroid/hci \
|
|
|
|
bluedroid/main \
|
|
|
|
bluedroid/osi \
|
2017-03-16 04:48:39 -04:00
|
|
|
bluedroid/external/sbc/decoder/srce \
|
2017-12-25 06:39:37 -05:00
|
|
|
bluedroid/external/sbc/encoder/srce \
|
2016-11-15 07:56:15 -05:00
|
|
|
bluedroid/btc/core \
|
|
|
|
bluedroid/btc/profile/esp/blufi \
|
|
|
|
bluedroid/btc/profile/std/gap \
|
|
|
|
bluedroid/btc/profile/std/gatt \
|
2017-03-01 00:49:26 -05:00
|
|
|
bluedroid/btc/profile/std/a2dp \
|
2017-03-01 03:18:08 -05:00
|
|
|
bluedroid/btc/profile/std/avrc \
|
2018-01-05 03:48:29 -05:00
|
|
|
bluedroid/btc/profile/std/spp \
|
2016-11-15 07:56:15 -05:00
|
|
|
bluedroid/btc/profile \
|
2016-09-27 09:38:07 -04: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 05:42:26 -04:00
|
|
|
bluedroid/stack/avct \
|
|
|
|
bluedroid/stack/avrc \
|
|
|
|
bluedroid/stack/avdt \
|
|
|
|
bluedroid/stack/a2dp \
|
2018-01-05 03:48:29 -05:00
|
|
|
bluedroid/stack/rfcomm \
|
2016-09-27 09:38:07 -04:00
|
|
|
bluedroid/stack \
|
2016-11-15 01:32:22 -05:00
|
|
|
bluedroid/utils \
|
2016-11-05 08:40:07 -04:00
|
|
|
bluedroid/api \
|
2016-09-27 09:38:07 -04:00
|
|
|
bluedroid \
|
2017-01-10 00:04:04 -05:00
|
|
|
|
|
|
|
endif
|