diff options
author | ru <ru@FreeBSD.org> | 2005-10-27 17:39:03 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-10-27 17:39:03 +0000 |
commit | 52e2c4ab81d813cf748c0b3ee987d37565d3e6fa (patch) | |
tree | 6837af7af3a2bcc6acce2c09f91314ab5611530a /sys/conf/kern.post.mk | |
parent | a7925ad2d6c836d570a8a97769967eb1d6cea5da (diff) | |
download | FreeBSD-src-52e2c4ab81d813cf748c0b3ee987d37565d3e6fa.zip FreeBSD-src-52e2c4ab81d813cf748c0b3ee987d37565d3e6fa.tar.gz |
Rename the .dbg extension to .symbols, which matches "symbol-file"
gdb(1) command better, though I must admit it's confusing: these
files have not only [debugging] symbols, but much more than that.
Requested by: obrien
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r-- | sys/conf/kern.post.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 7335822..4b29211 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -63,10 +63,10 @@ modules-all modules-depend: modules-obj FULLKERNEL= ${KERNEL_KO} .else FULLKERNEL= ${KERNEL_KO}.debug -${KERNEL_KO}: ${FULLKERNEL} ${KERNEL_KO}.dbg - ${OBJCOPY} --strip-debug --add-gnu-debuglink=${KERNEL_KO}.dbg\ +${KERNEL_KO}: ${FULLKERNEL} ${KERNEL_KO}.symbols + ${OBJCOPY} --strip-debug --add-gnu-debuglink=${KERNEL_KO}.symbols\ ${FULLKERNEL} ${.TARGET} -${KERNEL_KO}.dbg: ${FULLKERNEL} +${KERNEL_KO}.symbols: ${FULLKERNEL} ${OBJCOPY} --only-keep-debug ${FULLKERNEL} ${.TARGET} install.debug reinstall.debug: gdbinit cd ${.CURDIR}; ${MAKE} ${.TARGET:R} @@ -108,7 +108,7 @@ ${mfile:T:S/.m$/.h/}: ${mfile} kernel-clean: rm -f *.o *.so *.So *.ko *.s eddep errs \ - ${FULLKERNEL} ${KERNEL_KO} ${KERNEL_KO}.dbg \ + ${FULLKERNEL} ${KERNEL_KO} ${KERNEL_KO}.symbols \ linterrs makelinks tags vers.c \ vnode_if.c vnode_if.h vnode_if_newproto.h vnode_if_typedef.h \ ${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \ @@ -207,14 +207,14 @@ kernel-install: mkdir -p ${DESTDIR}${KODIR} ${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO} ${DESTDIR}${KODIR} .if defined(DEBUG) && !defined(INSTALL_NODEBUG) - ${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO}.dbg ${DESTDIR}${KODIR} + ${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO}.symbols ${DESTDIR}${KODIR} .endif kernel-reinstall: @-chflags -R noschg ${DESTDIR}${KODIR} ${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO} ${DESTDIR}${KODIR} .if defined(DEBUG) && !defined(INSTALL_NODEBUG) - ${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO}.dbg ${DESTDIR}${KODIR} + ${INSTALL} -p -m 555 -o root -g wheel ${KERNEL_KO}.symbols ${DESTDIR}${KODIR} .endif config.o env.o hints.o vers.o vnode_if.o: |