Skip to contentSkip to conversation

mtd: Add a more verbose menu text

PATCH New Ezequiel Garcia 3 participants 6 messages Jan 28, 2014 – Feb 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mtd: Add a more verbose menu text

mtd-utils also contain ubi/ubifs tools, so let's add it to the menu option. Also, add an URL to stick to the help message standard.

---
 package/mtd/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/mtd/Config.in +4 -2
index affcfe5..26f59ed 100644
@@ -1,7 +1,9 @@
 config BR2_PACKAGE_MTD
-	bool "mtd/jffs2 utilities"
+	bool "mtd, jffs2 and ubi/ubifs tools"
 	help
-	  Build mtd/jffs utilities
+	  Build mtd, jffs2 and ubi/ubifs tools
+
+	  http://www.linux-mtd.infradead.org/
 
 if BR2_PACKAGE_MTD
 comment "MTD tools selection"
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/2 mtd: Allow to select the host variant

If any of the post-image scripts wants to create mtd/ubi images, we need to expose an option for mtd-tools to be user-selectable.

---
 package/Config.in.host     | 1 +
 package/mtd/Config.in.host | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 package/mtd/Config.in.host
package/Config.in.host +1 -0
index 34e84bf..f2fe2c2 100644
@@ -8,6 +8,7 @@ source "package/genimage/Config.in.host"
 source "package/genpart/Config.in.host"
 source "package/lpc3250loader/Config.in.host"
 source "package/mtools/Config.in.host"
+source "package/mtd/Config.in.host"
 source "package/omap-u-boot-utils/Config.in.host"
 source "package/openocd/Config.in.host"
 source "package/parted/Config.in.host"
package/mtd/Config.in.host new file +6 -0
new file mode 100644
index 0000000..3752266
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_MTD
+	bool "host mtd, jffs2 and ubi/ubifs tools"
+	help
+	  Build mtd, jffs2 and ubi/ubifs tools
+
+	  http://www.linux-mtd.infradead.org/
Signature · 1 line
1.8.1.5
#2 lore raw

PATCH 2/2 mtd: Allow to select the host variant

Quoted 15 lines · Ezequiel Garcia

If any of the post-image scripts wants to create mtd/ubi images, we need to expose an option for mtd-tools to be user-selectable.

---
 package/Config.in.host     | 1 +
 package/mtd/Config.in.host | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 package/mtd/Config.in.host
package/Config.in.host +0 -0
index 34e84bf..f2fe2c2 100644

package/Config.in.host source "package/genimage/Config.in.host" · line 11

Quoted 4 lines
package/Config.in.host +1 -0
@@ -8,6 +8,7 @@ source "package/genimage/Config.in.host"
 source "package/genpart/Config.in.host"
 source "package/lpc3250loader/Config.in.host"
 source "package/mtools/Config.in.host"
+source "package/mtd/Config.in.host"

This should be above mtools.

[..]

Other than this one comment:

#3 lore raw

PATCH 2/2 mtd: Allow to select the host variant

Quoted 12 lines · Thomas De Schampheleire
Quoted 10 lines · Ezequiel Garcia

If any of the post-image scripts wants to create mtd/ubi images, we need to expose an option for mtd-tools to be user-selectable.

---
 package/Config.in.host     | 1 +
 package/mtd/Config.in.host | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 package/mtd/Config.in.host
Quoted 12 lines

package/Config.in.host source "package/genimage/Config.in.host" · line 11

Quoted 9 lines
package/Config.in.host +1 -0
index 34e84bf..f2fe2c2 100644
@@ -8,6 +8,7 @@ source "package/genimage/Config.in.host"
 source "package/genpart/Config.in.host"
 source "package/lpc3250loader/Config.in.host"
 source "package/mtools/Config.in.host"
+source "package/mtd/Config.in.host"

This should be above mtools.

Doh, yes of course. Can it be fixed when it's picked or should I send another one?

Quoted 4 lines

[..]

Other than this one comment:

Thanks,

Signature · 2 lines
Ezequiel Garc?a, VanguardiaSur
www.vanguardiasur.com.ar
#4 lore raw

PATCH 1/2 mtd: Add a more verbose menu text

In reply to Ezequiel Garcia
Quoted 13 lines · Ezequiel Garcia

mtd-utils also contain ubi/ubifs tools, so let's add it to the menu option. Also, add an URL to stick to the help message standard.

---
 package/mtd/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/mtd/Config.in +0 -0
index affcfe5..26f59ed 100644

package/mtd/Config.in line 6

Quoted 8 lines
package/mtd/Config.in +4 -2
@@ -1,7 +1,9 @@
 config BR2_PACKAGE_MTD
-       bool "mtd/jffs2 utilities"
+       bool "mtd, jffs2 and ubi/ubifs tools"
        help
-         Build mtd/jffs utilities
+         Build mtd, jffs2 and ubi/ubifs tools
+
+         http://www.linux-mtd.infradead.org/