zephyr/cmake
Torsten Rasmussen 90f56dbabf cmake: extend target_ld_options() to support grouping of flags
Fixes #28456

This commit extends `target_ld_options()` with a NO_SPLIT flag.

Specifying `NO_SPLIT` will ensure that all linker flags will be applied
together when testing the compiler and linker.
This allows a caller to ensure that flags are tested together.

This fixes the RISC-V case where the flags `-mabi` and `-march` were
omitted because they were tested individually.

Note, the update of `target_ld_options()` will allow the same flag on
`zephyr_ld_options()`

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-10-27 13:09:02 +01:00
..
app cmake: remove BOARD_FAMILY variable 2020-10-16 18:50:29 -05:00
bintools llvm: use bintools/gnu/target_bintools.cmake 2020-10-01 22:35:39 -04:00
compiler cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
emu
flash
ide
linker cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
makefile_exports
reports
toolchain cmake: work around sdk toolchain configuration for xtensa [REVERTME] 2020-10-21 06:38:53 -04:00
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake cmake: fix DTS handling of multiple overlay files 2020-10-15 22:47:52 -05:00
extensions.cmake cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
extra_flags.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake cmake: Ignore LDFLAGS and AFLAGS from environment 2020-09-10 15:35:50 -05:00
git.cmake
hex.cmake
host-tools.cmake
kconfig.cmake cmake: ensure consistent behavior between x_ROOT settings 2020-09-10 21:30:24 +02:00
kobj.cmake
mcuboot.cmake
pristine.cmake
python.cmake
target_toolchain_flags.cmake
target_toolchain.cmake
version.cmake
west.cmake
zephyr_module.cmake