blob: d818e9a17370a8a66d3d11641ca6e411d140f446 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $OpenBSD: Makefile,v 1.10 2004/09/05 20:26:30 krw Exp $
TOP= ${.CURDIR}/..
.include "${TOP}/Makefile.inc"
CDROM= cd${REV}.iso
all: ${CDROM}
${CDROM}:
-rm -rf ${.OBJDIR}/cd-dir
-mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/sparc64
-cp ${.OBJDIR}/../bsd.rd/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
mkhybrid -A "OpenBSD ${OSREV} sparc64 bootonly CD" \
-P "Copyright (c) 2004 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 -c svnd0 ${.OBJDIR}/${CDROM}
disklabel -w svnd0 fakecdrom "OpenBSD${REV}sparc64"
vnconfig -u svnd0
mksuncd f ${.OBJDIR}/${CDROM} ${.OBJDIR}/../miniroot/miniroot${REV}.fs
install:
cp ${CDROM} ${DESTDIR}/snapshot
clean cleandir:
/bin/rm -rf ${CDROM} ${.OBJDIR}/cd-dir
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
|