Selecting libraries for the SDK
I've recently been thrust into an intense project with an insane deadline (shocking, I know) and I've had to quickly get up to speed building images with Yocto. I've managed to overcome most issues with lots of trial and error... and googling, and now I'm reasonably confident in my abilities, but there's one thing I've been unable to figure out.
I have one or two developers that need to build outside of the yocto image build, so it makes sense to create an SDK for them to use. When I create the SDK, it appears to be missing many libraries that exist in my full image build. These are mostly dev libraries that are needed to compile apps for the system. Even common libraries like glib-2.0 are missing. I've struggled to figure out how the Yocto build selects these when populating the SKD, and I can't seem to figure it out.
Incidentally, the platform I'm building for is very similar to the Qualcomm RB3 robotics dev kit from Thundercomm, and I have a copy of their SDK which contains most of the libraries I need. I can use their SDK to build much of what I need, but there are a few libraries missing from theirs as well. I suspect the Qualcomm image build process is a little more complicated than most other platforms, which would explain why I can't seem to find the help I need on Google.
The bottom line, I just need someone to point me in the right direction regarding the SDK population, and how I can select libraries from my existing build to be included in the SDK. Thanks.
Quoted 24 lines · On Fri, 2020-01-17 at 00:27 -0800, [email protected] wrote:
I've recently been thrust into an intense project with an insane deadline (shocking, I know) and I've had to quickly get up to speed building images with Yocto. I've managed to overcome most issues with lots of trial and error... and googling, and now I'm reasonably confident in my abilities, but there's one thing I've been unable to figure out.
I have one or two developers that need to build outside of the yocto image build, so it makes sense to create an SDK for them to use. When I create the SDK, it appears to be missing many libraries that exist in my full image build. These are mostly dev libraries that are needed to compile apps for the system. Even common libraries like glib-2.0 are missing. I've struggled to figure out how the Yocto build selects these when populating the SKD, and I can't seem to figure it out.
Incidentally, the platform I'm building for is very similar to the Qualcomm RB3 robotics dev kit from Thundercomm, and I have a copy of their SDK which contains most of the libraries I need. I can use their SDK to build much of what I need, but there are a few libraries missing from theirs as well. I suspect the Qualcomm image build process is a little more complicated than most other platforms, which would explain why I can't seem to find the help I need on Google.
Quoted 3 lines
The bottom line, I just need someone to point me in the right direction regarding the SDK population, and how I can select libraries from my existing build to be included in the SDK. Thanks.
The libraries in the SDK should match those in the corresponding image. If that isn't the case I worry about what changes you've added on top of the base system as the base system does behave like that.
I assume you're doing "bitbake <image> -c populate_sdk" ?
You probably could force things into the SDK but I'd personally want to understand why its not working as intended.
Cheers,
Richard