Source-Changes-HG archive

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

[src/trunk]: src/distrib/common Add the ability to specify more sections to s...



details:   https://anonhg.NetBSD.org/src/rev/b1f05f7da77d
branches:  trunk
changeset: 347876:b1f05f7da77d
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 20 20:55:54 2016 +0000

description:
Add the ability to specify more sections to strip.

diffstat:

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

diffs (18 lines):

diff -r 94e6def6d525 -r b1f05f7da77d distrib/common/Makefile.mdset
--- a/distrib/common/Makefile.mdset     Tue Sep 20 20:55:11 2016 +0000
+++ b/distrib/common/Makefile.mdset     Tue Sep 20 20:55:54 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.mdset,v 1.40 2014/08/05 15:40:58 apb Exp $
+#      $NetBSD: Makefile.mdset,v 1.41 2016/09/20 20:55:54 christos Exp $
 #
 # Makefile snippet to ${TOOL_MDSETIMAGE} file system images into kernels
 #
@@ -153,7 +153,7 @@
        ${NM} ${.TARGET}.tmp | ${TOOL_GZIP_N} -9 > ${.TARGET}.symbols.gz
 .endif
 .if !defined(MDSET_NOSTRIP.${_FILENAME}) && !defined(MDSET_NOSTRIP)
-       ${STRIP} -R .eh_frame -R .eh_frame_hdr -R .comment -R .ident ${.TARGET}.tmp
+       ${STRIP} -R .eh_frame -R .eh_frame_hdr -R .comment -R .ident ${MDSET_STRIPSECTIONS} ${.TARGET}.tmp
 .endif
        @mv ${.TARGET}.tmp ${.TARGET}
 .if defined(MDSET_POST.${_FILENAME}) || defined(MDSET_POST)



Home | Main Index | Thread Index | Old Index