On Tue, 8 Oct 2024 at 13:24, <[email protected]> wrote:

> It is a build time dependency as I see it.
>
> if foo.bb is setting DEPENDS to include "bar baz and qux" to indicate
> it need it for compilation.
>
> When foo is added to an image, and we then populate_sdk for this image
> I expect that the SDK includes the dev packages of bar baz and qux to
> be able to compile foo with it.
>
> This has working until now as the SDK installed the recommended
> packages.
>
> The key is that process_depchains in package.py make the
> recommendation. From the comment
>
> <snip>
> def process_depchains(pkgfiles, d):
>     """
>     For a given set of prefix and postfix modifiers, make those
> packages
>     RRECOMMENDS on the corresponding packages for its RDEPENDS.
>
>     Example:  If package A depends upon package B, and A's .bb emits an
>     A-dev package, this would make A-dev Recommends: B-dev.
> </snip>
>
> I will start on creating an example on my github account showing the
> issue better if it is not yet clear.

I still don't understand why the standard SDK population mechanism
doesn't work for you. It does pull in -dev for everything that is in
the image, so where does this break down?

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#205288): 
https://lists.openembedded.org/g/openembedded-core/message/205288
Mute This Topic: https://lists.openembedded.org/mt/108685995/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to