summaryrefslogtreecommitdiff
path: root/distrib/arc/floppies/kernel/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-23 07:03:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-23 07:03:49 +0000
commit167cd3ec94f5d7dc06392b3bedf7f33a64976f1f (patch)
tree7b8e9a4bc235dc17d2d476426fb81c148889f138 /distrib/arc/floppies/kernel/Makefile
parent6c7ff16062098d9d58e84c7c641eb38ae8648194 (diff)
bye bye
Diffstat (limited to 'distrib/arc/floppies/kernel/Makefile')
-rw-r--r--distrib/arc/floppies/kernel/Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/distrib/arc/floppies/kernel/Makefile b/distrib/arc/floppies/kernel/Makefile
deleted file mode 100644
index ad4143378b2..00000000000
--- a/distrib/arc/floppies/kernel/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-# $OpenBSD: Makefile,v 1.5 1997/09/26 02:20:39 millert Exp $
-
-.include "../Makefile.inc"
-
-MOUNT_POINT?= /mnt
-VND?= svnd0
-VND_DEV= /dev/${VND}c
-VND_RDEV= /dev/r${VND}c
-IMAGE= kc${REV}.fs
-PID!= echo $$$$
-REALIMAGE!= echo /var/tmp/image.${PID}
-MDEC= ${DESTDIR}/usr/mdec
-
-LISTS= ${.CURDIR}/list
-
-bsd:
- cd ${.CURDIR}/../../../../sys/arch/sparc/conf && config FLOPPY
- cd ${.CURDIR}/../../../../sys/arch/sparc/compile/FLOPPY && \
- make clean && make
- cp ${.CURDIR}/../../../../sys/arch/sparc/compile/FLOPPY/bsd bsd
-
-all: bsd
- dd if=/dev/zero of=${REALIMAGE} bs=10k count=144
- vnconfig -v -c ${VND} ${REALIMAGE}
- disklabel -w ${VND} floppy
- newfs -O -m 0 -o space -i 8192 -c 80 ${VND_RDEV}
- mount ${VND_DEV} ${MOUNT_POINT}
- TOPDIR=${.CURDIR}/.. CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
- TARGDIR=${MOUNT_POINT} sh ${.CURDIR}/../runlist.sh ${LISTS}
- install -c -o root -g wheel -m 0440 ${MDEC}/boot ${MOUNT_POINT}/boot
- installboot -v ${MOUNT_POINT}/boot ${MDEC}/bootxx ${VND_RDEV}
- mtree -def ${.CURDIR}/mtree.conf -p ${MOUNT_POINT}/ -u
- df -i ${MOUNT_POINT}
- umount ${MOUNT_POINT}
- vnconfig -u ${VND_DEV}
- cp ${REALIMAGE} ${IMAGE}
- rm ${REALIMAGE}
-
-unconfig:
- -umount -f ${MOUNT_POINT}
- -vnconfig -u ${VND_DEV}
- -/bin/rm -f ${IMAGE}
-
-clean cleandir:
- /bin/rm -f ${IMAGE}
-
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>