tools: buildman: Honor output directory when generating boards.cfg
authorBin Meng <bmeng.cn@gmail.com>
Mon, 28 Oct 2019 14:24:59 +0000 (07:24 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 29 Oct 2019 20:17:36 +0000 (16:17 -0400)
commitbc750bca1246de09ca653141c1add7e10c04a37c
tree53248bee4a050b76b4de58cbe6c1b1f06b22a607
parentd2e680fa557539e324928838781bd38245caeb98
tools: buildman: Honor output directory when generating boards.cfg

buildman always generates boards.cfg in the U-Boot source tree.
When '-o' is given, we should generate boards.cfg to the given
output directory.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/buildman/control.py