summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-30 22:07:05 +0100
committerSaul Wold <sgw@linux.intel.com>2012-09-03 22:52:52 -0700
commitfde2b0db798f03cf297a0d466a9c3a444f1321f3 (patch)
treee5c33450c798ea7d734316402976041bec4a4faa
parent0df5b9e4c4fdc1eef37d0203013f1e04939bf12e (diff)
downloadopenembedded-core-fde2b0db798f03cf297a0d466a9c3a444f1321f3.tar.gz
openembedded-core-fde2b0db798f03cf297a0d466a9c3a444f1321f3.tar.bz2
openembedded-core-fde2b0db798f03cf297a0d466a9c3a444f1321f3.zip
classes/packagegroup: disable superfluous tasks
Disable tasks other than do_package* (similar to how image.bbclass disables everything except do_rootfs). This saves a little time as well as neatly avoiding the LIC_FILES_CHKSUM verification within do_configure which is not needed for package groups. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/packagegroup.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass
index 76a6aa5bad..e0e5b1cf65 100644
--- a/meta/classes/packagegroup.bbclass
+++ b/meta/classes/packagegroup.bbclass
@@ -33,3 +33,12 @@ python () {
# We don't want to look at shared library dependencies for the
# dbg packages
DEPCHAIN_DBGDEFAULTDEPS = "1"
+
+# We only need the packaging tasks - disable the rest
+do_fetch[noexec] = "1"
+do_unpack[noexec] = "1"
+do_patch[noexec] = "1"
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+do_install[noexec] = "1"
+do_populate_sysroot[noexec] = "1"