diff options
Diffstat (limited to 'zephyr/cmake/linker/lld/linker_flags.cmake')
-rw-r--r-- | zephyr/cmake/linker/lld/linker_flags.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zephyr/cmake/linker/lld/linker_flags.cmake b/zephyr/cmake/linker/lld/linker_flags.cmake index c1a4379e27..5055e4c5a4 100644 --- a/zephyr/cmake/linker/lld/linker_flags.cmake +++ b/zephyr/cmake/linker/lld/linker_flags.cmake @@ -4,5 +4,6 @@ # Include definitions for bfd as a base. include("${ZEPHYR_BASE}/cmake/linker/ld/linker_flags.cmake") - -set_property(TARGET linker PROPERTY coverage --coverage) +# ld/linker_flags.cmake includes ${LINKER}/${COMPILER}/linker_flags.cmake but +# that doesn't exist for ldd, so import the path that actually exists. +include("${ZEPHYR_BASE}/cmake/linker/ld/${COMPILER}/linker_flags.cmake" OPTIONAL) |