summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-12-20 18:26:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-21 12:01:41 +0000
commit73cf74b4d90032afc39f39b7e3c2409d6114c36f (patch)
tree96ae03443eb9f22a634756c10f79b61a7333d7bf /meta/recipes-kernel/kmod
parentc6afe999228b642fe15fe031d7fbb2544e284db4 (diff)
downloadpoky-73cf74b4d90032afc39f39b7e3c2409d6114c36f.tar.gz
kmod: expand compression PACKAGECONFIGs
Turn the explicitly enabled zlib support into an enabled by default PACKAGECONFIG, and add Zstd support (disabled by default). (From OE-Core rev: 6dd6184f01d79ebd26347a6006f92a5b5906ee3e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kmod')
-rw-r--r--meta/recipes-kernel/kmod/kmod_29.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-kernel/kmod/kmod_29.bb b/meta/recipes-kernel/kmod/kmod_29.bb
index 904a17d9d0..9ac5214df6 100644
--- a/meta/recipes-kernel/kmod/kmod_29.bb
+++ b/meta/recipes-kernel/kmod/kmod_29.bb
@@ -24,17 +24,19 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git;branch=master
24 24
25S = "${WORKDIR}/git" 25S = "${WORKDIR}/git"
26 26
27EXTRA_OECONF += "--enable-tools --with-zlib" 27EXTRA_OECONF += "--enable-tools"
28 28
29PACKAGECONFIG ??= "zlib"
29PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" 30PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
30PACKAGECONFIG[logging] = " --enable-logging,--disable-logging" 31PACKAGECONFIG[logging] = " --enable-logging,--disable-logging"
31PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native" 32PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
32PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
33PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" 33PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
34PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
35PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
36PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
34 37
35GTKDOC_DOCDIR = "${S}/libkmod/docs" 38GTKDOC_DOCDIR = "${S}/libkmod/docs"
36 39
37DEPENDS += "zlib"
38PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools" 40PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
39RPROVIDES:${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools" 41RPROVIDES:${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
40RCONFLICTS:${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools" 42RCONFLICTS:${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"