From: Ivan Grokhotkov Date: Sun, 25 Sep 2016 17:45:12 +0000 (+0800) Subject: components/bt: fix compilation, remove ./ from makefile X-Git-Tag: v0.9~17^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10c69514b75151037560dea3ef26a67ce687042b;p=esp-idf components/bt: fix compilation, remove ./ from makefile --- diff --git a/components/bt/bt.c b/components/bt/bt.c index d9bc5ae089..addea46dc4 100644 --- a/components/bt/bt.c +++ b/components/bt/bt.c @@ -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{\ diff --git a/components/bt/component.mk b/components/bt/component.mk index 110d022672..8290f9f4a4 100644 --- a/components/bt/component.mk +++ b/components/bt/component.mk @@ -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