mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 23:28:37 -04:00
Start to usher INSTALL_NODEBUG hack out the door. Add new
WITH{OUT,}_KERNEL_SYMBOLS (defaulting to WITH). In the fullness of
time, likely around 2020, INSTALL_NODEBUG will be removed. For now,
don't print a warning when using INSTALL_NODEBUG, but that will be
coming soon.
This commit is contained in:
parent
8cd02d00be
commit
d380e0d209
3 changed files with 4 additions and 3 deletions
|
|
@ -335,6 +335,7 @@ __DEFAULT_YES_OPTIONS = \
|
|||
IPX \
|
||||
JAIL \
|
||||
KERBEROS \
|
||||
KERNEL_SYMBOLS \
|
||||
KVM \
|
||||
LEGACY_CONSOLE \
|
||||
LIB32 \
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ kernel-install:
|
|||
.endif
|
||||
mkdir -p ${DESTDIR}${KODIR}
|
||||
${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO} ${DESTDIR}${KODIR}
|
||||
.if defined(DEBUG) && !defined(INSTALL_NODEBUG)
|
||||
.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} == "yes"
|
||||
${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.symbols ${DESTDIR}${KODIR}
|
||||
.endif
|
||||
.if defined(KERNEL_EXTRA_INSTALL)
|
||||
|
|
@ -239,7 +239,7 @@ kernel-install:
|
|||
kernel-reinstall:
|
||||
@-chflags -R noschg ${DESTDIR}${KODIR}
|
||||
${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO} ${DESTDIR}${KODIR}
|
||||
.if defined(DEBUG) && !defined(INSTALL_NODEBUG)
|
||||
.if defined(DEBUG) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} == "yes"
|
||||
${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.symbols ${DESTDIR}${KODIR}
|
||||
.endif
|
||||
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ realinstall: _kmodinstall
|
|||
_kmodinstall:
|
||||
${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
|
||||
${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}
|
||||
.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG)
|
||||
.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} == "yes"
|
||||
${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
|
||||
${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR}
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue