[U-Boot] [PATCH 6/6] moveconfig: Support looking for implied CONFIG options

Simon Glass
2017-05-17T01:38:34Z

Hi Tom,

On 15 May 2017 at 06:27, Tom Rini <trini@konsulko.com> wrote:
> On Mon, May 15, 2017 at 05:47:36AM -0600, Simon Glass wrote:
>
>> Some CONFIG options can be implied by others and this can help to reduce
>> the size of the defconfig files. For example, CONFIG_X86 implies
>> CONFIG_CMD_IRQ, so we can put 'imply CMD_IRQ' under 'config X86' and
>> all x86 boards will have that option, avoiding adding CONFIG_CMD_IRQ to
>> each of the x86 defconfig files.
>>
>> Add a -i option which searches for such options.
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>
> Now that sounds pretty cool, thanks!

It is useful as a tool, although not perfect. I think it is something
we can build on though.

Regards,
Simon