summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.ia64
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-08-02 10:56:59 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-08-02 10:56:59 +0000
commit09f2ade6f1c521011c3287bf96ee11c463f39297 (patch)
tree3e0760eeb7454ccb7c8567319757b3134a6aa104 /sys/conf/Makefile.ia64
parent78112d89854b6b9668fb096ce5eda367bd92d4f7 (diff)
downloadFreeBSD-src-09f2ade6f1c521011c3287bf96ee11c463f39297.zip
FreeBSD-src-09f2ade6f1c521011c3287bf96ee11c463f39297.tar.gz
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
Diffstat (limited to 'sys/conf/Makefile.ia64')
-rw-r--r--sys/conf/Makefile.ia643
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64
index a4d47bb..febe7ae 100644
--- a/sys/conf/Makefile.ia64
+++ b/sys/conf/Makefile.ia64
@@ -277,6 +277,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
OpenPOWER on IntegriCloud