aboutsummaryrefslogtreecommitdiff
path: root/package/btrfs-progs
diff options
context:
space:
mode:
authorGravatar Robert J. Heywood <robert.heywood@codethink.co.uk>2018-08-21 17:04:11 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-21 23:22:11 +0200
commited69859a7261ee86e71aa666d30a28e374769e15 (patch)
tree0829def6ed5f0adfd0ee7e64d5c227f31fe01d44 /package/btrfs-progs
parenta0e26eaa51c4119ca66a376a8ff7ca8f0d0392eb (diff)
downloadbuildroot-ed69859a7261ee86e71aa666d30a28e374769e15.tar.gz
buildroot-ed69859a7261ee86e71aa666d30a28e374769e15.tar.bz2
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>
Diffstat (limited to 'package/btrfs-progs')
-rw-r--r--package/btrfs-progs/Config.in.host6
-rw-r--r--package/btrfs-progs/btrfs-progs.mk4
2 files changed, 10 insertions, 0 deletions
diff --git a/package/btrfs-progs/Config.in.host b/package/btrfs-progs/Config.in.host
new file mode 100644
index 0000000000..cdcd2e4ec4
--- /dev/null
+++ b/package/btrfs-progs/Config.in.host
@@ -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
diff --git a/package/btrfs-progs/btrfs-progs.mk b/package/btrfs-progs/btrfs-progs.mk
index b4cc839352..3129ecc714 100644
--- a/package/btrfs-progs/btrfs-progs.mk
+++ b/package/btrfs-progs/btrfs-progs.mk
@@ -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))