Commit 06847b58 authored by Sudan Landge's avatar Sudan Landge Committed by Benjamin Cabé
Browse files

modules: tf-m: fix Ethos-U Cmake warnings



This is to fix the below compiler warning from TF-M builds
   that don't use the Ethos-U driver.
```
CMake Warning:
  Manually-specified variables were not used by the project:

    ETHOS_DRIVER_PATH
```

Signed-off-by: default avatarSudan Landge <sudan.landge@arm.com>
parent 413c06b1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -253,7 +253,9 @@ if (CONFIG_BUILD_WITH_TFM)

  list(APPEND TFM_CMAKE_ARGS -DTFM_TESTS_REVISION_CHECKS=OFF)

  if(CONFIG_TFM_ETHOS_DRIVER_PATH_LOCAL)
    list(APPEND TFM_CMAKE_ARGS -DETHOS_DRIVER_PATH=${CONFIG_TFM_ETHOS_DRIVER_PATH_LOCAL})
  endif()

  file(MAKE_DIRECTORY ${TFM_BINARY_DIR})
  add_custom_target(tfm_cmake
+1 −0
Original line number Diff line number Diff line
@@ -312,6 +312,7 @@ endchoice

config TFM_ETHOS_DRIVER_PATH_LOCAL
	string "Path to a locally available Ethos-U driver or an empty string"
	depends on SOC_SERIES_MPS3
	default "${ZEPHYR_HAL_ETHOS_U_MODULE_DIR}"
	help
	  Path to a locally available Ethos-U driver to be used for TF-M builds or