Source-Changes-HG archive

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

[src/trunk]: src/distrib/hpcmips install installation kernel and helper progr...



details:   https://anonhg.NetBSD.org/src/rev/6131fcc77bb3
branches:  trunk
changeset: 487747:6131fcc77bb3
user:      shin <shin%NetBSD.org@localhost>
date:      Mon Jun 12 12:39:20 2000 +0000

description:
install installation kernel and helper program (pbsdboot.exe).

diffstat:

 distrib/hpcmips/Makefile |  36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 5f5cdbcf6ad0 -r 6131fcc77bb3 distrib/hpcmips/Makefile
--- a/distrib/hpcmips/Makefile  Mon Jun 12 12:17:26 2000 +0000
+++ b/distrib/hpcmips/Makefile  Mon Jun 12 12:39:20 2000 +0000
@@ -1,5 +1,39 @@
-#      $NetBSD: Makefile,v 1.1.1.1 1999/09/16 12:13:17 takemura Exp $
+#      $NetBSD: Makefile,v 1.2 2000/06/12 12:39:20 shin Exp $
+
+.include "../Makefile.inc"
+
+.include <bsd.own.mk>
+.include <bsd.obj.mk>
+.include <bsd.kernobj.mk>
 
 SUBDIR=
 
+ITARGET=       ${RELEASEDIR}/installation
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
+               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
+
+PBSDBOOTDIR = ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot
+PBSDBOOT = ${PBSDBOOTDIR}/pbsdboot.exe
+PBSDBOOT1 = ${PBSDBOOTDIR}/pbsdboot1.exe
+
+.ifndef RELEASEDIR
+release:
+       @echo setenv RELEASEDIR first
+       @false
+.else
+MINIROOTDIR = ${.CURDIR}/../miniroot
+MINIROOTOBJ != cd ${MINIROOTDIR}; make print-objdir
+
+release:
+       rm -f netbsd netbsd.gz
+       cp ${KERNOBJDIR}/RAMDISK/netbsd .
+       mdsetimage netbsd ${MINIROOTOBJ}/miniroot.fs
+       gzip -9 netbsd
+       ${IINST} netbsd.gz ${ITARGET}/.
+       cd ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot; make
+       ${IINST} ${PBSDBOOT} ${ITARGET}/.
+       ${IINST} ${PBSDBOOT1} ${ITARGET}/.
+       ${.CURDIR}/../sets/makesums -t ${ITARGET} '*.gz' '*.exe'
+.endif
+
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index