coverity: Improve NXP source file coverage using new build features
By leveraging several build flags, we are able to compile additional
source files for offline coverity scan analysis.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: Ic5e9af61fbce4e0c8aea2986535e196053ba56ed
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index 287cf6f..5d5a925 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -333,7 +333,19 @@
# Platforms for NXP Layerscape
make PLAT=lx2160aqds $(common_flags) all
make PLAT=lx2160ardb $(common_flags) all
-make PLAT=lx2162aqds $(common_flags) all
+
+#CSF Based CoT:
+clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=flexspi_nor SPD=opteed \
+ TRUSTED_BOARD_BOOT=1 CST_DIR=$(pwd) DDR_PHY_BIN_PATH=$(pwd)
+
+#X509 Based CoT
+clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=flexspi_nor SPD=opteed \
+ TRUSTED_BOARD_BOOT=1 CST_DIR=$(pwd) GENERATE_COT=1 \
+ MBEDTLS_DIR=$(pwd)/mbedtls
+
+#BOOT_MODE=emmc and Stack protector
+clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=emmc SPD=opteed \
+ TRUSTED_BOARD_BOOT=1 CST_DIR=$(pwd) ENABLE_STACK_PROTECTOR=strong
# Platforms from Intel
make PLAT=stratix10 $(common_flags) all