Skip to contentSkip to conversation

mtd: be explicit about config options for the host

PATCH New Thomas Petazzoni 1 participant 2 messages Sep 2, 2017 – Nov 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: be explicit about config options for the host

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.

---
 package/mtd/mtd.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/mtd/mtd.mk +4 -1
index e666bf077c..824003c691 100644
@@ -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
Signature · 1 line
2.13.5
author Applied
#1 lore raw

PATCH 1/1 mtd: be explicit about config options for the host

Hello,

Quoted 8 lines · Thomas Petazzoni

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.

---
 package/mtd/mtd.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com