jb567234
jb567234

Reputation: 1

Build btpclient with BlueZ Yocto Recipe

I'm trying to use the auto-pts project to perform automated Bluetooth Testing on an Embedded System. It requires that the device-under-test have btpclient included with its BlueZ installation, but I can't figure out to how to btpclient included during the yocto build.

I have BlueZ installing fine with a yocto receipe, and I see references to btpclient, but I don't end up with the btpclient executable on the system after building with yocto.

These are the yocto recipes I am using: https://git.yoctoproject.org/poky/plain/meta/recipes-connectivity/bluez5/

How do I modify those receipes to include btpclient in the installation? The other tools that I see listed in the "NOINST_TOOLS_BT" list of the .bb files are getting installed - just not btpclient.

Upvotes: 0

Views: 319

Answers (1)

jb567234
jb567234

Reputation: 1

Ok I got it - the comment from @skandigraun was helpful. I did indeed need to add PACKAGECONFIG += "btpclient" to the .bbappend file, but I ALSO added --enable-btpclient to EXTRA_OECONF:append in that same file. Then I also changed the last line in the original .bb file to tools/btpclient instead of ${@bb.utils.contains('PACKAGECONFIG', 'btpclient', 'tools/btpclient', '', d)}.

When I didn't change that last part, I saw the btpclient end up in the build directory, but it was never actually installed into the image.

Upvotes: 0

Related Questions