zephyr/subsys/net/conn_mgr/CMakeLists.txt
Pieter De Gendt db8bb9ef56 cmake: linker: Use kconfig for iterable section subalign
Replace the hard-coded 4 with the Kconfig symbol
CONFIG_LINKER_ITERABLE_SECTION_SUBALIGN .

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-05-07 18:01:37 -04:00

13 lines
362 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_include_directories(.)
zephyr_library()
zephyr_library_sources(
conn_mgr_monitor.c
events_handler.c
conn_mgr_connectivity.c
)
zephyr_linker_sources(DATA_SECTIONS conn_mgr.ld)
zephyr_iterable_section(NAME conn_mgr_conn_binding GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN CONFIG_LINKER_ITERABLE_SUBALIGN)