Source-Changes-HG archive

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

[src/trunk]: src/distrib/hpcmips build INSTKERNELS for system installation.



details:   https://anonhg.NetBSD.org/src/rev/1923f725dc83
branches:  trunk
changeset: 508911:1923f725dc83
user:      shin <shin%NetBSD.org@localhost>
date:      Sun Apr 22 02:04:22 2001 +0000

description:
build INSTKERNELS for system installation.

diffstat:

 distrib/hpcmips/Makefile |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 3165400b1f55 -r 1923f725dc83 distrib/hpcmips/Makefile
--- a/distrib/hpcmips/Makefile  Sun Apr 22 02:03:05 2001 +0000
+++ b/distrib/hpcmips/Makefile  Sun Apr 22 02:04:22 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2000/08/30 23:51:49 jhawk Exp $
+#      $NetBSD: Makefile,v 1.4 2001/04/22 02:04:22 shin Exp $
 
 .include "../Makefile.inc"
 
@@ -16,6 +16,8 @@
 PBSDBOOT = ${PBSDBOOTDIR}/pbsdboot.exe
 PBSDBOOT1 = ${PBSDBOOTDIR}/pbsdboot1.exe
 
+INSTKERNELS = TX3912 TX3922
+
 .ifndef RELEASEDIR
 release:
        @echo setenv RELEASEDIR first
@@ -30,7 +32,14 @@
        mdsetimage netbsd ${MINIROOTOBJ}/miniroot.fs
        gzip -9 netbsd
        ${IINST} netbsd.gz ${ITARGET}/.
-       cd ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot; ${MAKE}
+.for instkern in ${INSTKERNELS}
+       rm -f netbsd netbsd.gz
+       cp ${KERNOBJDIR}/INSTALL_${instkern}/netbsd .
+       mdsetimage netbsd ${MINIROOTOBJ}/miniroot.fs
+       gzip -9 netbsd
+       ${IINST} netbsd.gz ${ITARGET}/netbsd.${instkern}.gz
+.endfor
+       cd ${KERNSRCDIR}/arch/${MACHINE}/stand/pbsdboot; make
        ${IINST} ${PBSDBOOT} ${ITARGET}/.
        ${IINST} ${PBSDBOOT1} ${ITARGET}/.
        ${.CURDIR}/../sets/makesums -t ${ITARGET} '*.gz' '*.exe'



Home | Main Index | Thread Index | Old Index