summaryrefslogtreecommitdiffstats
path: root/scripts/dkms.mkconf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dkms.mkconf')
-rwxr-xr-xscripts/dkms.mkconf6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf
index c3c74910b..ab171a606 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 \\