mtd: Allow to select the host variant
authorEzequiel García <ezequiel@vanguardiasur.com.ar>
Tue, 28 Jan 2014 11:39:21 +0000 (08:39 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 2 Feb 2014 22:02:19 +0000 (23:02 +0100)
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.

[Peter: fix include order]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in.host
package/mtd/Config.in.host [new file with mode: 0644]

index 34e84bf340c5b6deb76d895fcbc8d3c6a043dbd1..685a8b868404fe7e41c2f8241e0e8d720bfda38b 100644 (file)
@@ -7,6 +7,7 @@ source "package/genext2fs/Config.in.host"
 source "package/genimage/Config.in.host"
 source "package/genpart/Config.in.host"
 source "package/lpc3250loader/Config.in.host"
+source "package/mtd/Config.in.host"
 source "package/mtools/Config.in.host"
 source "package/omap-u-boot-utils/Config.in.host"
 source "package/openocd/Config.in.host"
diff --git a/package/mtd/Config.in.host b/package/mtd/Config.in.host
new file mode 100644 (file)
index 0000000..3752266
--- /dev/null
@@ -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/