cmake: fix ld script dependency

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-01-24 15:08:35 +01:00 committed by Liam Girdwood
parent 962fb6115c
commit 573d1faa18
1 changed files with 1 additions and 0 deletions

View File

@ -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})