aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2020-07-05 06:44:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-08 10:37:07 +0100
commit1243aad78601e9a5c0a3471c8a105c429536599d (patch)
tree19aed91e97e98b165c14709aa17411ed8e12f727
parentf52ce0fa98bf3bd72df7467031001f3128c145f2 (diff)
downloadopenembedded-core-contrib-1243aad78601e9a5c0a3471c8a105c429536599d.tar.gz
openembedded-core-contrib-1243aad78601e9a5c0a3471c8a105c429536599d.tar.bz2
openembedded-core-contrib-1243aad78601e9a5c0a3471c8a105c429536599d.zip
kernel.bbclass: add gzip-native to do_deploy dependencies
When a modules tarball is created during kernel_do_deploy, the tarball is compressed using gzip, but gzip-native is not a dependency so the build host's gzip is being used for this. Using gzip-native will, by default, use pigz instead of single-threaded gzip, making this task less of a bottleneck for builds with a large modules package. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index c834aad033c..46479e245cf 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -8,7 +8,7 @@ DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-na
DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}"
PACKAGE_WRITE_DEPS += "depmodwrapper-cross"
-do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot"
+do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot gzip-native:do_populate_sysroot"
do_clean[depends] += "make-mod-scripts:do_clean"
CVE_PRODUCT ?= "linux_kernel"