diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-23 04:47:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-23 04:47:13 +0000 |
commit | b040db7cad6513cecb7b5e3d3b05eae840aad0e4 (patch) | |
tree | a791179432312163c13d25c58123d34767fb420a | |
parent | ddcce2ceaf89d4b301c1cb11ca488726dd8bd606 (diff) |
non-emulation boot media, if we ever need it
-rw-r--r-- | distrib/amd64/cdfs-emu/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/distrib/amd64/cdfs-emu/Makefile b/distrib/amd64/cdfs-emu/Makefile new file mode 100644 index 00000000000..d2a892f4d6a --- /dev/null +++ b/distrib/amd64/cdfs-emu/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1 2004/08/23 04:47:12 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) 2004 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> |