[yocto] static libraries missing from sdk

Robert Berger yocto.user.mailinglist at gmail.com
Wed Feb 7 08:06:37 PST 2018


Hi,

OK I think I understood.

You want a static library and apparently .h and friends as well as the 
.a file should end up in the SDK and nothing on the rootfs.

If you enable staticdev-pkgs in the SDKIMAGE_FEATURES *all* the 
staticdev pkgs should end up in the SDK (I assume), but you need to use 
TOOLCHAIN_TARGET_TASK_append = " fmt-staticdev" for the .a file to show 
up in the SDK.

You use a cmake project and try to build https://github.com/fmtlib/fmt.

Regards,

Robert






More information about the yocto mailing list