summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dkms.mkconf6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf
index ad97f9bca..880510abd 100755
--- a/scripts/dkms.mkconf
+++ b/scripts/dkms.mkconf
@@ -31,6 +31,12 @@ PRE_BUILD="configure
--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} \\
&& shopt -q -s extglob \\