]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
opkg: add option for zstd support
authorEtienne Cordonnier <ecordonnier@snap.com>
Wed, 14 Sep 2022 09:59:45 +0000 (11:59 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 17 Sep 2022 06:45:19 +0000 (07:45 +0100)
This allows the use of zstd for opkg packages by using OPKGBUILDCMD:
OPKGBUILDCMD = "opkg-build -Z zstd"

Signed-off-by: Alex Feinman <afeinman@snap.com>
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg_0.6.0.bb

index 7b351e81231df48b2c493542a00d95911606248f..4cd589cd29e4ec1a05b7a64a7b1d785128ed7cbf 100644 (file)
@@ -39,6 +39,7 @@ PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\
 PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
 PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl"
 PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256"
+PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
 PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv"
 
 EXTRA_OECONF:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"