From 10c69514b75151037560dea3ef26a67ce687042b Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 26 Sep 2016 01:45:12 +0800 Subject: [PATCH] components/bt: fix compilation, remove ./ from makefile --- components/bt/bt.c | 3 --- components/bt/component.mk | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) 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 -- 2.40.0