esp32s2 riscv ulp: Make re-linking depend on linker script file

This commit is contained in:
Angus Gratton 2021-05-05 17:54:41 +10:00
parent 3ee4370578
commit 52b555e1e0

View File

@ -149,3 +149,4 @@ add_custom_target(build
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(${ULP_APP_NAME} -T${CMAKE_CURRENT_BINARY_DIR}/${ULP_LD_SCRIPT} ${EXTRA_LINKER_ARGS})
set_target_properties(${ULP_APP_NAME} PROPERTIES LINK_DEPENDS ${ULP_LD_SCRIPT})