btrfs-progs: add support for zstd

This allows BTRFS encryption using zstd. Using zstd can increase
performance.

This change increases size of btrfs-progs only by 4K. The real effect on
size is only size of libzstd which is around 500K. This should be fine
on system requiring BTRFS so no variant without zstd was added.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
This commit is contained in:
Karel Kočí 2019-04-01 07:42:18 +02:00
parent 40e289c596
commit 3e8d3cdce4
No known key found for this signature in database
GPG Key ID: D83BD732AC2BD828
1 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=btrfs-progs
PKG_VERSION:=4.20.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/kdave/btrfs-progs
@ -28,7 +28,7 @@ define Package/btrfs-progs
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Filesystem
DEPENDS:=+libattr +libuuid +zlib +libblkid +liblzo +libpthread
DEPENDS:=+libattr +libuuid +zlib +zstd +libblkid +liblzo +libpthread
TITLE:=Btrfs filesystems utilities
URL:=https://btrfs.wiki.kernel.org/
endef
@ -52,8 +52,7 @@ CONFIGURE_ARGS += \
--disable-backtrace \
--disable-convert \
--disable-documentation \
--disable-python \
--disable-zstd
--disable-python
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib