Kconfig: Refine psa arch test Kconfig configs
Add psa arch test Kconfig file and refine some related
options and influences in Kconfig build system.
Signed-off-by: Jianliang Shen <jianliang.shen@arm.com>
Change-Id: I978d4535ebfa2634eef86c22b65206a437fbe245
diff --git a/Kconfig b/Kconfig
index 77c9f40..3f7049b 100644
--- a/Kconfig
+++ b/Kconfig
@@ -38,6 +38,12 @@
# shall be considered while adopting TF-M to other build systems.
menu "TF-M component configs"
+
+# Load configurations set by PSA arch test
+if TEST_PSA_API != ""
+ rsource "$(TFM_SOURCE_DIR)/config/tests/Kconfig.test_psa_api"
+endif
+
rsource "secure_fw/spm/Kconfig.comp"
menu "Secure Partitions component configs"