components/bt: fix compilation, remove ./ from makefile

This commit is contained in:
Ivan Grokhotkov 2016-09-26 01:45:12 +08:00
parent 5a762d9eee
commit 10c69514b7
2 changed files with 1 additions and 6 deletions

View File

@ -36,9 +36,6 @@ extern void btdm_osi_funcs_register(void *osi_funcs);
extern void btdm_controller_init(void);
static bt_app_startup_cb_t app_startup_cb;
static void *app_startup_ctx;
#define BT_DEBUG(...)
#define BT_API_CALL_CHECK(info, api_call, ret) \
do{\

View File

@ -6,7 +6,7 @@
CURRENT_DIR=$(IDF_PATH)/components/bt
COMPONENT_ADD_INCLUDEDIRS := ./include
COMPONENT_ADD_INCLUDEDIRS := include
CFLAGS += -Wno-error=unused-label -Wno-error=return-type -Wno-error=missing-braces -Wno-error=pointer-sign -Wno-error=parentheses
@ -20,6 +20,4 @@ COMPONENT_ADD_LDFLAGS := -lbt -L$(abspath lib) \
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS))
$(COMPONENT_LIBRARY): $(ALL_LIB_FILES)
COMPONENT_SRCDIRS := ./
include $(IDF_PATH)/make/component_common.mk