[yocto] [PATCH] bb.build.addtask: add simple check for circular dependency

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 18 03:29:23 PST 2019


On Fri, 2019-01-18 at 05:30 +0100, Ulf Samuelsson wrote:
> So if KNOWN_TASKS is defined in a configuration file in oe-core, it
> would be OK?
> It needs to be extended to check for KNOWN_TASKS == None of course.

No, this is too fragile. We then have to maintain two different lists
of tasks. If we did that we may as well just remove the generic tasks
mechanism and hardcode the tasks list in the metadata.

As I mentioned, we need to come up with something which detects the
task loops generically.

Cheers,

Richard





More information about the yocto mailing list