From b040db7cad6513cecb7b5e3d3b05eae840aad0e4 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 23 Aug 2004 04:47:13 +0000 Subject: non-emulation boot media, if we ever need it --- distrib/amd64/cdfs-emu/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 distrib/amd64/cdfs-emu/Makefile 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 " \ + -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 +.include -- cgit v1.2.3