|
@@ -27,6 +27,12 @@ MTD_CONF_OPTS += --with-crypto
|
|
else
|
|
else
|
|
MTD_CONF_OPTS += --without-crypto
|
|
MTD_CONF_OPTS += --without-crypto
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(BR2_PACKAGE_ZSTD),y)
|
|
|
|
+MTD_DEPENDENCIES += zstd
|
|
|
|
+MTD_CONF_OPTS += --with-zstd
|
|
|
|
+else
|
|
|
|
+MTD_CONF_OPTS += --without-zstd
|
|
|
|
+endif
|
|
else
|
|
else
|
|
MTD_CONF_OPTS += --without-ubifs
|
|
MTD_CONF_OPTS += --without-ubifs
|
|
endif
|
|
endif
|
|
@@ -46,7 +52,7 @@ else
|
|
MTD_CONF_OPTS += --without-xattr
|
|
MTD_CONF_OPTS += --without-xattr
|
|
endif
|
|
endif
|
|
|
|
|
|
-HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-util-linux
|
|
|
|
|
|
+HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-util-linux host-zstd
|
|
HOST_MTD_CONF_OPTS = \
|
|
HOST_MTD_CONF_OPTS = \
|
|
--with-jffs \
|
|
--with-jffs \
|
|
--with-ubifs \
|
|
--with-ubifs \
|