diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-07 18:32:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-08 17:35:03 +0100 |
commit | 34ea005d6a17362aa16d4c7796b85062ab14a8ad (patch) | |
tree | 40c66a3f708ca770ceb7a60e924f94c4435353a6 /meta/classes | |
parent | c2e60904164f75bdb3188173069ee30d25efb8db (diff) | |
download | poky-34ea005d6a17362aa16d4c7796b85062ab14a8ad.tar.gz |
insane.bbclass: allow dev-deps to be skipped via INSANE_SKIP
Add the missing check in package_qa_check_rdepends to allow dependencies
from non-development packages on development packages to be skipped.
(From OE-Core rev: 26fd8892337e60aa439cedde51b15c42a6fd8540)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index c1db1ca99b..1cf7014bc8 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -443,7 +443,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, d): | |||
443 | if "-dbg" in rdepend and "debug-deps" not in skip: | 443 | if "-dbg" in rdepend and "debug-deps" not in skip: |
444 | error_msg = "%s rdepends on %s" % (pkgname,rdepend) | 444 | error_msg = "%s rdepends on %s" % (pkgname,rdepend) |
445 | sane = package_qa_handle_error("debug-deps", error_msg, d) | 445 | sane = package_qa_handle_error("debug-deps", error_msg, d) |
446 | if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev"): | 446 | if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev") and "dev-deps" not in skip: |
447 | error_msg = "%s rdepends on %s" % (pkgname, rdepend) | 447 | error_msg = "%s rdepends on %s" % (pkgname, rdepend) |
448 | sane = package_qa_handle_error("dev-deps", error_msg, d) | 448 | sane = package_qa_handle_error("dev-deps", error_msg, d) |
449 | 449 | ||