xref: /netbsd-src/distrib/prep/cdroms/installcd/Makefile (revision 2d48ac808c43ea6701ba8f33cfc3645685301f79)
1#	$NetBSD: Makefile,v 1.2 2008/04/30 08:08:32 garbled Exp $
2CDBASE=		prepcd		# gives ${CDBASE}.iso
3CDRELEASE=	true		# include $RELEASEDIR/$MACHINE
4CDMAKEFSOPTIONS=bootimage=powerpc;cdrom/prep/installation/floppy/sysinst_com0.fs
5
6# prep needs a fdisk partition table at the head of the cd, pointing to the
7# boot image.  We create an el-torrito cd, and then point partition 0 at
8# it.
9
10image_md_post:
11	${TOOL_FDISK} -F -f -b 1/255/16065 -0 -s 65/80/2799 -i ${CDBASE}.iso
12	${TOOL_FDISK} -F -f -b 1/255/16065 -0 -s 65/80/2799 -u ${CDBASE}.iso
13
14.include "${.CURDIR}/../../../common/Makefile.bootcd"
15