diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-08-22 22:18:21 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-06 13:18:20 -0400 |
commit | 916224c38d2e5a582bba472b9e4b133c12862efa (patch) | |
tree | 14491de2dba832238e0c7d3b09bbaf970e67d294 /tools/.gitignore | |
parent | 09c6c06688d0042872a2eba3b19862d74d2f4a8a (diff) | |
download | u-boot-imx-916224c38d2e5a582bba472b9e4b133c12862efa.zip u-boot-imx-916224c38d2e5a582bba472b9e4b133c12862efa.tar.gz u-boot-imx-916224c38d2e5a582bba472b9e4b133c12862efa.tar.bz2 |
tools: moveconfig: warn loudly if moved option has no entry in Kconfig
Currently, the tool gives up moving an option quietly if its entry
was not found in Kconfig.
If the option is not defined in the config header in the first
place, it is no problem (as the Kconfig entry may have been hidden
by reasonable "depends on").
However, if the option is defined in the config header, the missing
Kconfig entry is a sign of possible behavior change. It is highly
recommended to manually check if the option has been moved as
expected. In this case, let's add "suspicious" in the log and
change the log color (if --color option is given) to make it stand
out.
This was suggested by Tom in [1].
[1] http://lists.denx.de/pipermail/u-boot/2016-July/261988.html
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Suggested-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/.gitignore')
0 files changed, 0 insertions, 0 deletions