zephyr/cmake
Sebastian Bøe c14013ca2d cmake: generate_inc: Change how the target name is constructed
The generate_inc_file_for_target() extension is a useful wrapper
around the more low-level generate_inc_file(). It takes care of
ensuring that the generated file correctly depends on it's source.

To do so it needs to name and define a custom_target, the name must be
unique, so it was constructed based on the path to the generated file,
but this caused multiple issues.

The intention was that the path of the file would help identify the
target, in hindsight, identifying the target has proven to not be
important.

This patch fixes #5466 by using a random string to construct the
target name instead of the path to the generated file.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2017-12-28 18:23:19 -05:00
..
app native: build zephyr.exe for posix arch 2017-12-27 14:16:08 -05:00
emu native: build zephyr.exe for posix arch 2017-12-27 14:16:08 -05:00
flash cmake: flash: support verbose output toggle 2017-12-15 09:57:30 -05:00
reports size_report: Use the CMake-discovered toolchain instead of ENV vars 2017-12-12 11:42:05 -05:00
test
usage cmake: usage: Added posix to list of arch's with boards 2017-12-28 11:24:21 -05:00
ccache.cmake
extensions.cmake cmake: generate_inc: Change how the target name is constructed 2017-12-28 18:23:19 -05:00
extra_flags.cmake cmake: Fix EXTRA_LDFLAGS feature 2017-12-05 08:39:43 -05:00
fpu-for-gcc-m-cpu.cmake
gcc-m-cpu.cmake
hex.cmake
host-tools-zephyr.cmake cmake: Fix SDK-less builds 2017-11-13 13:14:32 -05:00
host-tools.cmake cmake: Reorganize how qemu is found 2017-12-12 09:31:31 -05:00
kconfig.cmake cmake: Move syscall_macros.h generation into the build stage 2017-11-30 06:49:33 -05:00
pristine.cmake
toolchain-espressif.cmake
toolchain-gcc.cmake cmake: Support installing toolchains in "Program Files" 2017-12-12 11:53:45 -06:00
toolchain-gccarmemb.cmake
toolchain-host-gcc.cmake arch: native: Run Zephyr natively in a POSIX OS 2017-12-27 14:16:08 -05:00
toolchain-issm.cmake
toolchain-xtools.cmake
toolchain-zephyr.cmake
toolchain.cmake arch: native: Run Zephyr natively in a POSIX OS 2017-12-27 14:16:08 -05:00
version.cmake release: make cmake happy about version 2017-11-19 23:16:03 -05:00