]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - scripts/dkms.mkconf
control: bump standards version to 3.9.8
[mirror_spl-debian.git] / scripts / dkms.mkconf
index 3bfe2be7bbe3ff404db23636746107e928feb378..67b9dad58b7fa0596c337741919d8a030d1fad64 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}
   \$(
     [[ -r \${PACKAGE_CONFIG} ]] \\
     && source \${PACKAGE_CONFIG} \\
@@ -35,10 +37,6 @@ PRE_BUILD="configure
       then
         echo --enable-debug
       fi
-      if [[ \${SPL_DKMS_ENABLE_DEBUG_LOG,,} == @(y|yes) ]]
-      then
-        echo --enable-debug-log
-      fi
       if [[ \${SPL_DKMS_ENABLE_DEBUG_KMEM,,} == @(y|yes) ]]
       then
         echo --enable-debug-kmem
@@ -54,7 +52,7 @@ PRE_BUILD="configure
     }
   )
 "
-POST_INSTALL="scripts/dkms.postinst
+POST_BUILD="scripts/dkms.postbuild
   -n \${PACKAGE_NAME}
   -v \${PACKAGE_VERSION}
   -a \${arch}