--- This requires ppoll. bionic at http://code.google.com/p/aosp-bluez was updated with ppoll backported from bionic master branch. android/Android.mk | 30 ++++++++++++++++++++++++++++++ android/README | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/android/Android.mk b/android/Android.mk index 5f4e70c..f838bfd 100644 --- a/android/Android.mk +++ b/android/Android.mk @@ -443,6 +443,36 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/bluez/configure.ac include $(BUILD_EXECUTABLE) # +# hciattach +# + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + bluez/tools/hciattach.c \ + bluez/tools/hciattach_st.c \ + bluez/tools/hciattach_ti.c \ + bluez/tools/hciattach_tialt.c \ + bluez/tools/hciattach_ath3k.c \ + bluez/tools/hciattach_qualcomm.c \ + bluez/tools/hciattach_intel.c \ + bluez/tools/hciattach_bcm43xx.c \ + bluez/lib/bluetooth.c \ + bluez/lib/hci.c \ + +LOCAL_CFLAGS := $(BLUEZ_COMMON_CFLAGS) + +LOCAL_STATIC_LIBRARIES := \ + bluetooth-headers \ + +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE := hciattach + +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/bluez/configure.ac + +include $(BUILD_EXECUTABLE) + +# # libsbc # diff --git a/android/README b/android/README index ff4d7bf..6254d34 100644 --- a/android/README +++ b/android/README @@ -33,7 +33,7 @@ by BlueZ. SBC code is available at git://git.kernel.org/pub/scm/bluetooth/sbc - Bionic support - Currently only 'master' branch available at https://android.googlesource.com/platform/bionic provides all required functionality and running BlueZ on release branch requires backporting missing -features (currently only epoll_create1 call for Android 4.4.2). Sample +features (currently epoll_create1 and ppoll calls for Android 4.4.2). Sample Bionic for Android 4.4.2 with all required features backported is available at https://code.google.com/p/aosp-bluez.platform-bionic/ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html