aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2021-03-04 12:04:34 +0100
committerFathi Boudra <fathi.boudra@linaro.org>2021-03-04 12:14:48 +0100
commitc885e752bd019e2d32fd19b98d10c44f7d53da07 (patch)
tree506242d5a6ea5450837989ff474e7922d84178a3
parent51bbab4890f7020b34a35ceda47170d960bc781a (diff)
downloaddockerfiles-c885e752bd019e2d32fd19b98d10c44f7d53da07.tar.gz
TF-M: update cppcheck from 1.81 to 2.3
https://projects.linaro.org/browse/TFC-35 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Change-Id: I08d8c0c1ea9bf30444b557b690f587ecbe557d7e
-rwxr-xr-xbionic-amd64-tf-m-build/tf-dependencies.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/bionic-amd64-tf-m-build/tf-dependencies.install b/bionic-amd64-tf-m-build/tf-dependencies.install
index ac09692..1d4279b 100755
--- a/bionic-amd64-tf-m-build/tf-dependencies.install
+++ b/bionic-amd64-tf-m-build/tf-dependencies.install
@@ -3,9 +3,9 @@
set -e
# Install cppcheck
-wget -q http://github.com/danmar/cppcheck/releases/download/1.81/cppcheck-1.81.tar.gz -O /tmp/cppcheck.tar.gz
-tar -xf /tmp/cppcheck.tar.gz -C /opt
-(cd /opt/cppcheck-*; make CFGDIR=/opt/cppcheck-1.81/cfg; make install; make clean)
+wget -q https://github.com/danmar/cppcheck/archive/2.3.tar.gz -O /tmp/cppcheck.tar.gz
+tar -xf /tmp/cppcheck.tar.gz -C /tmp
+(cd /tmp/cppcheck-*; make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck -j$(nproc); make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck install)
# Install PlantUML
curl --create-dirs -fsSLo ${PLANTUML_JAR_PATH} \