]> granicus.if.org Git - zfs/commitdiff
Point dkms build at installed source tree, rather than build directory.
authorTom Prince <tom.prince@ualberta.net>
Thu, 9 Oct 2014 17:24:03 +0000 (14:24 -0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Oct 2014 19:05:43 +0000 (12:05 -0700)
Signed-off-by: Tom Prince <tom.prince@clusterhq.com>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2776

scripts/dkms.mkconf

index dde8ee8cba5de32c704b8e4f749bf6e234f92ee6..6cd8ab53b8ee7604987f826c0b3f318d3b7e2bb9 100755 (executable)
@@ -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
   \$(