diff options
-rw-r--r-- | sys/conf/Makefile.alpha | 3 | ||||
-rw-r--r-- | sys/conf/Makefile.ia64 | 3 | ||||
-rw-r--r-- | sys/conf/Makefile.pc98 | 3 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha index 6f2a2eb..f9d67c8 100644 --- a/sys/conf/Makefile.alpha +++ b/sys/conf/Makefile.alpha @@ -314,6 +314,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 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 diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 47b9f3c..be84449 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) diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index c7a1d84..9ca5d4b 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -275,6 +275,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 |