aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-10-25 09:05:07 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-10-25 09:05:07 +0000
commitd24864f7851894d6744e0b4de43e07cc3322c811 (patch)
tree617d23c99af5767601462992b8acd32eac8ac344 /release/Makefile
parent85155d23de914d9ae1c4a9e6cee1c3da625085a8 (diff)
downloadsrc-d24864f7851894d6744e0b4de43e07cc3322c811.tar.gz
src-d24864f7851894d6744e0b4de43e07cc3322c811.zip
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).
Notes
Notes: svn path=/head/; revision=151646
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 93e97ec56b89..9fc37610d2bf 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}