Skip to content
Commit 13270a43 authored by Valerio Setti's avatar Valerio Setti Committed by Benjamin Cabé
Browse files

cmake: modules: dts: print error message if DTC fails



Currently stderr is printed only if dtc encounters warnings, but it's
not printed in case of errors. However this information can be useful
to quickly identify and resolve the problem.

To solve this let's add "COMMAND_ERROR_IS_FATAL ANY" to execute_process()
so that CMake will fail in case of errors and a proper message will be
printed on the output.

Signed-off-by: default avatarValerio Setti <vsetti@baylibre.com>
parent 15b0f903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment