mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/erofs-utils: add config option for LZMA compression
* Enabled LZMA compression for host build. * Added option for LZMA support on target. Signed-off-by: Jan Čermák <sairon@sairon.cz> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
f5f3d8ca00
commit
d889031e0b
@@ -15,6 +15,12 @@ config BR2_PACKAGE_EROFS_UTILS_LZ4
|
||||
help
|
||||
Support LZ4 compression algorithm
|
||||
|
||||
config BR2_PACKAGE_EROFS_UTILS_LZMA
|
||||
bool "lzma support"
|
||||
select BR2_PACKAGE_XZ
|
||||
help
|
||||
Support LZMA compression algorithm
|
||||
|
||||
config BR2_PACKAGE_EROFS_UTILS_EROFSFUSE
|
||||
bool "erofsfuse support"
|
||||
depends on BR2_USE_MMU # libfuse
|
||||
|
||||
@@ -21,6 +21,13 @@ else
|
||||
EROFS_UTILS_CONF_OPTS += --disable-lz4
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EROFS_UTILS_LZMA),y)
|
||||
EROFS_UTILS_DEPENDENCIES += xz
|
||||
EROFS_UTILS_CONF_OPTS += --enable-lzma
|
||||
else
|
||||
EROFS_UTILS_CONF_OPTS += --disable-lzma
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||
EROFS_UTILS_CONF_OPTS += --with-selinux
|
||||
EROFS_UTILS_DEPENDENCIES += libselinux
|
||||
@@ -35,8 +42,8 @@ else
|
||||
EROFS_UTILS_CONF_OPTS += --disable-fuse
|
||||
endif
|
||||
|
||||
HOST_EROFS_UTILS_DEPENDENCIES = host-pkgconf host-util-linux host-lz4
|
||||
HOST_EROFS_UTILS_CONF_OPTS += --enable-lz4 --disable-fuse --without-selinux
|
||||
HOST_EROFS_UTILS_DEPENDENCIES = host-pkgconf host-util-linux host-lz4 host-xz
|
||||
HOST_EROFS_UTILS_CONF_OPTS += --enable-lz4 --enable-lzma --disable-fuse --without-selinux
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user