[U-Boot] [PATCH v2 1/2] build-whitelist: do not add new options to whitelist when update

Simon Glass sjg at chromium.org
Fri Sep 23 23:09:28 CEST 2016


On 23 September 2016 at 10:00, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> If somebody adds references to new CONFIG options in source files,
> they will be added in the whitelist when we sync it.  (For example,
> if we run scripts/build-whitelist.sh against commit 201c9d884dca,
> new options CONFIG_SPL_DFU_SUPPORT and CONFIG_USB_XHCI_UNIPHIER will
> appear in the list.)
>
> In order to make steady progress of Kconfig migration, we want to
> only decrease options in the whitelist, but never increase.
>
> So, when we update the whitelist, we should create a temporary list,
> then take the intersection of the temporary list and the current
> whitelist.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
> Changes in v2:
>   - V1 fails to create scripts/config-whitelist.txt from scratch.
>     Fix it.
>
>  scripts/build-whitelist.sh | 15 +++++++++++++--
>  1 file changed, 13 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list