[U-Boot] [PATCH 04/11] buildman: Allow the toolchain error to be suppressed

Stephen Warren swarren at wwwdotorg.org
Thu Jul 7 20:17:06 CEST 2016


On 07/03/2016 03:14 PM, Simon Glass wrote:
> When there are no toolchains a warning is printed. But in some cases this is
> confusing, such as when the user is fetching new toolchains.
>
> Adjust the function to supress the warning in this case.

> diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py

> -    def GetPathList(self):
> +    def GetPathList(self, show_warning=True):
>           """Get a list of available toolchain paths
>
> +        Args:
> +            show_warning: True to show a warning if there are no tool chains.

I don't see the new parameter being used anywhere?


More information about the U-Boot mailing list