Add -p switch to "zpool get"
[zfs.git] / scripts / dkms.mkconf
index 2e07be4..ecdee71 100755 (executable)
@@ -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
@@ -52,6 +54,7 @@ POST_INSTALL="scripts/dkms.postinst
   -k \${kernelver}
   -t \${dkms_tree}
 "
+BUILD_DEPENDS[0]="spl"
 AUTOINSTALL="yes"
 REMAKE_INITRD="no"
 MAKE[0]="make"