diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf index c3c74910ba..ab171a606c 100755 --- a/scripts/dkms.mkconf +++ b/scripts/dkms.mkconf @@ -30,6 +30,12 @@ PRE_BUILD="configure --with-spl=\${source_tree}/spl-\${PACKAGE_VERSION} --with-spl-obj=\${dkms_tree}/spl/\${PACKAGE_VERSION}/\${kernelver}/\${arch} --with-spl-timeout=300 + \$( + [[ -n \"\${ICP_ROOT}\" ]] && \\ + { + echo --with-qat=\"\${ICP_ROOT}\" + } + ) \$( [[ -r \${PACKAGE_CONFIG} ]] \\ && source \${PACKAGE_CONFIG} \\