zephyr/cmake
Torsten Rasmussen 9c74027a7b cmake: CMake linker script generator pass handling
To prepare for linker script creation with flexible number of linker
passes depending on system configuration then the Zephyr CMake linker
script generator has been updated to use pass names instead of pass
numbers.

This allows greater flexibility as a section can now be active based on
the settings on the pass and not the linking pass index number.

As part of this, the `PASS` processing in `linker_script_common.cmake`
has been adjusted so that it properly handles when a linking pass is
handling multiple settings, such as both `LINKER_APP_SMEM_UNALIGNED`
and `DEVICE_HANDLES_PASS1` in same linking pass.

As the number of linking passes are more flexible, then the PASS
argument in `zephyr_linker_section()` and
`zephyr_linker_section_configure()` has been updated to also support
a `NOT <name>` argument, for example: `PASS NOT LINKER_ZEPHYR_FINAL`.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-11-08 20:45:07 +01:00
..
app devicetree: remove support for DTC_OVERLAY_FILE in environment 2021-10-01 14:42:42 -04:00
bintools cmake: gnu: Fix debugging when GDB fails to load because of Python 2021-09-23 12:47:39 +02:00
compiler cmake: CMake compile features support 2021-10-01 14:40:33 -04:00
emu cmake: boards: make QEMU icount sleep parameter configurable 2021-10-28 15:26:50 +02:00
flash scripts: runners: openocd: Enable thread awareness 2021-08-27 06:44:45 -04:00
ide
linker cmake: CMake linker script generator pass handling 2021-11-08 20:45:07 +01:00
linker_script cmake: CMake linker script generator pass handling 2021-11-08 20:45:07 +01:00
makefile_exports
reports build: reports: publish all reports 2021-07-21 14:54:30 +03:00
toolchain toolchain: esp32: define target toolchain 2021-09-28 20:06:25 -04:00
usage
util
boards.cmake cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ccache.cmake
cfb.cmake
dts.cmake cmake: dts: import devicetree symbols into CMake 2021-08-25 20:28:26 -04:00
extensions.cmake cmake: CMake linker script generator pass handling 2021-11-08 20:45:07 +01:00
extra_flags.cmake
gcc-m-cpu.cmake cmake: add the gcc -mcpu parameter value for the Cortex-A9 CPU 2021-10-28 15:26:50 +02:00
generic_toolchain.cmake
git.cmake cmake: cleanup version printing during CMake configure time 2021-05-07 20:50:02 -04:00
hex.cmake
host-tools.cmake
kconfig.cmake armclang: ARM Compiler C library support 2021-08-30 08:54:23 -04:00
kobj.cmake
mcuboot.cmake kconfig: Add option for encryption of binaries 2021-08-26 21:15:54 -04:00
pristine.cmake
python.cmake
shields.cmake
target_toolchain_flags.cmake cmake: CMake compile features support 2021-10-01 14:40:33 -04:00
target_toolchain.cmake scripts: gen_handles.py: take device start symbol as argument. 2021-08-30 08:54:23 -04:00
verify-toolchain.cmake cmake: Set minimum required Zephyr SDK version to 0.13.1 2021-09-24 07:35:40 -04:00
version.cmake cmake: cleanup version printing during CMake configure time 2021-05-07 20:50:02 -04:00
west.cmake
zephyr_module.cmake cmake: add a comment header to zephyr_settings.txt 2021-08-10 07:37:19 -04:00