summaryrefslogtreecommitdiff
path: root/distrib/sparc64/cdfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/sparc64/cdfs/Makefile')
-rw-r--r--distrib/sparc64/cdfs/Makefile45
1 files changed, 0 insertions, 45 deletions
diff --git a/distrib/sparc64/cdfs/Makefile b/distrib/sparc64/cdfs/Makefile
deleted file mode 100644
index 0e1b2330b3c..00000000000
--- a/distrib/sparc64/cdfs/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# $OpenBSD: Makefile,v 1.20 2019/04/30 17:46:05 deraadt Exp $
-
-CDROM= cd${OSrev}.iso
-
-all: ${CDROM}
-
-${CDROM}:
- rm -rf ${.OBJDIR}/cd-dir
- mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/sparc64
- cp ${.OBJDIR}/../miniroot/bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/sparc64
- ln ${.OBJDIR}/cd-dir/${OSREV}/sparc64/bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/sparc64/bsd
- cp ${DESTDIR}/usr/mdec/ofwboot ${.OBJDIR}/cd-dir/${OSREV}/sparc64
-
- echo 'm 1 sun4' > ${.OBJDIR}/cd-dir/.slicemapfile
- echo 'm 2 sun4c' >> ${.OBJDIR}/cd-dir/.slicemapfile
- echo 'm 3 sun4m' >> ${.OBJDIR}/cd-dir/.slicemapfile
- echo 'm 4 sun4d' >> ${.OBJDIR}/cd-dir/.slicemapfile
- echo 'm 5 sun4u' >> ${.OBJDIR}/cd-dir/.slicemapfile
- echo 'm 5 sun4us' >> ${.OBJDIR}/cd-dir/.slicemapfile
- echo 'm 6 sun4v' >> ${.OBJDIR}/cd-dir/.slicemapfile
- mkhybrid -a -R -r -T -L -d -D -N \
- -A "OpenBSD ${OSREV} sparc64 bootonly CD" \
- -P "Copyright (c) `date +%Y` Theo de Raadt, The OpenBSD project" \
- -p "Theo de Raadt <deraadt@openbsd.org>" \
- -V "OpenBSD/sparc64 ${OSREV} boot-only CD" \
- -o ${.OBJDIR}/${CDROM} ${.OBJDIR}/cd-dir
- vnconfig -v ${CDROM} > vnd
- disklabel -w `cat vnd` fakecdrom "OpenBSD${OSrev}sparc64"
- vnconfig -u `cat vnd`
- rm -f vnd
- mksuncd f ${CDROM} ${.OBJDIR}/../miniroot/miniroot${OSrev}.fs
-
-unconfig:
- -umount -f ${MOUNT_POINT}
- -[ -f vnd ] && vnconfig -u `cat vnd` && rm -f vnd
-
-.ifdef RELEASEDIR
-install:
- cp ${CDROM} ${RELEASEDIR}
-.endif
-
-clean cleandir:
- /bin/rm -rf ${CDROM} ${.OBJDIR}/cd-dir
-
-.include <bsd.obj.mk>