summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-yocto_3.14.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-09 21:26:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-25 15:33:30 +0100
commitf6cb24cf2255297308ef57399a6be407129d9b8f (patch)
treec925b4a143563e0809c7181d90cb71749167f372 /meta/recipes-kernel/linux/linux-yocto_3.14.bb
parent58f08a96764094189b5aaf3cc8b4cc0c95e23409 (diff)
downloadopenembedded-core-contrib-f6cb24cf2255297308ef57399a6be407129d9b8f.tar.gz
insane: Add build depends check
Now that we can get the task dependency tree from bitbake, we can start to use this to strengthen our QA checks. If a dependency is added on something which isn't in our dependency tree, that is obviously a bad thing for example. This patch therefore checks the RDEPENDS against the list of tasks and ensures we do have a dependency present, if not a QA warning or error can be issued through the usual mechanism. The implementation is complicated by needing to resolve the RDEPENDS to a PN using pkgdata. Its possible that can be an RPROVIDES of another package so we need to check that too if it isn't a direct RDEPENDS. To allow this test to work, we need to extend the do_package_qa dependencies to include all RDEPENDS. In practise the do_package_write_* tasks already do this so there should be no new circular dependencies or any issues like that. For now the issues are warnings as there are issues this finds in OE-Core which need to be resolved and certainly will be in other layers too. This change should simplify and assist some of Martin's dependency scripts, the idea for this came from a discussion with Martin. It has changed in that it doesn't just cover shlibs dependencies but checks all dependencies. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto_3.14.bb')
0 files changed, 0 insertions, 0 deletions