Source-Changes-HG archive

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

[src/trunk]: src/distrib/sun2/miniroot - call ${INSTALLBOOT} with -m ${MACHINE}



details:   https://anonhg.NetBSD.org/src/rev/a600c82634ae
branches:  trunk
changeset: 526138:a600c82634ae
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Apr 26 02:51:47 2002 +0000

description:
- call ${INSTALLBOOT} with -m ${MACHINE}
- use check_RELEASEDIR

diffstat:

 distrib/sun2/miniroot/Makefile |  13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diffs (36 lines):

diff -r 140a29b30c46 -r a600c82634ae distrib/sun2/miniroot/Makefile
--- a/distrib/sun2/miniroot/Makefile    Fri Apr 26 02:48:54 2002 +0000
+++ b/distrib/sun2/miniroot/Makefile    Fri Apr 26 02:51:47 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2002/04/22 21:17:57 fredette Exp $
+#      $NetBSD: Makefile,v 1.7 2002/04/26 02:51:47 lukem Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -26,7 +26,8 @@
 realall: ${IMG} ib.stamp
 
 ib.stamp: ${IMG}
-       ${INSTALLBOOT} -v ${IMG} ${DESTDIR}/usr/mdec/bootxx /ufsboot
+       ${INSTALLBOOT} -m ${MACHINE} -v ${IMG} \
+           ${DESTDIR}/usr/mdec/bootxx /ufsboot
        touch ib.stamp
 
 install.sub : ${TOP}/../miniroot/install.sub
@@ -35,15 +36,9 @@
 ${IMAGE}.gz: ${IMAGE}
        gzip -c -9 < ${IMAGE} > ${IMAGE}.gz
 
-.if !defined(RELEASEDIR)
-release:
-       @echo setenv RELEASEDIR before doing that!
-       @false
-.else  # RELEASEDIR
-release: ${IMAGE}.gz
+release: check_RELEASEDIR .WAIT ${IMAGE}.gz
        -mkdir -p ${RELEASEDIR}/installation/miniroot
        ${RELINSTALL} ${IMAGE}.gz ${RELEASEDIR}/installation/miniroot
-.endif # RELEASEDIR
 
 .include "${DISTRIBDIR}/common/Makefile.makedev"
 .include "${DISTRIBDIR}/common/Makefile.image"



Home | Main Index | Thread Index | Old Index