populate_sdk with my image
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
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
Quoted 23 lines · Mauro Ziliani
Hi all.
I have a recipe for my image with depends from Qt/Qml recipes
When I do
bitbake -c
populate_sdkmyimage.bbthe sdk doesn't contains the dev version of the Qt/Qml libraries installed in the final image
I managing the bitbake variables
TOOLCHAIN_TARGET_TASKandTOOLCHAIN_HOST_TASKadding manually the dependecies.There is an automatic way to do that?
M
Thanks.
This is true for a Krogoth based project?
Il 21/11/19 17:40, Mark Hatle ha scritto:
Quoted 41 lines
populate_sdkuses 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.bbclassLines 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
Quoted 23 lines · Mauro Ziliani
Hi all.
I have a recipe for my image with depends from Qt/Qml recipes
When I do
bitbake -c
populate_sdkmyimage.bbthe sdk doesn't contains the dev version of the Qt/Qml libraries installed in the final image
I managing the bitbake variables
TOOLCHAIN_TARGET_TASKandTOOLCHAIN_HOST_TASKadding manually the dependecies.There is an automatic way to do that?
M
Quoted 3 lines · Mauro Ziliani
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
Quoted 42 lines
Il 21/11/19 17:40, Mark Hatle ha scritto:
Quoted 41 lines
populate_sdkuses 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.bbclassLines 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
Quoted 23 lines · Mauro Ziliani
Hi all.
I have a recipe for my image with depends from Qt/Qml recipes
When I do
bitbake -c
populate_sdkmyimage.bbthe sdk doesn't contains the dev version of the Qt/Qml libraries installed in the final image
I managing the bitbake variables
TOOLCHAIN_TARGET_TASKandTOOLCHAIN_HOST_TASKadding manually the dependecies.There is an automatic way to do that?
M