summaryrefslogtreecommitdiff
path: root/distrib/amd64/cdfs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-22 00:24:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-22 00:24:45 +0000
commitacf300f5047795ee72e3a4d8b64b99dbb759d27c (patch)
treee41125981b9894b7098b4e1ac505a49cd1442193 /distrib/amd64/cdfs
parent304b5f7890af30d628011acaf0341c2d050fccc5 (diff)
boot floppy support. unfortunately for now because of how the sets and
lists and disktab work, we are constrained, and a few things must go missing until we seperate that out.
Diffstat (limited to 'distrib/amd64/cdfs')
-rw-r--r--distrib/amd64/cdfs/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/distrib/amd64/cdfs/Makefile b/distrib/amd64/cdfs/Makefile
new file mode 100644
index 00000000000..a4b46155ef0
--- /dev/null
+++ b/distrib/amd64/cdfs/Makefile
@@ -0,0 +1,32 @@
+# $OpenBSD: Makefile,v 1.1 2004/02/22 00:24:43 deraadt Exp $
+
+TOP= ${.CURDIR}/..
+
+.include "${TOP}/Makefile.inc"
+
+CDFS= cdrom${REV}.fs
+CDROM= cd${REV}.iso
+
+all: ${CDROM}
+
+${CDROM}:
+ -rm -rf ${.OBJDIR}/cd-dir
+ mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/amd64
+ cp ${.OBJDIR}/../ramdisk_cd/${CDFS} ${.OBJDIR}/cd-dir/${OSREV}/amd64
+ mkhybrid -a -R -T -L -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \
+ -A "OpenBSD ${OSREV} amd64 bootonly CD" \
+ -P "Copyright (c) 2003 Theo de Raadt, The OpenBSD project" \
+ -p "Theo de Raadt <deraadt@openbsd.org>" \
+ -V "OpenBSD/amd64 ${OSREV} boot-only CD" \
+ -b ${OSREV}/amd64/${CDFS} -c ${OSREV}/amd64/boot.catalog \
+ ${.OBJDIR}/cd-dir
+
+install:
+ cp ${CDROM} ${DESTDIR}/snapshot
+
+clean cleandir:
+ /bin/rm -f ${CDROM}
+ rm -rf cd-dir
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>