]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
kmod: expand compression PACKAGECONFIGs
authorRoss Burton <ross@burtonini.com>
Mon, 20 Dec 2021 18:26:35 +0000 (18:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Dec 2021 12:01:03 +0000 (12:01 +0000)
Turn the explicitly enabled zlib support into an enabled by default
PACKAGECONFIG, and add Zstd support (disabled by default).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kmod/kmod_29.bb

index 904a17d9d028e7a42530064de51e49db59dd9ad8..9ac5214df6104b63040db9a8f3783c1986a21f07 100644 (file)
@@ -24,17 +24,19 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git;branch=master
 
 S = "${WORKDIR}/git"
 
-EXTRA_OECONF += "--enable-tools --with-zlib"
+EXTRA_OECONF += "--enable-tools"
 
+PACKAGECONFIG ??= "zlib"
 PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
 PACKAGECONFIG[logging] = " --enable-logging,--disable-logging"
 PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
-PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
 PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
+PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
+PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
+PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
 
 GTKDOC_DOCDIR = "${S}/libkmod/docs"
 
-DEPENDS += "zlib"
 PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
 RPROVIDES:${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
 RCONFLICTS:${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"