zephyr/subsys/retention/CMakeLists.txt
Jamie McCrae db4febc584 retention: Add bootloader configuration interface
Adds a bootloader configuration interface which allows for a
bootloader (e.g. MCUboot) to set configuration in a shared data
area which is then read by the application.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-09-27 20:18:31 -04:00

11 lines
304 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources(retention.c)
zephyr_library_sources_ifdef(CONFIG_RETENTION_BOOT_MODE bootmode.c)
if(CONFIG_RETENTION_BOOTLOADER_INFO_TYPE_MCUBOOT)
zephyr_library_sources(blinfo_mcuboot.c)
zephyr_link_libraries(MCUBOOT_BOOTUTIL)
endif()