summaryrefslogtreecommitdiff
path: root/meta/classes/task.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-07-26 15:35:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-27 14:07:23 +0100
commit352522d474cb75992d7865545b6fbe4e157a5f99 (patch)
tree09fb7d0dffbc6ae5dcb54ea87584711610e55792 /meta/classes/task.bbclass
parentf9ae930552bc5f1d59f207d4cd0e2b1b4f811dbc (diff)
downloadopenembedded-core-352522d474cb75992d7865545b6fbe4e157a5f99.tar.gz
openembedded-core-352522d474cb75992d7865545b6fbe4e157a5f99.tar.bz2
openembedded-core-352522d474cb75992d7865545b6fbe4e157a5f99.zip
classes/package: reduce dbg package dependencies
Make dbg package dependencies added via DEPCHAIN_POST less aggressive - only add dependencies on dbg packages for shared library dependencies. This avoids dragging in extraneous packages (such as eglibc-dbg forcing bash-dbg to be installed) whilst preserving the ability to easily debug into shared libraries in use by an application by just requesting the installation of the single dbg package for that application. For task recipes however we preserve the previous behaviour, since when you install task-xxx-dbg you expect the dbg packages for every package in the task to be installed. Unfortunately not all of our tasks inherit from task.bbclass so we just use a name match - this should be tidied up later. Fixes [YOCTO #2599]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/task.bbclass')
-rw-r--r--meta/classes/task.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/task.bbclass b/meta/classes/task.bbclass
index 22c2fd3744..6ec154a033 100644
--- a/meta/classes/task.bbclass
+++ b/meta/classes/task.bbclass
@@ -25,3 +25,6 @@ python () {
d.setVar('PACKAGES', ' '.join(packages+genpackages))
}
+# We don't want to look at shared library dependencies for the
+# dbg packages
+DEPCHAIN_DBGDEFAULTDEPS = "1"