summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-07 18:32:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 17:35:03 +0100
commit34ea005d6a17362aa16d4c7796b85062ab14a8ad (patch)
tree40c66a3f708ca770ceb7a60e924f94c4435353a6
parentc2e60904164f75bdb3188173069ee30d25efb8db (diff)
downloadpoky-34ea005d6a17362aa16d4c7796b85062ab14a8ad.tar.gz
poky-34ea005d6a17362aa16d4c7796b85062ab14a8ad.tar.bz2
poky-34ea005d6a17362aa16d4c7796b85062ab14a8ad.zip
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>
-rw-r--r--meta/classes/insane.bbclass2
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):
if "-dbg" in rdepend and "debug-deps" not in skip:
error_msg = "%s rdepends on %s" % (pkgname,rdepend)
sane = package_qa_handle_error("debug-deps", error_msg, d)
- if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev"):
+ if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev") and "dev-deps" not in skip:
error_msg = "%s rdepends on %s" % (pkgname, rdepend)
sane = package_qa_handle_error("dev-deps", error_msg, d)