From e0e4dc48e011f1e47a5431a6f27e9e86209d4c14 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 20 Sep 2016 20:55:54 +0000 Subject: [PATCH] Add the ability to specify more sections to strip. --- distrib/common/Makefile.mdset | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/common/Makefile.mdset b/distrib/common/Makefile.mdset index 6844642ea71f..cf70f2e67cef 100644 --- a/distrib/common/Makefile.mdset +++ b/distrib/common/Makefile.mdset @@ -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 ${_KERNNAME.${_K}.${_F}} ${_I} ${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)