Module Name:    src
Committed By:   mrg
Date:           Sun Aug 28 08:03:50 UTC 2011

Modified Files:
        src/sys/arch/sparc/stand/boot: Makefile

Log Message:
emit some linker -Map files so that we can figure out what symbols
in the boot loaders are.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/sparc/stand/boot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc/stand/boot/Makefile
diff -u src/sys/arch/sparc/stand/boot/Makefile:1.37 src/sys/arch/sparc/stand/boot/Makefile:1.38
--- src/sys/arch/sparc/stand/boot/Makefile:1.37	Sat Jan 22 19:19:23 2011
+++ src/sys/arch/sparc/stand/boot/Makefile	Sun Aug 28 08:03:49 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.37 2011/01/22 19:19:23 joerg Exp $
+#	$NetBSD: Makefile,v 1.38 2011/08/28 08:03:49 mrg Exp $
 
 STRIPFLAG=
 PROGSOURCE=	boot.c net.c netif_sun.c conf.c openfirm.c bootinfo.c \
@@ -26,7 +26,7 @@
 
 OBJS=${SRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
 
-LINKFLAGS=-N -e start
+LINKFLAGS=-N -e start -Map $@.map
 
 .MAIN: all
 realall: ${FILES}
@@ -43,6 +43,7 @@
 	${SIZE} ${.TARGET}.tmp
 	${OBJCOPY} -O binary ${.TARGET}.tmp ${.TARGET}
 	rm -f ${.TARGET}.tmp
+CLEANFILES+=	boot.${RELOC}.map
 .endfor
 
 # conjure up a magic header that is accepted by all Sun PROMS;
@@ -57,5 +58,6 @@
 	${LD} -o ${.TARGET} ${LINKFLAGS} -Ttext 300000 ${OBJS} \
 	    ${LIBSA} ${LIBZ} ${LIBKERN}
 	${SIZE} ${.TARGET}
+CLEANFILES+=	bootjs.net.map
 
 .include <bsd.prog.mk>

Reply via email to