tools: moveconfig: Add a new --git-ref option
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 10 Jun 2016 19:53:32 +0000 (14:53 -0500)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 12 Jun 2016 22:46:29 +0000 (07:46 +0900)
commit6b96c1a1ca9e86e0f377f18dc470d054c4509c8a
tree9f8a70e1a49145fd7803301a4f01aa2cda0d430a
parent06cc1d36d0e5ae4954f60bce78f6ac2117c3b357
tools: moveconfig: Add a new --git-ref option

This option allows the 'make autoconf.mk' step to run against a former
repo state, while the savedefconfig step runs against the current repo
state. This is convenient for the case where something in the Kconfig
has changed such that the defconfig is no longer complete with the new
Kconfigs. This feature allows the .config to be built assuming those old
Kconfigs, but then savedefconfig based on the new state of the Kconfigs.

If in doubt, always specify this switch. It will always do the right
thing even if not required, but if it was required and you don't use it,
the moved configs will be incorrect. When not using this switch, you
must very carefully evaluate that all moved configs are correct.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
tools/moveconfig.py