Building application
west build --build-dir <build_dir> <app_source> --pristine --board demo/nrf54l15/cpuapp -- -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DEXTRA_CONF_FILE="prj_debug.conf" -DDEBUG_THREAD_INFO=On -DCONFIG_HARDWARE_REVISION=2 -Dapplication_DEBUG_THREAD_INFO=On -Dmcuboot_DEBUG_THREAD_INFO=Off

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /opt/nordic/ncs/toolchains/561dce9adf/opt/python@3.12/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
-- Cache files will be written to: /Users/<user>/Library/Caches/zephyr
-- Found west (found suitable version "1.4.0", minimum required is "0.14.0")


... build stuff removed ...


-- Configuring incomplete, errors occurred!
See also "<build_dir>/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/561dce9adf/bin/cmake -DWEST_PYTHON=/opt/nordic/ncs/toolchains/561dce9adf/opt/python@3.12/bin/python3.12 -B<build_dir> -GNinja -DBOARD=demo/nrf54l15/cpuapp -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DEXTRA_CONF_FILE=prj_debug.conf -DDEBUG_THREAD_INFO=On -DCONFIG_HARDWARE_REVISION=2 -Dapplication_DEBUG_THREAD_INFO=On -Dmcuboot_DEBUG_THREAD_INFO=Off -S<west_workspace>/zephyr/share/sysbuild -DAPP_DIR:PATH=<app_source>

 *  The terminal process terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 