summaryrefslogtreecommitdiff
path: root/meta/classes
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:33:32 +0100
commit26fd8892337e60aa439cedde51b15c42a6fd8540 (patch)
tree6ae1822ed38afe063ecaf1020e5eb89c821a9092 /meta/classes
parent1dd820ed5e426578cac485d63e8c350447332dcb (diff)
downloadopenembedded-core-26fd8892337e60aa439cedde51b15c42a6fd8540.tar.gz
openembedded-core-26fd8892337e60aa439cedde51b15c42a6fd8540.tar.bz2
openembedded-core-26fd8892337e60aa439cedde51b15c42a6fd8540.tar.xz
openembedded-core-26fd8892337e60aa439cedde51b15c42a6fd8540.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. 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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index c1db1ca99..1cf7014bc 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)