diff options
author | grog <grog@FreeBSD.org> | 2003-12-29 06:40:00 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2003-12-29 06:40:00 +0000 |
commit | 4ac80b46115b19f6725fdb4edc6e6d670add5978 (patch) | |
tree | aeb05a962867aa7118f35d5d9ead649696221ac8 /sys/conf/kern.post.mk | |
parent | 68c11661958bd0d6a78fd9c4a89958e81af7b667 (diff) | |
download | FreeBSD-src-4ac80b46115b19f6725fdb4edc6e6d670add5978.zip FreeBSD-src-4ac80b46115b19f6725fdb4edc6e6d670add5978.tar.gz |
gdbinit target: Remove comment lines from dot.gdbinit. This allows us to
put dire warnings in the original and not find them in the installed version.
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r-- | sys/conf/kern.post.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 2c59b7e..ecea016 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -54,9 +54,10 @@ ${KERNEL_KO}: ${FULLKERNEL} install.debug reinstall.debug: gdbinit cd ${.CURDIR}; ${MAKE} -DINSTALL_DEBUG ${.TARGET:R} +# Install gdbinit files for kernel debugging gdbinit: - sed < ${S}/../tools/debugscripts/dot.gdbinit > .gdbinit \ - "s:MODPATH:${.OBJDIR}/modules:" + grep -v '# XXX' ${S}/../tools/debugscripts/dot.gdbinit \ + | sed "s:MODPATH:${.OBJDIR}/modules:" > .gdbinit cp ${S}/../tools/debugscripts/gdbinit.kernel \ ${S}/../tools/debugscripts/gdbinit.vinum ${.CURDIR} cp ${S}/../tools/debugscripts/gdbinit.${MACHINE_ARCH} \ |