fix(coverity): fix TC4 build with tfm-testsuite
This patch (aaae3e) adds several builds for TC4 but does
not enable MEASURED_BOOT and the QCBOR_DIR path required
for building TC4 with the tfm-testsuite. This patch
resolves the issue.
Change-Id: I301ee07c11664bfdc2c68ae7cbc466928c704196
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index aacd46e..6ca433c 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -375,7 +375,7 @@
ENABLE_STACK_PROTECTOR=strong PLATFORM_TEST=rse-nv-counters
clean_build $(common_flags) PLAT=tc TARGET_PLATFORM=4 ${ARM_TBB_OPTIONS} \
ENABLE_STACK_PROTECTOR=strong PLATFORM_TEST=tfm-testsuite \
- TF_M_TESTS_PATH=$(pwd)/../tf-m-tests TF_M_EXTRAS_PATH=$(pwd)/../tf-m-extras
+ MEASURED_BOOT=1 QCBOR_DIR=$(pwd)/qcbor TF_M_TESTS_PATH=$(pwd)/../tf-m-tests TF_M_EXTRAS_PATH=$(pwd)/../tf-m-extras
clean_build $(common_flags) PLAT=tc TARGET_PLATFORM=4 ${ARM_TBB_OPTIONS} \
ENABLE_STACK_PROTECTOR=strong MEASURED_BOOT=1 \
DICE_PROTECTION_ENVIRONMENT=1 QCBOR_DIR=$(pwd)/qcbor