d19d0e776d
Changelog: https://btrfs.wiki.kernel.org/index.php/Changelog#By_version_.28btrfs-progs.29 Removed patches applied upstream: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=9a03f6d41f8e6b3312dc0c87563d8dbd10eafafe https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=4b3e22e988c26c6c814f9ad3f50f493cd4d9dd2a Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
43 lines
1.5 KiB
Makefile
43 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# btrfs-progs
|
|
#
|
|
################################################################################
|
|
|
|
BTRFS_PROGS_VERSION = 5.6
|
|
BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
|
|
BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
|
|
BTRFS_PROGS_DEPENDENCIES = host-pkgconf lzo util-linux zlib
|
|
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
|
|
BTRFS_PROGS_INSTALL_STAGING = YES
|
|
|
|
# Doesn't autodetect static-only and tries to build both
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
BTRFS_PROGS_MAKE_OPTS = static
|
|
BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
|
|
BTRFS_PROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
|
|
endif
|
|
|
|
# convert also supports conversion from reiserfs, which needs some
|
|
# reiserfs libraries, but we have no package for them in Buildroot, so
|
|
# we keep things simple and only handle ext2.
|
|
ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
|
|
BTRFS_PROGS_CONF_OPTS += --enable-convert --with-convert=ext2
|
|
BTRFS_PROGS_DEPENDENCIES += e2fsprogs
|
|
else
|
|
BTRFS_PROGS_CONF_OPTS += --disable-convert
|
|
endif
|
|
|
|
HOST_BTRFS_PROGS_DEPENDENCIES = host-util-linux host-lzo host-zlib
|
|
HOST_BTRFS_PROGS_CONF_OPTS = \
|
|
--disable-backtrace \
|
|
--disable-zstd \
|
|
--disable-python \
|
|
--disable-convert
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|