Module Name: src
Committed By: christos
Date: Tue Sep 20 20:55:54 UTC 2016
Modified Files:
src/distrib/common: Makefile.mdset
Log Message:
Add the ability to specify more sections to strip.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/distrib/common/Makefile.mdset
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/common/Makefile.mdset
diff -u src/distrib/common/Makefile.mdset:1.40 src/distrib/common/Makefile.mdset:1.41
--- src/distrib/common/Makefile.mdset:1.40 Tue Aug 5 11:40:58 2014
+++ src/distrib/common/Makefile.mdset Tue Sep 20 16:55:54 2016
@@ -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 @@ ${_KERNEL.${_K}.${_F}}: .NOTMAIN ${_KERN
${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)