zstd: Include pzstd in the build

We don't currently build the parallel version of zstd but we should. Add
this to the build. It will then be used in buildtools-tarball.

(From OE-Core rev: a2c85d3cac2a6c4cd8e961e915e9567ef2fc2c0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2021-07-20 09:23:32 +01:00
parent 8410987884
commit 6d1eec4512

View File

@@ -29,10 +29,12 @@ ZSTD_LEGACY_SUPPORT ??= "4"
do_compile () {
oe_runmake ${PACKAGECONFIG_CONFARGS} ZSTD_LEGACY_SUPPORT=${ZSTD_LEGACY_SUPPORT}
oe_runmake ${PACKAGECONFIG_CONFARGS} ZSTD_LEGACY_SUPPORT=${ZSTD_LEGACY_SUPPORT} -C contrib/pzstd
}
do_install () {
oe_runmake install 'DESTDIR=${D}'
oe_runmake install 'DESTDIR=${D}' PREFIX=${prefix} -C contrib/pzstd
}
BBCLASSEXTEND = "native nativesdk"