Source-Changes-HG archive

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

[src/trunk]: src/distrib/cats/instkernel Use consistent names for distributio...



details:   https://anonhg.NetBSD.org/src/rev/e227134218e1
branches:  trunk
changeset: 757928:e227134218e1
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Oct 04 15:56:53 2010 +0000

description:
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.

diffstat:

 distrib/cats/instkernel/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r c790896b4785 -r e227134218e1 distrib/cats/instkernel/Makefile
--- a/distrib/cats/instkernel/Makefile  Mon Oct 04 13:58:43 2010 +0000
+++ b/distrib/cats/instkernel/Makefile  Mon Oct 04 15:56:53 2010 +0000
@@ -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"
 



Home | Main Index | Thread Index | Old Index