What would be the steps to add libraries to /usr/lib that my apps could then later use? I guess I would need to add them to the yocto system image, but I am having a hard time figuring out where to add them. I got them cross-compiled already so I have some .so files, I just need to add them to the image. How would I go about doing this?
I want to be able to include a few libraries but I don’t want them to affect our code size to avoid having large update sizes in the future.
Yes,you can add in yocto system image.If you have already having .so file which is compiled.
Also you can create softlink
Steps to add libraries in yocto:
Example:
SUMMARY = “lib sample”
SECTION = “libs”
SRC_URI = “file://lib.so” <.so file should be present in the path of the recipes>