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} \\
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
}
)
"
-POST_INSTALL="scripts/dkms.postinst
+POST_BUILD="scripts/dkms.postbuild
-n \${PACKAGE_NAME}
-v \${PACKAGE_VERSION}
-a \${arch}