diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf index dde8ee8cba5d..6cd8ab53b8ee 100755 --- a/scripts/dkms.mkconf +++ b/scripts/dkms.mkconf @@ -27,7 +27,7 @@ PRE_BUILD="configure --with-config=kernel --with-linux=\${kernel_source_dir} --with-linux-obj=\${kernel_source_dir} - --with-spl=\${dkms_tree}/spl/\${PACKAGE_VERSION}/build + --with-spl=\${$source_tree}/spl-\${PACKAGE_VERSION}/ --with-spl-obj=\${dkms_tree}/spl/\${PACKAGE_VERSION}/\${kernelver}/\${arch} --with-spl-timeout=300 \$(