package/nbd: add option for the trdump utility
[buildroot-gz.git] / package / btrfs-progs / btrfs-progs.mk
blob5448bef32692439eb0b0e142ca4a814e1d627a02
1 ################################################################################
3 # btrfs-progs
5 ################################################################################
7 BTRFS_PROGS_VERSION = 4.10
8 BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
9 BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
10 BTRFS_PROGS_DEPENDENCIES = host-pkgconf e2fsprogs lzo util-linux zlib
11 BTRFS_PROGS_CONF_OPTS = --disable-backtrace
12 BTRFS_PROGS_LICENSE = GPLv2
13 BTRFS_PROGS_LICENSE_FILES = COPYING
14 BTRFS_PROGS_INSTALL_STAGING = YES
16 # Doesn't autodetect static-only and tries to build both
17 ifeq ($(BR2_STATIC_LIBS),y)
18 BTRFS_PROGS_MAKE_OPTS = static
19 BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
20 BTRFS_PROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
21 endif
23 $(eval $(autotools-package))