ADD: created some build scripts for the CoverityScans

This commit is contained in:
iceman 2016-01-12 10:39:23 +01:00
parent 495d7f1326
commit edff4a417d
2 changed files with 35 additions and 0 deletions

25
covbuild.sh Executable file
View file

@ -0,0 +1,25 @@
#!/bin/bash
## 2016-01-16, Iceman
## build script for Coverity Scan of the proxmark3 source code
## clean up pre-compiled objects.
make clean
## coverity build
cov-build --dir cov-int make all UBUNTU_1404_QT4=1
## create tarball
tar cfz proxmark3.all.`date --date now +%Y%m%d%H%M%S`.tgz cov-int
echo "Coverity build file is ready"
## clean up build folders
rm -rf cov-int
echo "Coverity build cleaned"
## upload tarball to Coverity.com
## not using it.
# curl --form project=proxmark-iceman-fork --form token=PUT_YOUR_API_TOKEN_HERE --form email=PUT_YOU_EMAIL@HERE --form file=@proxmark3.tgz --form version=0.4.0 --form description=Description http://scan5.coverity.com/cgi-bin/upload.py

10
covconfig.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
## 20160116, iceman
## Configure ARM , make sure you have the arm gcc in your $PATH variable.
cov-configure -co arm-none-eabi-gcc