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 llvm: use bintools/gnu/target_bintools.cmake 2020-10-01 22:35:39 -04:00
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 cmake: export build flags to external build systems excluding SHELL tag 2020-09-10 11:31:53 +02:00
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 cmake: Ignore LDFLAGS and AFLAGS from environment 2020-09-10 15:35:50 -05:00
git.cmake
hex.cmake
host-tools.cmake
kconfig.cmake cmake: ensure consistent behavior between x_ROOT settings 2020-09-10 21:30:24 +02:00
kobj.cmake
mcuboot.cmake
pristine.cmake
python.cmake
target_toolchain_flags.cmake cmake: toolchain: Toolchain abstraction templates 2020-09-04 20:36:59 +02:00
target_toolchain.cmake cmake: toolchain: Toolchain abstraction templates 2020-09-04 20:36:59 +02:00
version.cmake
west.cmake
zephyr_module.cmake