summaryrefslogtreecommitdiffstats
path: root/bta
diff options
context:
space:
mode:
Diffstat (limited to 'bta')
-rw-r--r--bta/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/bta/Android.mk b/bta/Android.mk
index 79d8677..f5ab5e1 100644
--- a/bta/Android.mk
+++ b/bta/Android.mk
@@ -2,8 +2,6 @@ ifneq ($(TARGET_SIMULATOR),true)
LOCAL_PATH:= $(call my-dir)
-include $(LOCAL_PATH)/../include/buildcfg.mk
-
include $(CLEAR_VARS)
ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true)
@@ -127,6 +125,7 @@ LOCAL_SRC_FILES:= \
./jv/bta_jv_api.c
LOCAL_MODULE := libbt-brcm_bta
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libcutils libc
@@ -144,6 +143,8 @@ LOCAL_C_INCLUDES+= . \
$(LOCAL_PATH)/../udrv/include \
$(LOCAL_PATH)/../brcm/include \
+include $(LOCAL_PATH)/../include/buildcfg.mk
+
include $(BUILD_STATIC_LIBRARY)
endif # TARGET_SIMULATOR != true