summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-10-25 09:05:07 +0000
committerru <ru@FreeBSD.org>2005-10-25 09:05:07 +0000
commit8bd59b71f57599ff5cd91b807994fbc8222cacf0 (patch)
tree617d23c99af5767601462992b8acd32eac8ac344 /release/Makefile
parentfc5c353586e6e3c787f2fde21ebd9e4332c44c11 (diff)
downloadFreeBSD-src-8bd59b71f57599ff5cd91b807994fbc8222cacf0.zip
FreeBSD-src-8bd59b71f57599ff5cd91b807994fbc8222cacf0.tar.gz
Refactor (some more) installation of kernel and module objects.
Try to make everyone happy: David (to have debug kernels installed by default), Warner (to be able to override that), and myself (for actually making it all work and to be consistent). Now, if kernel was configured for debugging (through DEBUG=-g in the kernel config file or "config -g"), doing "make install" will install debug versions of kernel and module objects with their canonical names, kernel.debug -> /boot/kernel/kernel if_fxp.ko.debug -> /boot/kernel/if_fxp.ko Installing a kernel not configured for debugging, or debug kernel with INSTALL_NODEBUG variable defined, will install non-debug kernel and module objects. Also, restore the install.debug and reinstall.debug targets that are part of the existing API (they cause some additional gdb(1) scripts to be installed).
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/release/Makefile b/release/Makefile
index 93e97ec..9fc3761 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -583,10 +583,6 @@ release.3:
cd ${.CURDIR}/..; \
${CROSSMAKE} ${KERNEL_FLAGS} \
kernel \
- DESTDIR=${RD}/trees/base; \
- cd ${.CURDIR}/..; \
- ${CROSSMAKE} ${KERNEL_FLAGS} -DNO_MODULES \
- reinstallkernel -DINSTALL_DEBUG \
DESTDIR=${RD}/trees/base
touch ${.TARGET}
OpenPOWER on IntegriCloud