summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrian Behlendorf <behlendorf1@llnl.gov>2013-03-20 22:15:05 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2013-03-21 19:51:06 +0000
commit352b557bd61e07f173c36d481df3408645e19599 (patch)
treea5e73641dc0a682689ad749cad7f5f15dbf6116e /scripts
parentae0f0ba950bed72be0635c29d3dfecb5a811f121 (diff)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dkms.mkconf2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf
index 62caa4bac843..ecdee717f60a 100755
--- a/scripts/dkms.mkconf
+++ b/scripts/dkms.mkconf
@@ -25,6 +25,8 @@ PACKAGE_CONFIG="${pkgcfg}"
PRE_BUILD="configure
--prefix=/usr
--with-config=kernel
+ --with-linux=\${kernel_source_dir}
+ --with-linux-obj=\${kernel_source_dir}
--with-spl=\${dkms_tree}/spl/\${PACKAGE_VERSION}/build
--with-spl-obj=\${dkms_tree}/spl/\${PACKAGE_VERSION}/\${kernelver}/\${arch}
--with-spl-timeout=300