zephyr/cmake
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
..
app doc: Update documentation to describe use of find_package(Zephyr) 2020-03-27 16:23:46 +01:00
backports
bintools
compiler cmake: gcc: no need to force add system include 2020-03-27 09:06:03 -04:00
emu cmake: qemu: Support delayed expansion of QEMU_KERNEL_OPTION 2020-04-02 09:22:38 +02:00
flash cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
ide
linker/ld cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
makefile_exports
reports
toolchain cmake: toolchain: print what we find 2020-03-10 14:53:28 +02:00
usage cmake: ninja usage build target 2020-03-27 16:23:46 +01:00
util
boards.cmake scripts: west-commands: Updates needed when removing ZEPHYR_BASE env 2020-03-27 16:23:46 +01:00
ccache.cmake
cfb.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
dts.cmake scripts: dts: write new gen_defines.py 2020-03-24 10:11:20 -05:00
extensions.cmake cmake: ninja usage build target 2020-03-27 16:23:46 +01:00
extra_flags.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake
git.cmake
hex.cmake
host-tools.cmake cmake: propagating zephyr base to west 2020-03-27 16:23:46 +01:00
kconfig.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
kobj.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
pristine.cmake
python.cmake
target_toolchain.cmake
version.cmake cmake: Added possibility to disable the printing of version 2020-03-27 16:23:46 +01:00
zephyr_module.cmake cmake: propagating zephyr base to west 2020-03-27 16:23:46 +01:00