eclair: Add initial scripts and configs for the ECLAIR MISRA analysis tool
Scripts and configs are imported from the private prototype repository used
during initial stages of development. They are in turn based on
scripts/configs provided by Bugseng (ECLAIR vendor), as used in their
demo job for TF-A: https://eclairit.com:8443/job/TF-A/
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I10fbb55859beda7c9a6c36cdb202bcbd70bf95b7
diff --git a/eclair/build-tfa.sh b/eclair/build-tfa.sh
new file mode 100755
index 0000000..7954f6e
--- /dev/null
+++ b/eclair/build-tfa.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Copyright (c) 2021-2022 BUGSENG srl. All rights reserved.
+# Copyright (c) 2022 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
+set -ex
+
+export CROSS_COMPILE=/opt/gcc-arm-11.2-2022.02-x86_64-aarch64-none-elf/bin/aarch64-none-elf-
+cd ${WORKSPACE}/trusted-firmware-a
+make PLAT=$1 clean
+make PLAT=$1 ${MAKE_TARGET} -j3