tools: moveconfig: a tool to move CONFIGs from headers to defconfigs
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 20 May 2015 02:36:07 +0000 (11:36 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 26 May 2015 23:39:15 +0000 (08:39 +0900)
commit5a27c7343340411dd1019f04ab41d22b80dc02f9
tree8c0f466180ca218e562e4826822d2bd2222278d9
parent9bea236b3402a262772b66d055ec6431cbd3ba87
tools: moveconfig: a tool to move CONFIGs from headers to defconfigs

This tool was originally written for my local use to ease the task
of tons of CONFIG moves, but there have been some requests for
mainlining it.
So, I have tidied up the code with nicer comments, and here it is.

See the comment block of the script for usage.

The first draft was
http://patchwork.ozlabs.org/patch/430422/

Main updates are:
  - Adapted to the single .config configuration
  - Support colored log
  - Support moving multiple options at once
    (and take configs via input file only)
  - Continue even if some boards fail
    (Idea provided by Joe Hershberger)
  - Add more options
  - More comments and code cleanups

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
tools/moveconfig.py [new file with mode: 0755]