[yocto] How can I add a library to my SDK

Jimi Damon jdamon at gmail.com
Mon Jun 26 12:21:47 PDT 2017


I've added zeromq to a build by adding the meta-iot-cloud layer. This 
adds zeromq to the target rootfs, but I can't get this added to the host 
rootfs when I create an sdk ( using bitbake -c populate_sdk 
core-image-minimal  ).

I've read about adding something like

*TOOLCHAIN_HOST_TASK_append = " zeromq"*

to my conf/local.conf, however, I only see error messages saying

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: core-image-minimal-dev-1.0-r0 do_populate_sdk: zeromq not found 
in the feeds (x86_64-nativesdk noarch any all) in 
ERROR: core-image-minimal-dev-1.0-r0 do_populate_sdk: This is often 
caused by an empty package declared in a recipe's PACKAGES variable. 
(Empty packages are not constructed unless ALLOW_EMPTY_<pkg> = '1' is used.)
ERROR: core-image-minimal-dev-1.0-r0 do_populate_sdk: Function failed: 
ERROR: Logfile of failure stored in: 
ERROR: Task 
failed with exit code '1'

What is the approved way to add a library that was compiled for the 
target to the host  ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170626/d02b6cce/attachment.html>

More information about the yocto mailing list