[U-Boot] [PATCH v2 6/6] moveconfig: Support looking for implied CONFIG options
sjg at google.com
sjg at google.com
Thu Jun 15 19:21:21 UTC 2017
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 at chromium.org>
Reviewed-by: Heiko Schocher <hs at denx.de>
---
Changes in v2:
- Update cover letter to express future hopes
tools/moveconfig.py | 215 +++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 214 insertions(+), 1 deletion(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list