diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-08-02 09:22:18 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-08-02 09:22:18 +0000 |
commit | c0f2ee660652bdd8e5e2746f0d65f00a52c54b96 (patch) | |
tree | 60fabe96b8a39f282f389d0b12eca1557f5c3bc1 /sys/conf/Makefile.i386 | |
parent | 09383e1eceec397ac112cfaf1db425e914d8b259 (diff) | |
download | FreeBSD-src-c0f2ee660652bdd8e5e2746f0d65f00a52c54b96.zip FreeBSD-src-c0f2ee660652bdd8e5e2746f0d65f00a52c54b96.tar.gz |
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.
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r-- | sys/conf/Makefile.i386 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 7465db0..157be9a 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 |