btrfs-progs: add host package variant

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>
2018.11.x
Robert J. Heywood 2018-08-21 17:04:11 +01:00 committed by Thomas Petazzoni
parent a0e26eaa51
commit ed69859a72
3 changed files with 11 additions and 0 deletions

View File

@ -2,6 +2,7 @@ menu "Host utilities"
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"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_HOST_BTRFS_PROGS
bool "host btrfs-progs"
help
Btrfs filesystem utilities
https://btrfs.wiki.kernel.org/index.php/Main_Page

View File

@ -21,4 +21,8 @@ BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
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))