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>
This commit is contained in:
parent
a0e26eaa51
commit
ed69859a72
@ -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"
|
||||
|
6
package/btrfs-progs/Config.in.host
Normal file
6
package/btrfs-progs/Config.in.host
Normal 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
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user