Source-Changes-HG archive

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

[src/trunk]: src/distrib/i386/ramdisks/common clean up CRUNCHBIN.map



details:   https://anonhg.NetBSD.org/src/rev/ce882ca66624
branches:  trunk
changeset: 360458:ce882ca66624
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Mar 13 02:22:43 2018 +0000

description:
clean up CRUNCHBIN.map

diffstat:

 distrib/i386/ramdisks/common/Makefile.ramdisk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r f498697a0662 -r ce882ca66624 distrib/i386/ramdisks/common/Makefile.ramdisk
--- a/distrib/i386/ramdisks/common/Makefile.ramdisk     Tue Mar 13 02:12:05 2018 +0000
+++ b/distrib/i386/ramdisks/common/Makefile.ramdisk     Tue Mar 13 02:22:43 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.ramdisk,v 1.12 2015/10/07 14:09:05 martin Exp $
+#      $NetBSD: Makefile.ramdisk,v 1.13 2018/03/13 02:22:43 mrg Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -33,7 +33,8 @@
 # This propogates through to the link of ramdiskbin
 # The map file is useful when trying to prune the image
 LDFLAGS+=      -Wl,-Map,${CRUNCHBIN}.map,--cref
-CRUNCHENV += LDFLAGS=${LDFLAGS:Q}
+CRUNCHENV+=    LDFLAGS=${LDFLAGS:Q}
+CLEANFILES+=   ${CRUNCHBIN}.map
 
 .if defined(USE_SYSINST)
 .if ${USE_SYSINST} != yes



Home | Main Index | Thread Index | Old Index