]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:46:06 +0000 (22:46 +0200)
commit840291f4dd3ce86d2416094492d7ef11765a6b3d
tree4cf536ff728da1bf96f2c5aa587dfeb527a5e5f9
parent17104e8718a10c9a6dab59ed0ec0ad354a2e3639
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]