cmake: mwdt bintools adopted to new toolchain abstraction
This commit converts the MWDT bintools implementation from the old macro based approach and into the new toolchain property scheme. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
93e063ffc8
commit
571f48fc77
5 changed files with 186 additions and 335 deletions
|
@ -1089,7 +1089,9 @@ if(CONFIG_OUTPUT_PRINT_MEMORY_USAGE)
|
|||
# Or fix the output name, by the use of `get_property`
|
||||
list(APPEND
|
||||
post_build_commands
|
||||
COMMAND ${memusage_build_command}
|
||||
COMMAND $<TARGET_PROPERTY:bintools,memusage_command>
|
||||
$<TARGET_PROPERTY:bintools,memusage_flag>
|
||||
$<TARGET_PROPERTY:bintools,memusage_infile>${KERNEL_ELF_NAME}
|
||||
)
|
||||
|
||||
# For now, the byproduct can only be supported upstream on byproducts name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue