aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.i386
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-08-02 09:22:18 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-08-02 09:22:18 +0000
commitf66116083c527535ef902da5326dca2dcc97ad35 (patch)
tree60fabe96b8a39f282f389d0b12eca1557f5c3bc1 /sys/conf/Makefile.i386
parent4866e2769a0db1557c34128c46a709e2174c86a5 (diff)
downloadsrc-f66116083c527535ef902da5326dca2dcc97ad35.tar.gz
src-f66116083c527535ef902da5326dca2dcc97ad35.zip
When building a debugging kernel with modules, build modules with
debugging support as well. Debugging module support is handled identically to kernel debugging support, right down to poor choice of make variable names.
Notes
Notes: svn path=/head/; revision=81031
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r--sys/conf/Makefile.i3863
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 7465db03fe0e..157be9aa8575 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -272,6 +272,9 @@ MKMODULESENV= MAKEOBJDIRPREFIX=${.OBJDIR}/modules KMODDIR=${KODIR}
.if defined(MODULES_OVERRIDE)
MKMODULESENV+= MODULES_OVERRIDE="${MODULES_OVERRIDE}"
.endif
+.if defined(DEBUG)
+MKMODULESENV+= DEBUG="${DEBUG}" DEBUG_FLAGS="${DEBUG}"
+.endif
modules:
@mkdir -p ${.OBJDIR}/modules