zephyr/cmake/emu
Stephanos Ioannidis 19965f8173 cmake: qemu: Support delayed expansion of QEMU_KERNEL_OPTION
This commit allows the `QEMU_KERNEL_OPTION` variable, which can be
overridden by the `board.cmake`, to contain references to the variables
that are not available at the time of `board.cmake` inclusion, by
expanding its escpaed variable references in `cmake/emu/qemu.cmake`
which is included nearby the end of the root `CMakeLists.txt`.

With this change, the `board.cmake` can escape variable references as
follows and allow them to be expanded later:

set(QEMU_KERNEL_OPTION "-device;loader,file=\$<TARGET_FILE:$\{...}>")

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-04-02 09:22:38 +02:00
..
mdb.cmake board/nsim: Add support of multi-core ARC HS platform in nSIM 2019-08-11 21:18:38 +02:00
native.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
nsim.cmake board/nsim: Add support of ARC HS cores in nSIM 2019-07-31 09:25:15 -07:00
qemu.cmake cmake: qemu: Support delayed expansion of QEMU_KERNEL_OPTION 2020-04-02 09:22:38 +02:00
renode.cmake cmake: Support renode 1.8.2. 2019-11-15 17:37:17 -05:00