mirror of https://github.com/thesofproject/sof.git
cmake: .x generation simplified
Now runs with cmake for Windows. Could not spawn the process reading from the pipe with the cmake's path formatting. Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
This commit is contained in:
parent
c098d091ea
commit
8fe363041b
|
@ -107,7 +107,7 @@ function(sof_add_ld_script binary_name script_name)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
add_custom_command(OUTPUT ${lds_out}
|
add_custom_command(OUTPUT ${lds_out}
|
||||||
COMMAND cat ${lds_in} | ${CMAKE_C_COMPILER} -E -P ${iflags} - > ${lds_out}
|
COMMAND ${CMAKE_C_COMPILER} -E -P ${iflags} - < ${lds_in} > ${lds_out}
|
||||||
DEPENDS ${lds_in} ${LINK_DEPS} genconfig
|
DEPENDS ${lds_in} ${LINK_DEPS} genconfig
|
||||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
|
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
|
||||||
COMMENT "Generating linker script: ${lds_out}"
|
COMMENT "Generating linker script: ${lds_out}"
|
||||||
|
|
Loading…
Reference in New Issue