From 2cc33d79460c4981d5d7f326110c56173b69493e Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Thu, 2 Aug 2001 10:56:59 +0000 Subject: When building a debugging kernel with modules, build modules with debugging support as well. This relies on support added in rev 1.105 to kmod.mk. Requested by: peter --- sys/conf/Makefile.pc98 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/conf/Makefile.pc98') diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 47b9f3ceb3a1..be84449db36f 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -270,6 +270,9 @@ install.debug: modules-install.debug reinstall: modules-reinstall reinstall.debug: modules-reinstall.debug .endif +.if defined(DEBUG) +MKMODULESENV+= DEBUG="${DEBUG}" DEBUG_FLAGS="${DEBUG}" +.endif MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR} .if defined(MODULES_OVERRIDE) -- cgit v1.2.3