mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
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
This commit is contained in:
parent
f5974d336f
commit
2cc33d7946
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81037
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user