Module Name:    src
Committed By:   tsutsui
Date:           Mon Oct  4 15:56:53 UTC 2010

Modified Files:
        src/distrib/cats/instkernel: Makefile

Log Message:
Use consistent names for distribution RAMDISK kernels:
 netbsd.able-INSTALL.gz -> netbsd-INSTALL.ABLE.gz
 netbsd.aout-INSTALL.gz -> netbsd-INSTALL.aout.gz

XXX: Probably it's simpler to have default ELF (currently ABLE) kernels
XXX: and optional a.out ones for old firmware as sgimips does for ecoff ones.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/distrib/cats/instkernel/Makefile

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

Modified files:

Index: src/distrib/cats/instkernel/Makefile
diff -u src/distrib/cats/instkernel/Makefile:1.18 src/distrib/cats/instkernel/Makefile:1.19
--- src/distrib/cats/instkernel/Makefile:1.18	Thu Aug 20 14:43:06 2009
+++ src/distrib/cats/instkernel/Makefile	Mon Oct  4 15:56:53 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2009/08/20 14:43:06 skrll Exp $
+#	$NetBSD: Makefile,v 1.19 2010/10/04 15:56:53 tsutsui Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -6,19 +6,20 @@
 RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
 RAMDISK=	${RAMDISKDIR}/ramdisk.fs
 
-MDSETTARGETS=		INSTALL ${RAMDISK} netbsd.aout-INSTALL \
-			INSTALL.ABLE ${RAMDISK} netbsd.able-INSTALL
+MDSETTARGETS=		INSTALL ${RAMDISK} netbsd-INSTALL.aout \
+			INSTALL.ABLE ${RAMDISK} -
 MDSET_RELEASEDIR=	binary/kernel
 
 MDSET_NOSTRIP=		# defined
 
-MDSET_POST.netbsd.aout-INSTALL= \
+MDSET_POST.netbsd-INSTALL.aout= \
     ${OBJCOPY} -O a.out-arm-netbsd \
 	-R .debug_abbrev -R .debug_info -R .debug_line -R .debug_str \
 	-R .debug_frame -R .debug_loc -R .debug_pubnames -R .debug_aranges \
 	-R .ident -R .arm.atpcs -R .comment -R .note.netbsd.ident \
 	-R .ARM.attributes \
-	${.TARGET} ${.TARGET}
+	${.TARGET} ${.TARGET}.tmp ;\
+	mv ${.TARGET}.tmp ${.TARGET}
 
 .include "${DISTRIBDIR}/common/Makefile.mdset"
 

Reply via email to