[OE-core] Circular dependency of do_populate_sysroot

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Mon Apr 8 06:55:33 UTC 2019


On Mon, 2019-04-08 at 07:43 +0200, Stefan Herbrechtsmeier wrote:
> Am 07.04.2019 23:35 schrieb richard.purdie at linuxfoundation.org:
> > You're saying A runtime depends on B and B runtime depends on A.
> 
> Yes, only the run time depends on each other. This means the
> dependency doesn't exist during a native build of a or b.

In which case this is easy, simply set:

RDEPENDS_${PN}_class-native = ""

By default the system assumes that native packages have the same
dependencies as target.

Its complicated by PACKAGES being empty for native but the code knows
to look at "${PN}" for rdepends.

Cheers,

Richard




More information about the Openembedded-core mailing list