zephyr/modules
Torsten Rasmussen b671cf7279 cmake: tfm: support for custom CMake args when building TF-M
This commit allows a subsystem to specify additional CMake flags to be
given to the TF-M build.

The additional CMake flags can be provided through the TFM_CMAKE_OPTIONS
property on the zephyr_property_target.
Using the zephyr_property_target allows Zephyr modules to append extra
TFM_CMAKE_OPTIONS regardless of the CMake processing order.

It splits the ExternalProject_Add into a two step process with the CMake
invocation executed using add_custom_target() and the build process
using ExternalProject_Add(). The reason for this split is because CMake
generator expressions passed through ExternalProject_Add to CMake will
quoted so that `$<TARGET_PROPERTY:<tgt>,<prop>>` becomes
`"-DFOO=bar -DBAR=foo"` instead of `-DFOO=bar -DBAR=foo` which again
results in CMake failures.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-05-07 13:09:54 +02:00
..
hal_nordic modules: hal_nordic: nrf_802154: Fix RADIO IRQ handling configuration 2021-04-07 14:17:22 +02:00
nanopb modules: nanopb: introduce new module 2021-04-08 14:57:55 +02:00
tensorflow modules: add tensorflow 2021-04-29 08:35:57 -04:00
trusted-firmware-m cmake: tfm: support for custom CMake args when building TF-M 2021-05-07 13:09:54 +02:00
Kconfig modules: nanopb: introduce new module 2021-04-08 14:57:55 +02:00
Kconfig.altera
Kconfig.atmel
Kconfig.canopennode
Kconfig.civetweb
Kconfig.cmsis
Kconfig.cmsis_dsp
Kconfig.cypress
Kconfig.eos_s3
Kconfig.imx
Kconfig.infineon
Kconfig.libmetal
Kconfig.loramac-node
Kconfig.mbedtls
Kconfig.mcuboot_bootutil
Kconfig.mcux modules: Add OS timer support 2021-04-21 20:40:24 -04:00
Kconfig.microchip
Kconfig.nuvoton
Kconfig.open-amp
Kconfig.silabs
Kconfig.simplelink
Kconfig.sof
Kconfig.st
Kconfig.stm32
Kconfig.syst
Kconfig.tinycbor
Kconfig.tinycrypt
Kconfig.tls-generic crypto: mbedtls: add enablers for public key layer 2021-03-17 09:25:04 +02:00
Kconfig.vega
Kconfig.xtensa
modules.cmake