Build: Revert hotfix
- Revert hotfix
- Move PSA test cmake to the test repo
- Remove some unused PATH variables
Change-Id: Ifa9d597f1b36e5b224bd1eb7f1d23a9b0af809f1
Signed-off-by: Raef Coles <raef.coles@arm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ce8de53..ef673e0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,17 +90,12 @@
add_subdirectory(lib/ext)
add_subdirectory(lib/fih)
add_subdirectory(tools)
-
-if(NS)
- # Set to ${TFM_TEST_REPO_PATH}/app by default
- add_subdirectory(${TFM_APP_PATH} ${CMAKE_CURRENT_BINARY_DIR}/app)
-endif()
-if(NS OR TEST_BL2)
- add_subdirectory(${TFM_RAW_LOG_PATH} ${CMAKE_CURRENT_BINARY_DIR}/raw_log)
-endif()
-
add_subdirectory(secure_fw)
+if(NS OR TFM_S_REG_TEST OR TFM_NS_REG_TEST OR TEST_BL2)
+ add_subdirectory(${TFM_TEST_REPO_PATH} ${CMAKE_CURRENT_BINARY_DIR}/tf-m-tests)
+endif()
+
add_subdirectory(interface)
if(BL2)
add_subdirectory(bl2)
@@ -108,10 +103,6 @@
add_subdirectory(platform)
-if(TFM_S_REG_TEST OR TFM_NS_REG_TEST OR TEST_BL2)
- add_subdirectory(${TFM_TEST_PATH} ${CMAKE_CURRENT_BINARY_DIR}/tests)
-endif()
-
include(cmake/install.cmake)
if(CRYPTO_HW_ACCELERATOR)