]> git.baikalelectronics.ru Git - uboot.git/commit
moveconfig: Support looking for implied CONFIG options
authorSimon Glass <sjg@chromium.org>
Fri, 2 Jun 2017 01:39:03 +0000 (19:39 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit4bab204641675b06d7ab92344bb68b2024edbcdf
treeb7b6ca7a92f099afb04d8e75da2352506b7e54cb
parent70bc657f19c6721f9ab4b703ba09c9cab22a4199
moveconfig: Support looking for implied CONFIG options

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>
Reviewed-by: Heiko Schocher <hs@denx.de>
tools/moveconfig.py