blob: 63d18455810e82990ec0d2150bbd82e5a4d8585d [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2022, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
mainmenu "TF-M Configuration"
# Load platform Kconfig file if exists
osource "$(PLATFORM_PATH)/Kconfig"
################################# SPM ##########################################
rsource "secure_fw/spm/Kconfig"
################################# Secure partitions ############################
# These are partition switches.
rsource "secure_fw/partitions/Kconfig"
################################# Platforms ####################################
rsource "platform/Kconfig"
################################# TEST #########################################
menu "TF-M tests"
rsource "lib/ext/tf-m-tests/Kconfig"
rsource "lib/ext/psa_arch_tests/Kconfig"
endmenu
################################# Component ####################################
# These configs in this menu are local to a component or externally referenced
# when components are coupled. Usually, such options are located in C header
# file. The Header File Config System has more details about it.
# Other configs above which are not in component menu are TF-M build options to
# select which file or component to include into compilation. These are options,
# usually used by a build system to enable/disable modules, specify location of
# external dependency or other selection, global to a project. These options
# shall be considered while adopting TF-M to other build systems.
menu "TF-M component configs"
rsource "secure_fw/spm/Kconfig.comp"
menu "Secure Partitions component configs"
rsource "secure_fw/partitions/*/Kconfig.comp"
endmenu
endmenu