summaryrefslogtreecommitdiffstats
path: root/meta
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:12 +0100
commit5e8f88570be5966d2e26d9662ba53d58f7c4e3f9 (patch)
treea4c3ed294bf983d8325bc61977b25954db08c08e /meta
parent7dbc62a672909adce316bb4a8772be0ee9b480fe (diff)
downloadpoky-5e8f88570be5966d2e26d9662ba53d58f7c4e3f9.tar.gz
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. (From OE-Core rev: 1243aad78601e9a5c0a3471c8a105c429536599d) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 c834aad033..46479e245c 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
8DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}" 8DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}"
9PACKAGE_WRITE_DEPS += "depmodwrapper-cross" 9PACKAGE_WRITE_DEPS += "depmodwrapper-cross"
10 10
11do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot" 11do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot gzip-native:do_populate_sysroot"
12do_clean[depends] += "make-mod-scripts:do_clean" 12do_clean[depends] += "make-mod-scripts:do_clean"
13 13
14CVE_PRODUCT ?= "linux_kernel" 14CVE_PRODUCT ?= "linux_kernel"