autobuild: add flag for building ioat kmod

The ioat kmod does not compile in some earlier versions of the kernel.

Change-Id: Ifcca9723c946228c71aba6a9726991fe2122d101
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/367615
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
Seth Howell 2017-06-29 14:33:32 -07:00 committed by Daniel Verkamp
parent 82cc48c862
commit b63a7f752e
2 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,9 @@ timing_enter check_format
timing_exit check_format
timing_enter build_kmod
./scripts/build_kmod.sh build
if [ $SPDK_BUILD_IOAT_KMOD -eq 1 ]; then
./scripts/build_kmod.sh build
fi
timing_exit build_kmod
scanbuild=''

View File

@ -11,6 +11,7 @@ fi
# Set defaults for missing test config options
: ${SPDK_BUILD_DOC=1}; export SPDK_BUILD_DOC
: ${SPDK_BUILD_IOAT_KMOD=1}; export SPDK_BUILD_IOAT_KMOD
: ${SPDK_RUN_SCANBUILD=1}; export SPDK_RUN_SCANBUILD
: ${SPDK_RUN_VALGRIND=1}; export SPDK_RUN_VALGRIND
: ${SPDK_TEST_UNITTEST=1}; export SPDK_TEST_UNITTEST