mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-25 18:06:06 +00:00
Fixes: #27288 The Zephyr CMake function `zephyr_code_relocate()` would treat any file argument as relative to `CMAKE_CURRENT_SOURCE_DIR` even if an absolute path is provided. A file with absolute path would thus become `${CMAKE_CURRENT_SOURCE_DIR}/<absolute-path>/<file>` which leads to a non existing file. This is fixed by checking if path argument is a relative path, and only use `CMAKE_CURRENT_SOURCE_DIR` in such case. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> |
||
---|---|---|
.. | ||
app | ||
bintools | ||
compiler | ||
emu | ||
flash | ||
ide | ||
linker | ||
makefile_exports | ||
reports | ||
toolchain | ||
usage | ||
util | ||
boards.cmake | ||
ccache.cmake | ||
cfb.cmake | ||
dts.cmake | ||
extensions.cmake | ||
extra_flags.cmake | ||
gcc-m-cpu.cmake | ||
generic_toolchain.cmake | ||
git.cmake | ||
hex.cmake | ||
host-tools.cmake | ||
kconfig.cmake | ||
kobj.cmake | ||
mcuboot.cmake | ||
pristine.cmake | ||
python.cmake | ||
target_toolchain_flags.cmake | ||
target_toolchain.cmake | ||
version.cmake | ||
west.cmake | ||
zephyr_module.cmake |