moveconfig: Support providing a path to the defconfig files
authorSimon Glass <sjg@chromium.org>
Fri, 2 Jun 2017 01:38:58 +0000 (19:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit25f978cb1c55d2ff52db2aeaa1eacd84eec115db
tree1bed695a32b451810bd78309d54fd8505a2e5480
parent69aaec0bca6a0283d21453e1b18e407a9f20b69a
moveconfig: Support providing a path to the defconfig files

It is convenient to provide the full patch to the defconfig files in some
situations, e.g. when the file was generated by a shell command (e.g.
'ls configs/zynq*').

Add support for this, and move the globbing code into a function with its
own documentation.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/moveconfig.py