diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-26 13:04:58 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-07 14:26:32 +0000 |
commit | 7b76daab477264644b8c2dad78ccc9602c250251 (patch) | |
tree | a8b3eef24e834b1faa892b294c67c3f7bbe62287 | |
parent | 8bb0f7c0c59e8c5b6f7a6869b802f593739c7ece (diff) | |
download | u-boot-imx-7b76daab477264644b8c2dad78ccc9602c250251.zip u-boot-imx-7b76daab477264644b8c2dad78ccc9602c250251.tar.gz u-boot-imx-7b76daab477264644b8c2dad78ccc9602c250251.tar.bz2 |
check-config: fix wrong comment about how to build whitelist
The command suggested in this comment block is wrong; it would not
rip off CONFIG options that had already been converted to Kconfig.
Instead, we should use the scripts/build-whitelist.sh tool.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rwxr-xr-x | scripts/check-config.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/check-config.sh b/scripts/check-config.sh index 28c8fe9..6618dfb 100755 --- a/scripts/check-config.sh +++ b/scripts/check-config.sh @@ -5,13 +5,8 @@ # Check that the u-boot.cfg file provided does not introduce any new # ad-hoc CONFIG options # -# You can generate the list of current ad-hoc CONFIG options (those which are -# not in Kconfig) with this command: -# -# export LC_ALL=C LC_COLLATE=C -# git grep CONFIG_ |tr ' \t' '\n\n' |sed -n 's/^\(CONFIG_[A-Z0-9_]*\).*/\1/p' \ -# |sort |uniq >scripts/config_whitelist.txt; -# unset LC_ALL LC_COLLATE +# Use scripts/build-whitelist.sh to generate the list of current ad-hoc +# CONFIG options (those which are not in Kconfig). # Usage # check-config.sh <path to u-boot.cfg> <path to whitelist file> <source dir> |