btrfs-progs: bump to version 4.0.1
[buildroot-gz.git] / package / btrfs-progs / btrfs-progs.mk
blobd111352c79b544d64248899f5165480fb8156568
1 ################################################################################
3 # btrfs-progs
5 ################################################################################
7 BTRFS_PROGS_VERSION = 4.0.1
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 acl attr e2fsprogs lzo util-linux zlib
11 BTRFS_PROGS_CONF_OPTS = --disable-backtrace
12 BTRFS_PROGS_LICENSE = GPLv2
13 BTRFS_PROGS_LICENSE_FILES = COPYING
15 # Doesn't autodetect static-only and tries to build both
16 ifeq ($(BR2_STATIC_LIBS),y)
17 BTRFS_PROGS_MAKE_OPTS = static
18 BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
19 endif
21 $(eval $(autotools-package))