[yocto] Cross compilation sysroot doesn't include libusb
Srinivasan, Usha
usha.srinivasan at intel.com
Fri Jul 12 13:00:41 PDT 2019
I will start with the caveat: this is my first time trying to cross compile for a target running a yocto bitbaked image. So I am surely not doing the right thing.
I have generated both a core-image-sato & core-image-sato-dev. I am developing an application to run on my target machine. My application uses libraries that in turn need libusb.so which doesn't exist in under the sysroot setup for cross compilation. I have these in my local.conf and I do see
EXTRA_IMAGE_FEATURES ?= "debug-tweaks tools-testapps tools-sdk dev-pkgs"
CORE_IMAGE_EXTRA_INSTALL += "openssh glib-2.0 glibc glib-networking libusb-compat"
I do see that libusb-compat was generated:
./corei7-64-poky-linux/libusb-compat/1_0.1.5-r0/deploy-rpms/corei7_64/libusb-0.1-4-0.1.5-r0.corei7_64.rpm
./corei7-64-poky-linux/libusb-compat/1_0.1.5-r0/deploy-rpms/corei7_64/libusb-0.1-src-0.1.5-r0.corei7_64.rpm
./corei7-64-poky-linux/libusb-compat/1_0.1.5-r0/deploy-rpms/corei7_64/libusb-0.1-dev-0.1.5-r0.corei7_64.rpm
./corei7-64-poky-linux/libusb-compat/1_0.1.5-r0/deploy-rpms/corei7_64/libusb-0.1-dbg-0.1.5-r0.corei7_64.rpm
I tried bitbake meta-ide-support and used tmp/environment-setup-corei7-64-poky-linux to setup my build environment, but there is no libusb.so in the sysroot lib directory.
I tried bitbake meta-toolchain and installed the tool chain and used its /opt/poky/2.7/environment-setup-corei7-64-poky-linux, but again the opt/poky/2.7 sysroot directory also does not include libusb.so.
What step am I missing?
Thanks in advance,
Usha
____
Intel Corporation
1110 American Parkway NE
Suite F-100, AMP1 10C-166b
Allentown, PA 18109-9151
484-245-9498
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190712/88737456/attachment.html>
More information about the yocto
mailing list