patman: Detect missing tools and report them
authorSimon Glass <sjg@chromium.org>
Fri, 14 Sep 2018 10:57:25 +0000 (04:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Sep 2018 17:09:01 +0000 (11:09 -0600)
commit04187a845c86215da0e3ad680cdcf2fc7515b99a
tree87601182b585a6df18c8910a7cc3be87cef7991c
parent6ed45ba0a831393ab6c5d3355384238d2b4f47da
patman: Detect missing tools and report them

When tools are needed but not present, at present we just get an error
which can be confusing for the user. Try to be helpful by reporting the
tool as missing and suggesting a possible remedy.

Also update the Run() method to support this.

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