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 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto