]> code.ossystems Code Review - openembedded-core.git/commitdiff
zstd: Include pzstd in the build
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Jul 2021 08:23:32 +0000 (09:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Jul 2021 17:57:29 +0000 (18:57 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/zstd/zstd_1.5.0.bb

index 806edb63c394dbafda07a7723a57da6cb0572a59..3786058731dd8dfc588c790d95572c7b3d24fd67 100644 (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"