zephyr/cmake
Torsten Rasmussen f160dee935 cmake: bintools abstraction, support <command>_flag_final property
This command add support for `<command>_flag_final` to all bintools
commands.

This allows users that has special use-cases to use a CMake script
for bintool command execution, and thereby have full control of command
invocation and argument processing.

Example of how to specify the property for such use:
Calling a custom script for elfconvert command:
set_property(TARGET bintools
             PROPERTY elfconvert_command ${CMAKE_COMMAND})
set_property(TARGET bintools
             PROPERTY elfconvert_flag "")
set_property(TARGET bintools
             PROPERTY elfconvert_flag_final     -P elfconvert.cmake)
set_property(TARGET bintools
             PROPERTY elfconvert_flag_strip_all "-DSTRIP_ALL=True")
set_property(TARGET bintools
             PROPERTY elfconvert_flag_infile    "-DINFILE=")
set_property(TARGET bintools
             PROPERTY elfconvert_flag_outfile   "-DOUT_FILE=")

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-09-04 20:36:59 +02:00
..
app toolchain: improved toolchain abstraction for compilers and linker 2020-09-04 20:36:59 +02:00
bintools cmake: bintools abstraction, support <command>_flag_final property 2020-09-04 20:36:59 +02:00
compiler toolchain: Xtensa C compiler using new abstraction pattern 2020-09-04 20:36:59 +02:00
emu boards: arc: nsim: add a new board nsim_em7d_v22 2020-09-03 21:47:51 +02:00
flash cmake: flash signed binaries for mcuboot 2020-09-03 16:49:09 -05:00
ide license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
linker cmake: get Zephyr settings for language extension 2020-09-04 20:36:59 +02:00
makefile_exports cmake: Add option for exporting build metadata to Make 2020-01-23 15:09:12 -05:00
reports scripts: size_report: Fix colorized output 2020-09-03 09:54:21 -04:00
toolchain cmake: Set TOOLCHAIN_ARCH based on OS_PLATFORM 2020-08-07 06:54:18 -05:00
usage cmake: sort shield list and improve indent 2020-08-05 12:01:49 +02:00
util license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
boards.cmake doc,cmake: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
ccache.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cfb.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
dts.cmake cmake: dts overlay file with mixed separator style support 2020-09-03 14:45:13 -05:00
extensions.cmake cmake: get Zephyr settings for language extension 2020-09-04 20:36:59 +02:00
extra_flags.cmake cmake: extra_flags: fix EXTRA_CPPFLAGS being applied as macros 2019-12-13 13:23:40 -05:00
gcc-m-cpu.cmake cmake: gcc: add support for compiling for the ARM Cortex-M1 2020-08-14 13:35:39 -05:00
generic_toolchain.cmake cmake: warn user if CPPFLAGS is set as environment setting 2020-09-01 13:29:24 +02:00
git.cmake cmake: explain BUILD_VERSION and KERNEL_VERSION_* 2019-05-09 11:52:05 +02:00
hex.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
host-tools.cmake cmake: add IMGTOOL optional dependency 2020-09-01 13:33:46 +02:00
kconfig.cmake cmake: export Zephyr modules as Kconfig variables. 2020-08-31 12:15:02 +02:00
kobj.cmake cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE} 2020-03-27 16:23:46 +01:00
mcuboot.cmake cmake: mcuboot: confirmed images needs to be padded 2020-09-04 12:00:04 +02:00
pristine.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
python.cmake cmake: find python3 on windows when multiarch are installed 2020-05-13 12:13:36 +02:00
target_toolchain_flags.cmake cmake: toolchain: Toolchain abstraction templates 2020-09-04 20:36:59 +02:00
target_toolchain.cmake cmake: toolchain: Toolchain abstraction templates 2020-09-04 20:36:59 +02:00
version.cmake cmake: Added possibility to disable the printing of version 2020-03-27 16:23:46 +01:00
west.cmake cmake: add WEST to cached variable 2020-09-03 17:32:48 -04:00
zephyr_module.cmake cmake: Zephyr module error on module name current 2020-08-31 12:15:02 +02:00