Source-Changes-HG archive

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

[src/trunk]: src/distrib/common support MDSET_NOSTRIP.${FILENAME}



details:   https://anonhg.NetBSD.org/src/rev/40300326f8c7
branches:  trunk
changeset: 526768:40300326f8c7
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri May 10 02:31:45 2002 +0000

description:
support MDSET_NOSTRIP.${FILENAME}

diffstat:

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

diffs (28 lines):

diff -r de711d95035a -r 40300326f8c7 distrib/common/Makefile.mdset
--- a/distrib/common/Makefile.mdset     Thu May 09 21:54:32 2002 +0000
+++ b/distrib/common/Makefile.mdset     Fri May 10 02:31:45 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.mdset,v 1.15 2002/05/08 21:44:55 lukem Exp $
+#      $NetBSD: Makefile.mdset,v 1.16 2002/05/10 02:31:45 lukem Exp $
 #
 # Makefile snippet to ${MDSETIMAGE} file system images into kernels
 #
@@ -21,6 +21,8 @@
 # Optional variables:
 #      MDSET_RELEASEDIR                Where to install release kernels.
 #
+#      MDSET_NOSTRIP.${FILENAME}       If defined, don't strip ${FILENAME}
+#
 #      MDSET_NOSYMBOLS.${FILENAME}     If defined, don't generate
 #                                      ${FILENAME}.symbols.gz
 #
@@ -91,7 +93,9 @@
 .if !defined(MDSET_NOSYMBOLS.${_FILENAME})
        ${NM} ${.TARGET} | gzip -9 > ${.TARGET}.symbols.gz
 .endif
+.if !defined(MDSET_NOSTRIP.${_FILENAME})
        ${STRIP} ${.TARGET}
+.endif
 .if defined(MDSET_POST.${_FILENAME})
        ${_POST.${.TARGET}}
 .endif



Home | Main Index | Thread Index | Old Index