Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/distrib/vax/miniroot Pull up file removal (requested by...
details: https://anonhg.NetBSD.org/src/rev/5c236ed5a1f3
branches: netbsd-1-4
changeset: 471208:5c236ed5a1f3
user: he <he%NetBSD.org@localhost>
date: Sat Nov 04 19:42:15 2000 +0000
description:
Pull up file removal (requested by matt):
Bring VAX release building bits into shape. Use the common method
for building miniroots, fix ramdisk, use INSTALL kernel.
diffstat:
distrib/vax/miniroot/Makefile | 70 -------------------------------------------
1 files changed, 0 insertions(+), 70 deletions(-)
diffs (74 lines):
diff -r ad433efc4920 -r 5c236ed5a1f3 distrib/vax/miniroot/Makefile
--- a/distrib/vax/miniroot/Makefile Sat Nov 04 19:24:21 2000 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-# $NetBSD: Makefile,v 1.1 1999/03/12 18:36:52 ragge Exp $
-
-# TOP is assumed to be defined by Makefile including this one.
-
-TOP= ${.CURDIR}/..
-
-MOUNT_POINT?= /mnt
-VND?= vnd0
-VND_DEV= /dev/${VND}a
-VND_RDEV= /dev/r${VND}a
-VND_CDEV= /dev/${VND}c
-VND_CRDEV= /dev/r${VND}c
-IMAGE?= miniroot.fs
-KERN?= ${.CURDIR}/../../../sys/arch/vax/compile/INSTALL/netbsd
-MDEC= ${DESTDIR}/usr/mdec
-STRIP?= strip
-
-LISTS= ${.CURDIR}/list
-RAMDISK !=cd $(.CURDIR)/../ramdisk/; \
- printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
- ${MAKE} -s -f-
-
-DISKTYPE?= rx33
-DISKSIZE?= 2400
-
-# Some reasonable values for the -i parameter to newfs are:
-#
-# 6144 1147k, 189 inodes free
-# 16384 1159k, 93 inodes free
-# 204800 1167k, 29 inodes free
-INO_BYTES?= 204800
-
-CLEANFILES+= netbsd.ram.gz
-
-all: netbsd.ram.gz
- dd if=/dev/zero of=${IMAGE} count=${DISKSIZE}
- vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
- disklabel -rw ${VND_CDEV} ${DISKTYPE}
- newfs -m 0 -o space -i ${INO_BYTES} -c 80 ${VND_RDEV} ${DISKTYPE}
- mount ${VND_DEV} ${MOUNT_POINT}
- TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
- TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
- @echo ""
- @df -i ${MOUNT_POINT}
- @echo ""
- @echo "installing new bootblocks"
- -disklabel ${VND} > blks
- disklabel -R -r ${VND} blks
- rm -f blks
- disklabel -B -b ${MDEC}/xxboot ${VND}
- umount ${MOUNT_POINT}
- vnconfig -u ${VND_CDEV}
-
-unconfig:
- -umount -f ${MOUNT_POINT}
- -vnconfig -u ${VND_DEV}
- -/bin/rm -f ${IMAGE}
-
-netbsd.ram.gz: ${KERN} ${RAMDISK}
- cp ${KERN} netbsd.tmp
- mdsetimage -v netbsd.tmp ${RAMDISK}
- ${STRIP} netbsd.tmp
- gzip netbsd.tmp
- mv netbsd.tmp.gz ${.TARGET}
-
-clean cleandir distclean:
- /bin/rm -f *.core ${IMAGE} ${CLEANFILES}
-
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
Home |
Main Index |
Thread Index |
Old Index