Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
21693 commits behind the upstream repository.
  • Joe Hershberger's avatar
    7740f653
    moveconfig: Ignore duplicate configs when moving · 7740f653
    Joe Hershberger authored
    
    When moving configs, it is important to know what was defined in the
    config header even if it duplicates the configs coming from Kconfig.
    
    This is specifically needed for the case where a config is set to
    default 'y' in the Kconfig. This would previously cause the actual value
    from the include config to be filtered out, and moveconfig.py would
    think that it was 'n'... This means that the value that should be 'y'
    is now (in every defconfig) set to 'not set'.
    
    tools/moveconfig.py now defines KCONFIG_IGNORE_DUPLICATES to prevent the
    filtering from happening and selecting wrong values for the defconfig.
    
    Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
    Acked-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    7740f653
    History
    moveconfig: Ignore duplicate configs when moving
    Joe Hershberger authored
    
    When moving configs, it is important to know what was defined in the
    config header even if it duplicates the configs coming from Kconfig.
    
    This is specifically needed for the case where a config is set to
    default 'y' in the Kconfig. This would previously cause the actual value
    from the include config to be filtered out, and moveconfig.py would
    think that it was 'n'... This means that the value that should be 'y'
    is now (in every defconfig) set to 'not set'.
    
    tools/moveconfig.py now defines KCONFIG_IGNORE_DUPLICATES to prevent the
    filtering from happening and selecting wrong values for the defconfig.
    
    Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
    Acked-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
moveconfig.py 28.36 KiB