]> granicus.if.org Git - esp-idf/commitdiff
components/bt: fix compilation, remove ./ from makefile
authorIvan Grokhotkov <ivan@espressif.com>
Sun, 25 Sep 2016 17:45:12 +0000 (01:45 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Sun, 25 Sep 2016 17:45:12 +0000 (01:45 +0800)
components/bt/bt.c
components/bt/component.mk

index d9bc5ae08932b8fb1e8e9adb7698dac1a9f889b1..addea46dc4fcd27eaa7aba28ba7f6f92758fccbf 100644 (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{\
index 110d022672b6b52a53e6ea5bf4e45cb0cfea1fcc..8290f9f4a451fe83e6965fa536b5b622a26e4378 100644 (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