summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRockchip2015-03-03 11:38:33 +0800
committerRockchip2015-03-03 11:38:33 +0800
commit467bd42a8b62e4283f74dafb3b6e9efcf094e910 (patch)
tree1788f79b5e6a2513e3e15af2f7502d49326649f8
parent88e06ce6f0c9af4a8d44e19f44594030b2df576e (diff)
compatible with 64bit
-rwxr-xr-xbluetooth/libbt_rtk8723bs/Android.mk10
-rwxr-xr-xbluetooth/libbt_rtk_usb/Android.mk10
2 files changed, 18 insertions, 2 deletions
diff --git a/bluetooth/libbt_rtk8723bs/Android.mk b/bluetooth/libbt_rtk8723bs/Android.mk
index 90a4b34..881dea1 100755
--- a/bluetooth/libbt_rtk8723bs/Android.mk
+++ b/bluetooth/libbt_rtk8723bs/Android.mk
@@ -24,7 +24,15 @@ LOCAL_MODULE := libbt-vendor-rtl8723bs
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_OWNER := realtek
-LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
+
+ifneq (1,$(strip $(shell expr $(PLATFORM_VERSION) \>= 5.0)))
+ LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
+else
+ifneq ($(strip $(TARGET_2ND_ARCH)), )
+LOCAL_MULTILIB := both
+endif
+LOCAL_MODULE_RELATIVE_PATH :=
+endif
include $(LOCAL_PATH)/vnd_buildcfg.mk
diff --git a/bluetooth/libbt_rtk_usb/Android.mk b/bluetooth/libbt_rtk_usb/Android.mk
index 8dcd4cd..47a6dd3 100755
--- a/bluetooth/libbt_rtk_usb/Android.mk
+++ b/bluetooth/libbt_rtk_usb/Android.mk
@@ -21,7 +21,15 @@ LOCAL_MODULE := libbt-vendor-rtl8723bu
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_OWNER := realtek
-LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
+
+ifneq (1,$(strip $(shell expr $(PLATFORM_VERSION) \>= 5.0)))
+ LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
+else
+ifneq ($(strip $(TARGET_2ND_ARCH)), )
+LOCAL_MULTILIB := both
+endif
+LOCAL_MODULE_RELATIVE_PATH :=
+endif
include $(LOCAL_PATH)/vnd_buildcfg.mk