Use kernel v4.4 for now.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
password: COVERITY_SCAN_TOKEN
builders:
+ - shell: |
+ git clone --depth=1 -b v4.4 --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux
+ cd linux
+ make defconfig
+ sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
+ make modules_prepare
+ cd ..
- shell:
!include-raw-escape: scripts/common/coverity.sh
export LD_LIBRARY_PATH="$UST_LIBS:${LD_LIBRARY_PATH:-}"
fi
+if [ -d "$WORKSPACE/linux" ]; then
+ export KERNELDIR="$WORKSPACE/linux"
+fi
+
# Verify upload is permitted
set +x
# Build
echo -e "\033[33;1mRunning Coverity Scan Analysis Tool...\033[0m"
-cov-build --dir $RESULTS_DIR $COVERITY_SCAN_BUILD_OPTIONS make -j$NPROC
+cov-build --dir $RESULTS_DIR $COVERITY_SCAN_BUILD_OPTIONS make -j$NPROC V=1
cov-import-scm --dir $RESULTS_DIR --scm git --log $RESULTS_DIR/scm_log.txt
# Tar results