mirror of https://github.com/thesofproject/sof.git
cmake: fix ld script dependency
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
parent
962fb6115c
commit
573d1faa18
|
@ -117,6 +117,7 @@ function(sof_add_ld_script binary_name script_name)
|
||||||
|
|
||||||
add_custom_target("ld_script_${script_name}" DEPENDS ${lds_out})
|
add_custom_target("ld_script_${script_name}" DEPENDS ${lds_out})
|
||||||
add_dependencies(${binary_name} "ld_script_${script_name}")
|
add_dependencies(${binary_name} "ld_script_${script_name}")
|
||||||
|
set_target_properties(${binary_name} PROPERTIES LINK_DEPENDS ${lds_in})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
sof_add_ld_script(sof ${platform_ld_script})
|
sof_add_ld_script(sof ${platform_ld_script})
|
||||||
|
|
Loading…
Reference in New Issue