Source-Changes-HG archive

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

[src/trunk]: src/distrib/vax make snap_md_post do the right thing.



details:   https://anonhg.NetBSD.org/src/rev/878d9aae442e
branches:  trunk
changeset: 486988:878d9aae442e
user:      matt <matt%NetBSD.org@localhost>
date:      Wed May 31 21:51:27 2000 +0000

description:
make snap_md_post do the right thing.

diffstat:

 distrib/vax/Makefile     |  21 ++++++++++++++++++++-
 distrib/vax/Makefile.inc |   3 ++-
 2 files changed, 22 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 36879cdfea50 -r 878d9aae442e distrib/vax/Makefile
--- a/distrib/vax/Makefile      Wed May 31 21:09:48 2000 +0000
+++ b/distrib/vax/Makefile      Wed May 31 21:51:27 2000 +0000
@@ -1,5 +1,24 @@
-#      $NetBSD: Makefile,v 1.4 2000/05/23 18:36:04 matt Exp $
+#      $NetBSD: Makefile,v 1.5 2000/05/31 21:51:27 matt Exp $
+
+.include <bsd.own.mk>          # Use /etc/mk.conf.
+
+ITARGET=       ${RELEASEDIR}/installation
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
+               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
 
 SUBDIR= ramdisk ramdisk-kernel #inst tk50 rx50 rx33
 
 .include <bsd.subdir.mk>
+
+.ifndef RELEASEDIR
+release:
+       @echo setenv RELEASEDIR first
+       @false
+.else
+INSTKERNOBJ != cd ramdisk-kernel; make print-objdir
+BOOTOBJ != cd ${.CURDIR}/../../sys/arch/vax/boot/boot; make print-objdir
+
+release:
+       ${IINST} ${BOOTOBJ}/boot.mop ${ITARGET}/netboot/
+       ${IINST} ${INSTKERNOBJ}/netbsd.INSTALL.gz ${ITARGET}/netboot/netbsd.ram.gz
+.endif
diff -r 36879cdfea50 -r 878d9aae442e distrib/vax/Makefile.inc
--- a/distrib/vax/Makefile.inc  Wed May 31 21:09:48 2000 +0000
+++ b/distrib/vax/Makefile.inc  Wed May 31 21:51:27 2000 +0000
@@ -1,5 +1,6 @@
-#      $NetBSD: Makefile.inc,v 1.6 2000/05/18 02:12:45 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2000/05/31 21:51:27 matt Exp $
 
 .include "../../Makefile.inc"
+.include <bsd.own.mk>
 
 REV!=sh ${.CURDIR}/../../..//sys/conf/osrelease.sh -s



Home | Main Index | Thread Index | Old Index