summaryrefslogtreecommitdiff
path: root/tools/moveconfig.py
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-05-19 13:21:22 -0500
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-27 08:39:16 +0900
commit2559cd89613e3756288e25642f89e9896083b42a (patch)
tree67cf457ae3c71cffaed0b8c46716e4ee0e0a9659 /tools/moveconfig.py
parent60727f5149acde2b596c4de3018ffa314f1b94c0 (diff)
downloadu-boot-imx-2559cd89613e3756288e25642f89e9896083b42a.zip
u-boot-imx-2559cd89613e3756288e25642f89e9896083b42a.tar.gz
u-boot-imx-2559cd89613e3756288e25642f89e9896083b42a.tar.bz2
moveconfig: Output a list of failed boards
If boards fail, output that list to a file so that it can easily be passed back into moveconfig.py using the -d option. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'tools/moveconfig.py')
-rwxr-xr-xtools/moveconfig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index b1ea706..2b2df8e 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -716,6 +716,10 @@ class Slots:
print >> sys.stderr, color_text(self.options.color,
COLOR_LIGHT_RED, line)
+ with open('moveconfig.failed', 'w') as f:
+ for board in failed_boards:
+ f.write(board + '\n')
+
def move_config(config_attrs, options):
"""Move config options to defconfig files.