Hi Bertrand,
On 20/05/2022 11:49, Bertrand Marquis wrote:
If cppcheck is not present, the following warning appears during build:
which: no cppcheck in ([...])
/bin/sh: cppcheck: command not found
Fix this by hiding the error output from which and only try to execute
cppcheck --version if we have a cppcheck.
Reported-by: Julien Grall <jul...@xen.org>
Signed-off-by: Bertrand Marquis <bertrand.marq...@arm.com>
This solves the warning so:
Acked-by: Julien Grall <jgr...@amazon.com>
In the long term, I think using what Jan suggested would be better.
Cheers,
--
Julien Grall