2014-04-29 19:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# btrfs-progs
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-04-11 06:45:16 +02:00
|
|
|
BTRFS_PROGS_VERSION = 4.16
|
2015-04-29 21:17:20 +02:00
|
|
|
BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
|
2014-04-29 19:17:14 +02:00
|
|
|
BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
|
2015-07-06 09:25:24 +02:00
|
|
|
BTRFS_PROGS_DEPENDENCIES = host-pkgconf e2fsprogs lzo util-linux zlib
|
2018-04-11 06:45:16 +02:00
|
|
|
BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-zstd --disable-python
|
|
|
|
BTRFS_PROGS_LICENSE = GPL-2.0, LGPL-3.0+ (libbtrfsutil)
|
|
|
|
BTRFS_PROGS_LICENSE_FILES = COPYING libbtrfsutil/COPYING \
|
|
|
|
libbtrfsutil/COPYING.LESSER
|
2016-07-24 23:10:27 +02:00
|
|
|
BTRFS_PROGS_INSTALL_STAGING = YES
|
2014-04-29 19:17:14 +02:00
|
|
|
|
2015-03-11 20:49:28 +01:00
|
|
|
# Doesn't autodetect static-only and tries to build both
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2015-03-11 20:49:28 +01:00
|
|
|
BTRFS_PROGS_MAKE_OPTS = static
|
|
|
|
BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
|
2016-07-24 23:10:27 +02:00
|
|
|
BTRFS_PROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
|
2014-08-30 14:51:44 +02:00
|
|
|
endif
|
|
|
|
|
2015-03-11 20:49:28 +01:00
|
|
|
$(eval $(autotools-package))
|