build_helper: Add toolchain file arg in nspe build command
Support other toolchains besides default GNUARM
Signed-off-by: David Hu <david.hu@arm.com>
Change-Id: I12f6086b1fcfd186998160d1a3e15e1823877520
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index ebe61ae..319a7d4 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -67,6 +67,7 @@
"nspe_config_template": "cmake -G Ninja " + \
"-S %(tfm_tests_root_dir)s/%(test_root_dir)s " + \
"-B %(ci_build_root_dir)s/nspe " + \
+ "-DTFM_TOOLCHAIN_FILE=%(ci_build_root_dir)s/spe/api_ns/cmake/%(compiler)s " + \
"-DCONFIG_SPE_PATH=%(ci_build_root_dir)s/spe/api_ns " + \
"%(extra_params)s " + \
"-DQCBOR_PATH=%(codebase_root_dir)s/../qcbor ",