summaryrefslogtreecommitdiff
path: root/distrib/sparc64/cdfs/Makefile
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-10-12 21:56:00 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-10-12 21:56:00 +0000
commitd3d91983f408b5141771e755b46f0d7fef365093 (patch)
treea8a12cb6b6cf980315ff6573945767c9efa283a4 /distrib/sparc64/cdfs/Makefile
parente53a425b6e17dc3d47ed97236b5b4a1f1d6b9d8c (diff)
cdfs becomes miniroot
Diffstat (limited to 'distrib/sparc64/cdfs/Makefile')
-rw-r--r--distrib/sparc64/cdfs/Makefile56
1 files changed, 0 insertions, 56 deletions
diff --git a/distrib/sparc64/cdfs/Makefile b/distrib/sparc64/cdfs/Makefile
deleted file mode 100644
index b2e5a11860f..00000000000
--- a/distrib/sparc64/cdfs/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# $OpenBSD: Makefile,v 1.3 2001/10/12 18:56:08 jason Exp $
-
-TARGET=cd.fs
-
-.ifndef DESTDIR
-all ${TARGET}:
- @echo setenv DESTDIR before making a ramdisk!
- @false
-.else
-
-all: ${TARGET}
-
-${TARGET}: vn_up install_files installboot showit vn_down
-
-vn_up: blank_filesystem
- vnconfig svnd0 ${TARGET}
- disklabel -w svnd0 fakeramdisk
- newfs -m 0 /dev/rsvnd0a
- mount /dev/svnd0a /mnt
-
-showit:
- df -ki /mnt
-
-vn_down:
- -umount /mnt
- -vnconfig -u svnd0
-
-install_files: bsd.rd ofwboot
-
-bsd.rd:
- install -c -m 555 -o root -g wheel \
- ${.OBJDIR}/../bsd.rd/bsd.rd /mnt/bsd
-
-ofwboot:
- install -c -m 555 -o root -g wheel \
- ${DESTDIR}/usr/mdec/ofwboot /mnt/ofwboot
-
-installboot:
- /usr/mdec/installboot -v ${DESTDIR}/usr/mdec/bootblk /dev/svnd0c
-
-blank_filesystem:
- dd if=/dev/zero of=${TARGET} bs=512 count=3200
-
-.endif
-
-install:
- cp cd.fs ${DESTDIR}/snapshot/
-
-clean:
- rm -f ${TARGET}
-
-
-.include <bsd.own.mk>
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
-