run-cppcheck: use TFM_TOOLCHAIN_FILE instead of CMAKE_TOOLCHAIN_FILE

CMAKE_TOOLCHAIN_FILE is deprecated in favor of TFM_TOOLCHAIN_FILE.
In addition, TFM_TOOLCHAIN_FILE does accept relative paths.

This changes only get rid of the deprecation warning:

CMake Deprecation Warning at CMakeLists.txt:41 (message):
  SETTING CMAKE_TOOLCHAIN_FILE is deprecated.  It has been replaced with
  TFM_TOOLCHAIN_FILE.

CMake Deprecation Warning at CMakeLists.txt:42 (message):
  INTERPRETING -DCMAKE_TOOLCHAIN_FILE=toolchain_GNUARM.cmake as
  -DTFM_TOOLCHAIN_FILE=toolchain_GNUARM.cmake

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Change-Id: I0395ea45815644d1657ab6b9c64c1df730806da7
2 files changed