mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 13:41:56 +00:00
First abstraction completed for the toolchains: - gcc - clang Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
9 lines
363 B
CMake
9 lines
363 B
CMake
check_set_linker_property(TARGET linker PROPERTY memusage "${LINKERFLAGPREFIX},--print-memory-usage")
|
|
|
|
# Some linker flags might not be purely ld specific, but a combination of
|
|
# linker and compiler, such as:
|
|
# --coverage for clang
|
|
# --gcov for gcc
|
|
# So load those flags now.
|
|
include(${ZEPHYR_BASE}/cmake/linker/${LINKER}/${COMPILER}/linker_flags.cmake OPTIONAL)
|