2020-11-13 00:59:59 +08:00
|
|
|
# Copyright (c) 2020 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig MCUBOOT_BOOTUTIL_LIB
|
|
|
|
bool "MCUboot utility library"
|
|
|
|
help
|
|
|
|
Enable MCUboot utility library which implements functions
|
|
|
|
required by the chain-loaded application and the MCUboot.
|
|
|
|
|
|
|
|
if MCUBOOT_BOOTUTIL_LIB
|
|
|
|
|
2022-03-17 05:07:43 +08:00
|
|
|
# hidden option for disabling module-own log configuration
|
2020-11-13 00:59:59 +08:00
|
|
|
# while building MCUboot bootloader
|
|
|
|
config MCUBOOT_BOOTUTIL_LIB_OWN_LOG
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
if MCUBOOT_BOOTUTIL_LIB_OWN_LOG
|
|
|
|
module = MCUBOOT_UTIL
|
|
|
|
module-str = MCUboot bootutil
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif
|
|
|
|
|
2021-09-13 20:53:40 +08:00
|
|
|
config BOOT_IMAGE_ACCESS_HOOKS
|
2022-03-09 19:05:12 +08:00
|
|
|
bool "Hooks for overriding MCUboot's bootutil native routines"
|
2021-09-13 20:53:40 +08:00
|
|
|
help
|
|
|
|
Allow to provide procedures for override or extend native
|
|
|
|
MCUboot's routines required for access the image data.
|
|
|
|
It is up to the application project to add source file which
|
|
|
|
implements hooks to the build.
|
|
|
|
|
2020-11-13 00:59:59 +08:00
|
|
|
endif # MCUBOOT_BOOTUTIL_LIB
|