]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
ADD: created some build scripts for the CoverityScans
authoriceman <iceman@iuse.se>
Tue, 12 Jan 2016 09:39:23 +0000 (10:39 +0100)
committericeman <iceman@iuse.se>
Tue, 12 Jan 2016 09:39:23 +0000 (10:39 +0100)
covbuild.sh [new file with mode: 0755]
covconfig.sh [new file with mode: 0755]

diff --git a/covbuild.sh b/covbuild.sh
new file mode 100755 (executable)
index 0000000..088acc2
--- /dev/null
@@ -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
+
+
diff --git a/covconfig.sh b/covconfig.sh
new file mode 100755 (executable)
index 0000000..33f6faa
--- /dev/null
@@ -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
+
+
+
+
Impressum, Datenschutz