[PATCH] tools: image-host: print error messages to stderr

Simon Glass sjg at chromium.org
Fri Aug 18 05:10:03 CEST 2023


On Thu, 17 Aug 2023 at 09:36, Oleksandr Suvorov <
oleksandr.suvorov at foundries.io> wrote:
>
> The make by default cuts off the stdout output from external tools,
> so all error messages from the image-host are not shown in a make
> output. Besides that, it is a common approach to use stderr stream
> for error messages.
> Use stderr for all error messages in image-host.
>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> ---
>
>  tools/image-host.c | 202 ++++++++++++++++++++++++---------------------
>  1 file changed, 107 insertions(+), 95 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list