zstd: add libzstd support
authorPeter Seiderer <ps.report@gmx.net>
Mon, 16 Apr 2018 19:39:52 +0000 (21:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 25 Apr 2018 21:46:55 +0000 (23:46 +0200)
commit1e7fbf007ca316ea55c2466a69de93a7926f755e
treeaf65243537fccb26db27b1394cb75ff11c725682
parent124a149b7d139b07ca97c2c080bf7b48b3974e39
zstd: add libzstd support

Add patch to split libzstd install target into pc, static, shared and
includes target. Call only the needed ones for the buildroot
staging/target install steps (respect the static/shared
configuration).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: as suggested by Yann E. Morin, refactor the build/install
commands to use only one invocation, with intermediate ZSTD_BUILD_LIBS
and ZSTD_INSTALL_LIBS variables, defined depending on whether
static/shared/static+shared is selected.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/zstd/0001-Split-library-install-target-into-pc-static-shared-a.patch [new file with mode: 0644]
package/zstd/zstd.mk