Source-Changes-HG archive

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

[src/trunk]: src/distrib/pmax/miniroot Define the disklabel prototype as a co...



details:   https://anonhg.NetBSD.org/src/rev/1fd7ac4ccf7d
branches:  trunk
changeset: 471961:1fd7ac4ccf7d
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Apr 16 13:31:40 1999 +0000

description:
Define the disklabel prototype as a conditionally set variable so that
it can be overriden.

diffstat:

 distrib/pmax/miniroot/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 4c997eec2b05 -r 1fd7ac4ccf7d distrib/pmax/miniroot/Makefile.inc
--- a/distrib/pmax/miniroot/Makefile.inc        Fri Apr 16 13:28:22 1999 +0000
+++ b/distrib/pmax/miniroot/Makefile.inc        Fri Apr 16 13:31:40 1999 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile.inc,v 1.2 1999/03/15 20:54:54 is Exp $
+#      $NetBSD: Makefile.inc,v 1.3 1999/04/16 13:31:40 simonb Exp $
 
 VND=           vnd0c
 #IMAGESIZE?=   8192 # 512 byte blocks
 IMAGESIZE?=    65536 # 512 byte blocks: full 32-meg root.
 NEWFSOPTS?=    -c 64 -B le
 DISKTYPE?=     miniroot
+LABELPROTO?=   ${.CURDIR}/../${MACHINE}/miniroot/diskimage.label.proto
 
 #
 # install bootblock, so that we can boot from there
@@ -18,7 +19,7 @@
 # that instructs kernel to recompute  label from # SCSI geometry info
 # (since one install method is to dd this onto the start of a disk.)
 BOOTINSTALL= ${DESTDIR}/sbin/disklabel -r -R ${PMAX_MDEC_CMD} ${VND_RDEV} \
-       ${.CURDIR}/../${MACHINE}/miniroot/diskimage.label.proto
+       ${LABELPROTO}
 
 #  Write preliminary Label so that newfs succeeds when updating label.
 PRELABEL=${LABEL_CMD}  ${DISKTYPE}



Home | Main Index | Thread Index | Old Index