mtd: be explicit about config options for the host
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Sep 2017 13:19:05 +0000 (15:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Nov 2017 20:37:18 +0000 (21:37 +0100)
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@free-electrons.com>
package/mtd/mtd.mk

index a69ef4082e984a372fa384d173e3f82d635c89f4..7094aad89e00a66a2c4631c4f178594ed5cf3c13 100644 (file)
@@ -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