2016-09-22 08:40:31 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
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 \
|
2016-10-12 07:38:26 +00:00
|
|
|
bluedroid/profiles/core/include \
|
2016-10-24 12:07:19 +00:00
|
|
|
bluedroid/profiles/esp/blufi/include \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/profiles/esp/include \
|
|
|
|
bluedroid/profiles/std/battery/include \
|
|
|
|
bluedroid/profiles/std/dis/include \
|
|
|
|
bluedroid/profiles/std/hid/include \
|
|
|
|
bluedroid/profiles/std/rfcomm/include \
|
|
|
|
bluedroid/profiles/std/include \
|
|
|
|
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-10-31 13:40:01 +00:00
|
|
|
bluedroid/stack_api/include \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/include \
|
|
|
|
include
|
2016-09-22 08:40:31 +00:00
|
|
|
|
|
|
|
CFLAGS += -Wno-error=unused-label -Wno-error=return-type -Wno-error=missing-braces -Wno-error=pointer-sign -Wno-error=parentheses
|
|
|
|
|
|
|
|
LIBS := btdm_app
|
|
|
|
|
|
|
|
COMPONENT_ADD_LDFLAGS := -lbt -L$(abspath lib) \
|
|
|
|
$(addprefix -l,$(LIBS)) \
|
|
|
|
$(LINKER_SCRIPTS)
|
|
|
|
|
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 \
|
2016-10-12 07:38:26 +00:00
|
|
|
bluedroid/profiles/core \
|
2016-10-24 09:08:37 +00:00
|
|
|
bluedroid/profiles/esp/blufi \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/profiles/esp/ble_button \
|
2016-10-11 12:05:58 +00:00
|
|
|
bluedroid/profiles/esp/wechat_AirSync \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/profiles/esp \
|
|
|
|
bluedroid/profiles/std/battery \
|
|
|
|
bluedroid/profiles/std/dis \
|
|
|
|
bluedroid/profiles/std/hid \
|
|
|
|
bluedroid/profiles/std/hid_le \
|
|
|
|
bluedroid/profiles/std/rfcomm \
|
2016-10-26 03:25:24 +00:00
|
|
|
bluedroid/profiles/std/sdp \
|
2016-10-28 07:48:27 +00:00
|
|
|
bluedroid/profiles/std/gap \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid/profiles/std \
|
|
|
|
bluedroid/profiles \
|
|
|
|
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-10-31 13:40:01 +00:00
|
|
|
bluedroid/stack_api \
|
2016-09-27 13:38:07 +00:00
|
|
|
bluedroid \
|
|
|
|
.
|
2016-09-22 08:40:31 +00:00
|
|
|
|
|
|
|
include $(IDF_PATH)/make/component_common.mk
|
|
|
|
|
|
|
|
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS))
|
|
|
|
$(COMPONENT_LIBRARY): $(ALL_LIB_FILES)
|
|
|
|
|
2016-09-26 05:59:39 +00:00
|
|
|
# automatically trigger a git submodule update if BT library is missing
|
2016-10-04 05:33:18 +00:00
|
|
|
$(eval $(call SubmoduleCheck,$(ALL_LIB_FILES),$(COMPONENT_PATH)/lib))
|