As part of development workflow documentation improvements. The source of it all is this thread in the YP mailing list: https://lists.yoctoproject.org/pipermail/yocto/2014-July/020441.html
So I have done some research on this to try and understand some stuff and have a couple questions: 1. Aren't pre-compiled libraries (.so files) linked in at runtime? So in describing this situation as "copying pre-compiled binaries to the root image", is that just saying the same thing? Are we wanting to describe how to link these pre-compiled files to the image at run-time? 2. From the thread, which was responded to by a couple people, it looks like the simplest solution is to simply use FILES_SOLIBSDEV = "" FILES_${PN} += "${libdir}/*.so" to get the .so files linked to (copied to?) the main package. As noted in the mail thread, by default these pre-compiled .so files are by default put into ${PN}-dev. I grepped the following statement out of the bitbake.conf file: FILES_${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \ ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \ ${datadir}/aclocal ${base_libdir}/*.o \ ${libdir}/${BPN}/*.la ${base_libdir}/*.la" So what I am wondering is this the best solution? Or is there some preferred method we want to encourage? Scott
Changing the state to NEEDINFO because I need some answers on my last comment. Scott
A very similar question / answer exchange in this thread https://lists.yoctoproject.org/pipermail/yocto/2014-July/020682.html (just in case it helps somehow).
Hi, This does provide more information. Thanks for the pointer Belen. Scott
Hi, Changing status to IN PROGRESS DESIGN. I have a partial solution in the works and will soon get a review link posted here in the bug. Scott
Hi, I have added a new example to the "Writing a New Recipe" section that describes this issue. The link is http://www.yoctoproject.org/docs/1.7/dev-manual/dev-manual.html#packaging-externally-produced-binaries. Please review the section. I am changing the status to IN PROGRESS REVIEW. Scott
No feedback on this in four weeks. I am marking it RESOLVED and setting the Doc flag to "Done." Scott