[Buildroot] [git commit] package/mtd: needs zstd

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Fri Aug 2 15:10:50 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=9ace1cff3314e30d6ccf20005d6f72e1e144153d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

For the target variant, zstd is an optional dependency when ubifs-tools
are enabled. For the host variant, we make it an unconditional
dependency.

Fixes:
http://autobuild.buildroot.org/results/99baf1de106f9c80a32e665263c1e4278097643d (target)
http://autobuild.buildroot.org/results/e3b96704f0b23e82999aa3d6e93233edecbecfe7 (host)

Signed-off-by: Julien BOIBESSOT <julien.boibessot at armadeus.com>
Tested-by: Markus Mayer <mmayer at broadcom.com>
[yann.morin.1998 at free.fr: fix the target variant too]
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 package/mtd/mtd.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 0de14dbcba..3477460200 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -27,6 +27,12 @@ MTD_CONF_OPTS += --with-crypto
 else
 MTD_CONF_OPTS += --without-crypto
 endif
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+MTD_DEPENDENCIES += zstd
+MTD_CONF_OPTS += --with-zstd
+else
+MTD_CONF_OPTS += --without-zstd
+endif
 else
 MTD_CONF_OPTS += --without-ubifs
 endif
@@ -46,7 +52,7 @@ else
 MTD_CONF_OPTS += --without-xattr
 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 = \
 	--with-jffs \
 	--with-ubifs \


More information about the buildroot mailing list