summaryrefslogtreecommitdiffstats
path: root/stack
diff options
context:
space:
mode:
Diffstat (limited to 'stack')
-rw-r--r--stack/Android.mk7
-rw-r--r--stack/btm/btm_inq.c4
-rw-r--r--stack/include/dyn_mem.h10
3 files changed, 11 insertions, 10 deletions
diff --git a/stack/Android.mk b/stack/Android.mk
index d2ccaff..f209fb7 100644
--- a/stack/Android.mk
+++ b/stack/Android.mk
@@ -27,7 +27,10 @@ LOCAL_C_INCLUDES:= . \
$(LOCAL_PATH)/../ctrlr/include \
$(LOCAL_PATH)/../bta/include \
$(LOCAL_PATH)/../bta/sys \
- $(LOCAL_PATH)/../brcm/include
+ $(LOCAL_PATH)/../brcm/include \
+ $(bdroid_C_INCLUDES) \
+
+LOCAL_CFLAGS += $(bdroid_CFLAGS)
ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true)
LOCAL_CFLAGS += \
@@ -132,8 +135,6 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_SHARED_LIBRARIES := libcutils libc
-include $(LOCAL_PATH)/../include/buildcfg.mk
-
include $(BUILD_STATIC_LIBRARY)
endif # TARGET_SIMULATOR != true
diff --git a/stack/btm/btm_inq.c b/stack/btm/btm_inq.c
index a67f723..2339150 100644
--- a/stack/btm/btm_inq.c
+++ b/stack/btm/btm_inq.c
@@ -116,8 +116,8 @@ const UINT16 BTM_EIR_UUID_LKUP_TBL[BTM_EIR_MAX_SERVICES] =
};
#else
/*
-If customized UUID look-up table needs to be used,
-the followings should be defined in buildcfg.h.
+If customized UUID look-up table needs to be used,
+the followings should be defined in bdroid_buildcfg.h.
BTM_EIR_UUID_LKUP_TBL = <customized UUID list>
BTM_EIR_MAX_SERVICES = <number of UUID in list>
*/
diff --git a/stack/include/dyn_mem.h b/stack/include/dyn_mem.h
index 58d4579..c243fe8 100644
--- a/stack/include/dyn_mem.h
+++ b/stack/include/dyn_mem.h
@@ -14,7 +14,7 @@
#define DYN_MEM_H
/****************************************************************************
-** Define memory usage for GKI (if not defined in buildcfg.h)
+** Define memory usage for GKI (if not defined in bdroid_buildcfg.h)
** The default for GKI is to use static memory allocation for its control
** block.
*/
@@ -23,7 +23,7 @@
#endif
/****************************************************************************
-** Define memory usage for each CORE component (if not defined in buildcfg.h)
+** Define memory usage for each CORE component (if not defined in bdroid_buildcfg.h)
** The default for each component is to use static memory allocations.
*/
#ifndef BTU_DYNAMIC_MEMORY
@@ -79,7 +79,7 @@
#endif
/****************************************************************************
-** Define memory usage for each PROFILE component (if not defined in buildcfg.h)
+** Define memory usage for each PROFILE component (if not defined in bdroid_buildcfg.h)
** The default for each component is to use static memory allocations.
*/
#ifndef A2D_DYNAMIC_MEMORY
@@ -163,7 +163,7 @@
#endif
/****************************************************************************
-** Define memory usage for BTA (if not defined in buildcfg.h)
+** Define memory usage for BTA (if not defined in bdroid_buildcfg.h)
** The default for each component is to use static memory allocations.
*/
#ifndef BTA_DYNAMIC_MEMORY
@@ -171,7 +171,7 @@
#endif
/****************************************************************************
-** Define memory usage for BT Trace (if not defined in buildcfg.h)
+** Define memory usage for BT Trace (if not defined in bdroid_buildcfg.h)
** The default is to use static memory allocations.
*/
#ifndef BTTRC_DYNAMIC_MEMORY