]> git.ipfire.org Git - people/ms/u-boot.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)
commit99b66605f05e6de13f43ef1033809b648406f98e
treeb7b6ca7a92f099afb04d8e75da2352506b7e54cb
parentd73fcb12e27277d5b3e80399b4b3ec41abcd80d2
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