summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dkms.mkconf4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf
index c40d0e828..e1a49dca1 100755
--- a/scripts/dkms.mkconf
+++ b/scripts/dkms.mkconf
@@ -58,6 +58,10 @@ PRE_BUILD="configure
then
echo --enable-debug
fi
+ if [[ \${ZFS_DKMS_ENABLE_DEBUGINFO,,} == @(y|yes) ]]
+ then
+ echo --enable-debuginfo
+ fi
}
)
"