zephyr/cmake
Sebastian Bøe 1b86fb9da3 cmake: Use variables for target names
There is an effort underway to make most of the Zephyr build script's
reentrant. Meaning, the build scripts can be executed multiple times
during the same CMake invocation.

Reentrancy enables several use-cases, the motivating one is the
ability to build several Zephyr executables, or images, for instance a
bootloader and an application.

For build scripts to be reentrant they cannot be directly referencing
global variables, like target names, but must instead reference
variables, which can vary from entry to entry.

Therefore, in this patch, we replace global targets with variables.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2019-01-19 07:21:55 -05:00
..
app cmake: dts: move to specifying shield on the command line 2019-01-18 13:20:59 -06:00
backports cmake: Fixed python detection bug 2018-12-21 11:13:03 +01:00
compiler cmake/compiler/gcc: Fall back to host compiler for x86_64 2019-01-11 15:18:52 -05:00
emu sanitycheck: Add Renode cmake configuration 2019-01-14 09:12:07 -05:00
flash cmake: flash: Conditional dependency to 'mergehex' 2018-12-05 12:14:38 -05:00
ide cmake: Eclipse CDT4 generator amendment 2018-10-17 18:16:55 -04:00
reports scripts: fix ram_reports and generate bin file if missing 2018-01-29 05:16:52 +05:30
toolchain cmake: Introduce host toolchain for POSIX arch 2019-01-10 14:56:32 -05:00
usage cmake: dts: move to specifying shield on the command line 2019-01-18 13:20:59 -06:00
util cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
ccache.cmake
cfb.cmake subsys: fb: add support for generating CFB font headers at build time 2018-11-28 11:46:00 +01:00
dts.cmake cmake: dts: move to specifying shield on the command line 2019-01-18 13:20:59 -06:00
extensions.cmake cmake: dts: move to specifying shield on the command line 2019-01-18 13:20:59 -06:00
extra_flags.cmake cmake: Fix EXTRA_LDFLAGS feature 2017-12-05 08:39:43 -05:00
fpu-for-gcc-m-cpu.cmake cmake: indicate single precision floating-point for Cortex-M33 2018-02-23 21:42:22 -06:00
gcc-m-cpu.cmake arch: arm: update compile options for DSP 2018-07-03 12:17:13 -05:00
generic_toolchain.cmake cmake: Introduce host toolchain for POSIX arch 2019-01-10 14:56:32 -05:00
git.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
hex.cmake
host-tools-zephyr.cmake sdk: require Zephyr SDK 0.9.4 2018-11-05 11:00:38 -05:00
host-tools.cmake cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
kconfig.cmake cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
kobj.cmake cmake: Use variables for target names 2019-01-19 07:21:55 -05:00
pristine.cmake
python.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
target_toolchain.cmake cmake: Document CMAKE_SYSTEM_-variables, and add CMAKE_SYSTEM_VERSION 2018-12-20 11:15:20 +01:00
version.cmake cmake: version: Misc. refactorings for readability 2018-10-01 09:16:05 -04:00