The Edison R2 uses BlueZ 5.24, are you having problems with this version? What is the main reason of using this version?
You could try using this method: http://alextgalileo.altervista.org/blog/install-kernel-from-repo-onto-edison-official-image/
Also you could include the recipes of libudev while you are building your own image, if that alternative doesn't work
Thanks. I will try the linked method.
I try to install bluez because I want to use gatttool which seems not included in the version.
In fact, I didn't build my own image and I tried to install directly on Yocto of Eidson board.
Even when you clone bluez:
git clone git://git.kernel.org/pub/scm/bluetooth/bluez.git
and git checkout 5.24
Then ./bootstrap && ./configure
You will still get the
checking for UDEV... no
configure: error: libudev >= 172 is required
So it looks like yocoto libbluetooth was built with magic =)
I too want to use the tools provided in the git distro, not gattool, in my case I'm interested in tools/bluetooth-player.c
Yes you will need a different version of libudev, for this you will have to build a custom image with all the requirements you need.
If you want to compile the source files using the default image you can try with ./configure --disable-udev