cmake: show DTS name in error message

Signed-off-by: Axel Heider <axelheider@gmx.de>
This commit is contained in:
Axel Heider
2023-11-23 14:07:38 +01:00
committed by Indan Zupancic
parent b59fa0ed20
commit 94c5a0b53a

View File

@@ -164,7 +164,7 @@ if(DEFINED KernelDTSList AND (NOT "${KernelDTSList}" STREQUAL ""))
RESULT_VARIABLE error RESULT_VARIABLE error
) )
if(error) if(error)
message(FATAL_ERROR "Failed to compile DTS to DTB: ${KernelDTBPath}") message(FATAL_ERROR "Failed to compile DTS to DTB: ${KernelDTSIntermediate}")
endif() endif()
# The macOS and GNU coreutils `stat` utilities have different interfaces. # The macOS and GNU coreutils `stat` utilities have different interfaces.
# Check if we're using the macOS version, otherwise assume GNU coreutils. # Check if we're using the macOS version, otherwise assume GNU coreutils.