zephyr/cmake
Torsten Rasmussen ad78766139 cmake: dts: getting realpath for system includes for dts.
Fixes: #28893

Now using get_filename_component(REALPATH) to ensure full path with
symlinks and `..` resolved.

Having `..` in path causes the gcc generated dependency file to contain
`\` in path on windows. This confuses ninja.
The result is that ninja consider the file missing, and thus invokes a
CMake run to create the file, resulting in endless loop.

By ensuring that full path (containing `/` which is already ensured)
when calling gcc, then all paths will be posix style, making ninja
happy.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-10-27 16:40:19 +01:00
..
app cmake: remove BOARD_FAMILY variable 2020-10-16 18:50:29 -05:00
bintools
compiler cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
emu
flash
ide
linker cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
makefile_exports
reports
toolchain cmake: work around sdk toolchain configuration for xtensa [REVERTME] 2020-10-21 06:38:53 -04:00
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake cmake: dts: getting realpath for system includes for dts. 2020-10-27 16:40:19 +01:00
extensions.cmake cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
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