Good morning,
I am trying to integrate the modifications from CM 10.1 to support USB bluetooth adapters on the olinuxino-a20.
I made the changes to the source codes of bluedroid, libbt, added the changes to olinuxino-a20.mk as well as set up my bdroid_buildcfg file as mentionned on this page (last answer down the page):
http://stackoverflow.com/questions/17608727/does-android-4-2-2-support-usb-bluetooth-dongle
(http://stackoverflow.com/questions/17608727/does-android-4-2-2-support-usb-bluetooth-dongle)
I also changed the external/libusb to the CM 10.1 one since their changelog specified changes to make USB bluetooth to work.
Long story short, I am getting undefined references to the functions related to libusb. here is the output: http://pastebin.com/Tr1HAwMM (http://pastebin.com/Tr1HAwMM)
I then added libusb to the PRODUCT_PACKAGES definition in olinuxino-a20.mk thinking that the library was not being build (which I was probably right about) but even with the library built, I get the same errors.
Perhaps I should have it in core.mk so it is build before bt? I don't know... Didn't work
If anyone has a thought regarding this, let me know, I'm starting to be out of ideas...
Thanks,
DW