cmake: remove platform / build file specific escaping
Fixes: #41435 Remove build host specific escaping of start symbol command argument. The start symbol for armlink is: Image$$device$$Base and were escaped as: Image\\$$\\$$device\\$$\\$$Base However, the $ must only be escaped in Linux and MacOS, not on windows hosts. Instead of escaping the start symbol in the CMake code then it is better to use the VERBATIM flag on `add_custom_command()` which ensures correct escaping for the build host. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
a03e7df9f5
commit
6d72d915f9
2 changed files with 2 additions and 8 deletions
|
@ -802,6 +802,7 @@ if(CONFIG_HAS_DTS)
|
|||
--kernel $<TARGET_FILE:${ZEPHYR_LINK_STAGE_EXECUTABLE}>
|
||||
--zephyr-base ${ZEPHYR_BASE}
|
||||
--start-symbol "$<TARGET_PROPERTY:linker,devices_start_symbol>"
|
||||
VERBATIM
|
||||
DEPENDS ${ZEPHYR_LINK_STAGE_EXECUTABLE}
|
||||
)
|
||||
set_property(GLOBAL APPEND PROPERTY GENERATED_APP_SOURCE_FILES dev_handles.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue