From: Paul Eggleton Date: Thu, 30 Aug 2012 21:07:05 +0000 (+0100) Subject: classes/packagegroup: disable superfluous tasks X-Git-Tag: yocto-4.0~35706 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fde2b0db798f03cf297a0d466a9c3a444f1321f3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Saul Wold --- diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index 76a6aa5badc..e0e5b1cf652 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"