Tue Mar 13 02:22:43 2018 UTC ()
clean up CRUNCHBIN.map


(mrg)
diff -r1.12 -r1.13 src/distrib/i386/ramdisks/common/Makefile.ramdisk

cvs diff -r1.12 -r1.13 src/distrib/i386/ramdisks/common/Makefile.ramdisk (expand / switch to unified diff)

--- src/distrib/i386/ramdisks/common/Makefile.ramdisk 2015/10/07 14:09:05 1.12
+++ src/distrib/i386/ramdisks/common/Makefile.ramdisk 2018/03/13 02:22:43 1.13
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.ramdisk,v 1.12 2015/10/07 14:09:05 martin Exp $ 1# $NetBSD: Makefile.ramdisk,v 1.13 2018/03/13 02:22:43 mrg Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5 5
6I386COMMON= ${.CURDIR}/../common 6I386COMMON= ${.CURDIR}/../common
7 7
8.PATH: ${I386COMMON} 8.PATH: ${I386COMMON}
9 9
10WARNS= 1 10WARNS= 1
11DBG= -Os 11DBG= -Os
12 12
13CRUNCHBIN= ramdiskbin 13CRUNCHBIN= ramdiskbin
14 14
@@ -23,27 +23,28 @@ IMAGEDEPENDS+= ${CRUNCHBIN} \ @@ -23,27 +23,28 @@ IMAGEDEPENDS+= ${CRUNCHBIN} \
23 ${DESTDIR}/usr/mdec/bootxx_ffsv1 \ 23 ${DESTDIR}/usr/mdec/bootxx_ffsv1 \
24 ${DESTDIR}/usr/mdec/mbr \ 24 ${DESTDIR}/usr/mdec/mbr \
25 ${DESTDIR}/usr/mdec/mbr_ext \ 25 ${DESTDIR}/usr/mdec/mbr_ext \
26 ${DESTDIR}/usr/mdec/mbr_bootsel \ 26 ${DESTDIR}/usr/mdec/mbr_bootsel \
27 ${DESTDIR}/usr/mdec/gptmbr.bin \ 27 ${DESTDIR}/usr/mdec/gptmbr.bin \
28 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 28 ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
29 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 29 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
30 ${DISTRIBDIR}/common/services 30 ${DISTRIBDIR}/common/services
31PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q} 31PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q}
32 32
33# This propogates through to the link of ramdiskbin 33# This propogates through to the link of ramdiskbin
34# The map file is useful when trying to prune the image 34# The map file is useful when trying to prune the image
35LDFLAGS+= -Wl,-Map,${CRUNCHBIN}.map,--cref 35LDFLAGS+= -Wl,-Map,${CRUNCHBIN}.map,--cref
36CRUNCHENV += LDFLAGS=${LDFLAGS:Q} 36CRUNCHENV+= LDFLAGS=${LDFLAGS:Q}
 37CLEANFILES+= ${CRUNCHBIN}.map
37 38
38.if defined(USE_SYSINST) 39.if defined(USE_SYSINST)
39.if ${USE_SYSINST} != yes 40.if ${USE_SYSINST} != yes
40LISTS+= ${DISTRIBDIR}/common/list.sysinst.${USE_SYSINST} 41LISTS+= ${DISTRIBDIR}/common/list.sysinst.${USE_SYSINST}
41.else 42.else
42LISTS+= ${DISTRIBDIR}/common/list.sysinst 43LISTS+= ${DISTRIBDIR}/common/list.sysinst
43.endif 44.endif
44MAKEFS_FLAGS+= -f 14 45MAKEFS_FLAGS+= -f 14
45.endif 46.endif
46 47
47# Use stubs to eliminate some large stuff from libc 48# Use stubs to eliminate some large stuff from libc
48HACKSRC= ${DISTRIBDIR}/utils/libhack 49HACKSRC= ${DISTRIBDIR}/utils/libhack
49.include "${HACKSRC}/Makefile.inc" 50.include "${HACKSRC}/Makefile.inc"