commit | b48387f47a1b0d045eb1e88d8871500fc2eebcc5 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Jun 15 14:33:50 2016 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Jun 22 09:22:42 2016 +0900 |
tree | 3acb9fb5ab4dc40003ed4584235d82943ec2805d | |
parent | f99c5cb5b70bd174cbad422eca2a3e715e1a320e [diff] |
tools: moveconfig: fix needless move for config with default 1 When moving an integer type option with default value 1, the tool moves configs with the same value as the default (, and then removed by the later savedefconfig). This is a needless operation. The KconfigParser.parse_one_config() should compare the config after the "=y -> =1" fixup. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>