[yocto] populate_sdk with my image

Mark Hatle mark.hatle at kernel.crashing.org
Thu Nov 21 11:16:04 PST 2019



On 11/21/19 12:00 PM, Mauro Ziliani wrote:
> Thanks.
> 
> This is true for a Krogoth based project?

Same class, slightly different semantics.  I don't believe src-pkgs existed yet
at that point, but dev-pkgs would have.

You will have to investigate the class for the parameters.. but general behavior
is the same.

--Mark

> Il 21/11/19 17:40, Mark Hatle ha scritto:
>> populate_sdk uses the same configuration as the regular image, as well as adding
>> "dev-pkgs dbg-pkgs src-pkgs" and optionally doc-pkgs.
>>
>> See:
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/populate_sdk_base.bbclass
>>
>> Lines 3-11, and 22.
>>
>> If dev-pkgs/src-pkgs isn't inclyding your Qt/Qml development components, then
>> they may not be packaged properly.
>>
>> The way dev-pkgs works (like 5) is by taking a list of each package installed in
>> the system and then trying to add '-dev' to it, and then install that.  (Roughly)
>>
>> --Mark
>>
>>
>> On 11/21/19 10:31 AM, Mauro Ziliani wrote:
>>> Hi all.
>>>
>>> I have a recipe for my image with depends from Qt/Qml recipes
>>>
>>> When I do
>>>
>>> bitbake -c populate_sdk myimage.bb
>>>
>>>
>>> the sdk doesn't contains the dev version of the Qt/Qml libraries installed in
>>> the final image
>>>
>>>
>>> I managing the bitbake variables  TOOLCHAIN_TARGET_TASK and TOOLCHAIN_HOST_TASK
>>> adding manually the dependecies.
>>>
>>>
>>> There is an automatic way to do that?
>>>
>>>
>>> M
>>>
>>>


More information about the yocto mailing list