diff mbox

[2/2] mtd: Allow to select the host variant

Message ID 1390909161-2496-2-git-send-email-ezequiel@vanguardiasur.com.ar
State Accepted
Headers show

Commit Message

Ezequiel Garcia Jan. 28, 2014, 11:39 a.m. UTC
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.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
---
 package/Config.in.host     | 1 +
 package/mtd/Config.in.host | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 package/mtd/Config.in.host

Comments

Thomas De Schampheleire Jan. 28, 2014, 12:26 p.m. UTC | #1
On Tue, Jan 28, 2014 at 12:39 PM, Ezequiel Garcia
<ezequiel@vanguardiasur.com.ar> wrote:
> 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.
>
> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
> ---
>  package/Config.in.host     | 1 +
>  package/mtd/Config.in.host | 6 ++++++
>  2 files changed, 7 insertions(+)
>  create mode 100644 package/mtd/Config.in.host
>
> diff --git a/package/Config.in.host b/package/Config.in.host
> index 34e84bf..f2fe2c2 100644
> --- a/package/Config.in.host
> +++ b/package/Config.in.host
> @@ -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:
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Ezequiel Garcia Jan. 28, 2014, 1:53 p.m. UTC | #2
On 28 January 2014 09:26, Thomas De Schampheleire
<patrickdepinguin@gmail.com> wrote:
> On Tue, Jan 28, 2014 at 12:39 PM, Ezequiel Garcia
> <ezequiel@vanguardiasur.com.ar> wrote:
>> 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.
>>
>> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
>> ---
>>  package/Config.in.host     | 1 +
>>  package/mtd/Config.in.host | 6 ++++++
>>  2 files changed, 7 insertions(+)
>>  create mode 100644 package/mtd/Config.in.host
>>
>> diff --git a/package/Config.in.host b/package/Config.in.host
>> index 34e84bf..f2fe2c2 100644
>> --- a/package/Config.in.host
>> +++ b/package/Config.in.host
>> @@ -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?

> [..]
>
> Other than this one comment:
> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

Thanks,
diff mbox

Patch

diff --git a/package/Config.in.host b/package/Config.in.host
index 34e84bf..f2fe2c2 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -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"
diff --git a/package/mtd/Config.in.host b/package/mtd/Config.in.host
new file mode 100644
index 0000000..3752266
--- /dev/null
+++ b/package/mtd/Config.in.host
@@ -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/