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
bintools
compiler
emu
flash
ide
linker
makefile_exports
reports
toolchain
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake
extensions.cmake
extra_flags.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake
git.cmake
hex.cmake
host-tools.cmake
kconfig.cmake
kobj.cmake
mcuboot.cmake
pristine.cmake
python.cmake
target_toolchain_flags.cmake
target_toolchain.cmake
version.cmake
west.cmake
zephyr_module.cmake