From e376d28ce86135a12e3a9b31ca31fe80c59611be Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 21 Sep 2026 10:51:26 +0100 Subject: [PATCH] LINT: enable KLD_DEBUG Without this, no kernel config contained this option so it was easy to break. Sponsored by: Innovate UK --- sys/conf/NOTES | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index a51f471befa7..c9075d89c8ed 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -634,6 +634,11 @@ options NUM_CORE_FILES=5 options TSLOG options TSLOGSIZE=262144 +# +# The KLD_DEBUG debug option enables debug printfs in the kernel linker. +# +options KLD_DEBUG=3 + ##################################################################### # PERFORMANCE MONITORING OPTIONS