toolchain: improved toolchain abstraction for compilers and linker
Accodind to c55c64e
to update code
Signed-off-by: Jingru Wang <jingru@synopsys.com>
This commit is contained in:
parent
916dd0f6c4
commit
5f2aa0409c
|
@ -3,7 +3,8 @@
|
|||
zephyr_library()
|
||||
|
||||
if(CONFIG_COVERAGE)
|
||||
toolchain_cc_coverage()
|
||||
zephyr_compile_options($<TARGET_PROPERTY:compiler,coverage>)
|
||||
zephyr_link_libraries($<TARGET_PROPERTY:linker,coverage>)
|
||||
endif()
|
||||
|
||||
zephyr_library_sources(
|
||||
|
|
Loading…
Reference in a new issue