[Buildroot] [git commit] mtd: be explicit about config options for the host

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Nov 24 20:37:18 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=0d2e7522ed18a1bd06aa9bd22c46e71d90bcf0bd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Instead of letting auto-detection do its job, be explicit about the
fact that we want the JFFS2 and UBIFS utilities when building the host
variant of mtd.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/mtd/mtd.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index a69ef40..7094aad 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -45,7 +45,10 @@ MTD_CONF_OPTS += --without-xattr
 endif
 
 HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-util-linux
-HOST_MTD_CONF_OPTS = --disable-tests
+HOST_MTD_CONF_OPTS = \
+	--with-jffs \
+	--with-ubifs \
+	--disable-tests
 
 MKFS_JFFS2 = $(HOST_DIR)/sbin/mkfs.jffs2
 SUMTOOL = $(HOST_DIR)/sbin/sumtool


More information about the buildroot mailing list