diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-02 13:29:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-04 14:48:14 +0100 |
commit | 34889669265f341ccd7425fe121948b13e5b7c38 (patch) | |
tree | d4e8583d7e47796733f310fb5b825627e22043c9 /scripts | |
parent | 5d79175b87fe352c3f4d62a1e49df2a7052488d9 (diff) | |
download | poky-34889669265f341ccd7425fe121948b13e5b7c38.tar.gz |
bitbake: runqueue.py: Allow recrdeptasks that have self references
In some cases we want to pull in DEPENDS and RDEPENDS of recrdeptask
dependencies but we need a way to trigger or avoid this behaviour
depending on context. The logical syntax to trigger such behaviour
would be a self referencing recrdeptask:
do_a[recrdeptask] = "do_a do_b"
The dependency chains already recurse this kind of expression correctly, the
missing piece is to avoid any circular reference errors. Since the dependencies
have already been recursively resolved, simply removing any recrdeptask
references is enough to break the circular references.
This patch therefore removes any circular references using the set
difference_update() operator. There will be metadata tweaks required to
add any references needed to the extra taskname.
(Bitbake rev: a5324da9b8a0c9307a6c511ea9009f34be70c92b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions