commit | 835b0e960177045ac3aba0f75058c089f7623275 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jan 09 20:13:43 2022 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jan 25 12:36:11 2022 -0700 |
tree | 70fd7fcf19b7dc6e9e2f23118af3ad22aa73f2cb | |
parent | 9158060a342c90e07cf36cfd9b8e684209f8e5a6 [diff] |
patman: Add a function to find a tool on the path The Run() function automatically uses the PATH variable to locate a tool when running it. Add a function that does this manually, so we don't have to run a tool to find out if it is present. This is needed by the new Bintool class, which wants to check which tools are present. Signed-off-by: Simon Glass <sjg@chromium.org>