Remove the .comment and .ident sections when stripping kernels.
Saves about 4k from all the install floppies
This commit is contained in:
parent
d92e6963e4
commit
64d44bfc5f
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.mdset,v 1.25 2004/05/04 02:52:05 lukem Exp $
|
||||
# $NetBSD: Makefile.mdset,v 1.26 2004/06/06 21:44:52 dsl Exp $
|
||||
#
|
||||
# Makefile snippet to ${TOOL_MDSETIMAGE} file system images into kernels
|
||||
#
|
||||
@ -112,7 +112,7 @@ ${_KERNEL.${_K}.${_F}}: .NOTMAIN ${_KERNNAME.${_K}.${_F}} ${_I}
|
||||
${NM} ${.TARGET}.tmp | gzip -9 > ${.TARGET}.symbols.gz
|
||||
.endif
|
||||
.if !defined(MDSET_NOSTRIP.${_FILENAME}) && !defined(MDSET_NOSTRIP)
|
||||
${STRIP} ${.TARGET}.tmp
|
||||
${STRIP} -R .comment -R .ident ${.TARGET}.tmp
|
||||
.endif
|
||||
@mv ${.TARGET}.tmp ${.TARGET}
|
||||
.if defined(MDSET_POST.${_FILENAME})
|
||||
|
Loading…
Reference in New Issue
Block a user