Skip to content
Commit c35d024b authored by Manuel Argüelles's avatar Manuel Argüelles Committed by Martí Bolívar
Browse files

west: core: add search path argument to require()



Allow the runners to override the default search path, e.g. when
provided through command line. The default is to search for the program
binary on the system PATH.

This is useful when the runner allows to optionally override the search
path of the tool, in the case there are multiple versions or
installations, and not necessarily the tools path are present in the
system PATH environment variable. For example:
`tool = self.require(tool_name, path=args.tool_path_override)`

Signed-off-by: default avatarManuel Argüelles <manuel.arguelles@nxp.com>
parent 467ce894
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment