mirror of https://github.com/thesofproject/sof.git
xtensa/cmake: fix !CONFIG_TRACE
Looks like no one ever !CONFIG_TRACE Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
964b7afa74
commit
571cc290a4
|
@ -177,7 +177,9 @@ LDICTS := ${UNSIGNED_list:%=${STAGING_SOF_VERSION}/sof-%.ldc} \
|
|||
ldicts: ${LDICTS}
|
||||
${LDICTS}: ${STAGING_SOF_VERSION}/sof-%.ldc: \
|
||||
${BUILDS_ROOT}/build_%_${TOOLCHAIN}/sof.ri
|
||||
install ${INSTALL_OPTS} ${BUILDS_ROOT}/build_$*_${TOOLCHAIN}/sof.ldc $@
|
||||
if test -e ${BUILDS_ROOT}/build_$*_${TOOLCHAIN}/sof.ldc; then \
|
||||
install ${INSTALL_OPTS} ${BUILDS_ROOT}/build_$*_${TOOLCHAIN}/sof.ldc $@ ; \
|
||||
else printf '# CONFIG_TRACE was disabled\n' > $@; fi
|
||||
|
||||
|
||||
#######################################
|
||||
|
|
|
@ -519,9 +519,6 @@ if(MEU_NO_SIGN)
|
|||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ri.met ${PROJECT_BINARY_DIR}/sof-${fw_output_name}.ri.met
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ri.uns ${PROJECT_BINARY_DIR}/sof.ri.uns
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ri.met ${PROJECT_BINARY_DIR}/sof.ri.met
|
||||
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ldc ${PROJECT_BINARY_DIR}/sof-${fw_output_name}.ldc
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ldc ${PROJECT_BINARY_DIR}/sof.ldc
|
||||
DEPENDS run_meu bin_extras glue_binary_files
|
||||
VERBATIM
|
||||
USES_TERMINAL
|
||||
|
@ -531,15 +528,23 @@ else()
|
|||
bin ALL
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ri ${PROJECT_BINARY_DIR}/sof-${fw_output_name}.ri
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ri ${PROJECT_BINARY_DIR}/sof.ri
|
||||
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ldc ${PROJECT_BINARY_DIR}/sof-${fw_output_name}.ldc
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ldc ${PROJECT_BINARY_DIR}/sof.ldc
|
||||
DEPENDS run_meu bin_extras glue_binary_files
|
||||
VERBATIM
|
||||
USES_TERMINAL
|
||||
)
|
||||
endif()
|
||||
|
||||
if(CONFIG_TRACE)
|
||||
add_custom_target(copy_dictionaries
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ldc ${PROJECT_BINARY_DIR}/sof-${fw_output_name}.ldc
|
||||
COMMAND ${CMAKE_COMMAND} -E copy sof-${fw_name}.ldc ${PROJECT_BINARY_DIR}/sof.ldc
|
||||
DEPENDS run_smex
|
||||
VERBATIM
|
||||
USES_TERMINAL
|
||||
)
|
||||
add_dependencies(bin copy_dictionaries)
|
||||
endif()
|
||||
|
||||
install(
|
||||
FILES ${PROJECT_BINARY_DIR}/sof-${fw_output_name}.ri
|
||||
${PROJECT_BINARY_DIR}/sof-${fw_output_name}.ldc
|
||||
|
|
Loading…
Reference in New Issue