@@ -25,6 +25,10 @@ CVE_PRODUCT = "zstandard"
PACKAGECONFIG ??= ""
PACKAGECONFIG[lz4] = "HAVE_LZ4=1,HAVE_LZ4=0,lz4"
PACKAGECONFIG[lzma] = "HAVE_LZMA=1,HAVE_LZMA=0,xz"
+PACKAGECONFIG[nobench] = "ZSTD_NOBENCH=1,ZSTD_NOBENCH=0"
+PACKAGECONFIG[nocompress] = "ZSTD_NOCOMPRESS=1,ZSTD_NOCOMPRESS=0,,,,nodecompress"
+PACKAGECONFIG[nodecompress] = "ZSTD_NODECOMPRESS=1,ZSTD_NODECOMPRESS=0,,,,nocompress"
+PACKAGECONFIG[nodict] = "ZSTD_NODICT=1,ZSTD_NODICT=0"
PACKAGECONFIG[zlib] = "HAVE_ZLIB=1,HAVE_ZLIB=0,zlib"
# See programs/README.md for how to use this
Add PACKAGECONFIG knobs matching zstd's configuration knobs: - nobench disables the integrated benchmark module, which produces a smaller binary - nocompress makes zstd compiled without compress support - nodecompress makes zstd compiled without decompress support - nodict compiles zstd without support for the integrated dictionary builder, which produces a smaller binary Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- meta/recipes-extended/zstd/zstd_1.6.0.bb | 4 ++++ 1 file changed, 4 insertions(+)