[yocto] Question about populate_sdk

Anders Darander anders at chargestorm.se
Wed Sep 13 04:43:56 PDT 2017


Hi, 

* Olaf Mandel <o.mandel at menlosystems.com> [170913 13:16]:

> I hope this is the right place to ask this: I wanted to generate an SDK
> bundle to work on an applications code outside of the bitbake
> environment (also without devtool, if possible). So I selected an image
> containing the application and ran the populate_sdk task of that image.
> But the generated SDK is missing some dependencies of the application.

> Is this expected? Or am I doing something wrong?

No, all the dependencies should be part of the generated SDK.

I've seen this, and unfortunately, not had time to debug it, nor create
a small test example. And when I took time to make a small test, I
didn't immediately find theh issue...

See Yocto #11724, at https://bugzilla.yoctoproject.org/show_bug.cgi?id=11724

> I made a minimal demo layer that shows the problem (see below for the 7
> files making up the demo). I ran "bitbake -c populate_sdk test-image"
> and I expected the file usr/lib/test-lib to be present in the SDK, but
> it is not.

Ah, a small test example? Perfect!
Could you add it the bug above? It would likely make it easier to debug.

Cheers
Anders

-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB



More information about the yocto mailing list