Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/common Remove the .comment and .ident sections when ...



details:   https://anonhg.NetBSD.org/src/rev/219c71e901f7
branches:  trunk
changeset: 567270:219c71e901f7
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sun Jun 06 21:44:52 2004 +0000

description:
Remove the .comment and .ident sections when stripping kernels.
Saves about 4k from all the install floppies

diffstat:

 distrib/common/Makefile.mdset |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6401281a6e94 -r 219c71e901f7 distrib/common/Makefile.mdset
--- a/distrib/common/Makefile.mdset     Sun Jun 06 21:23:53 2004 +0000
+++ b/distrib/common/Makefile.mdset     Sun Jun 06 21:44:52 2004 +0000
@@ -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 @@
        ${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})



Home | Main Index | Thread Index | Old Index