This adds a new option to build the btrfs toolset for the host, which
can be useful to prepare a btrfs filesystem image for the target.
Signed-off-by: Robert J. Heywood <robert.heywood@codethink.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
source "package/aespipe/Config.in.host"
source "package/android-tools/Config.in.host"
+ source "package/btrfs-progs/Config.in.host"
source "package/cargo/Config.in.host"
source "package/cbootimage/Config.in.host"
source "package/checkpolicy/Config.in.host"
--- /dev/null
+config BR2_PACKAGE_HOST_BTRFS_PROGS
+ bool "host btrfs-progs"
+ help
+ Btrfs filesystem utilities
+
+ https://btrfs.wiki.kernel.org/index.php/Main_Page
BTRFS_PROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
endif
+HOST_BTRFS_PROGS_DEPENDENCIES = host-e2fsprogs host-lzo host-zlib
+HOST_BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-zstd --disable-python
+
$(eval $(autotools-package))
+$(eval $(host-autotools-package))