#       $NetBSD: Makefile,v 1.5 2019/09/23 13:42:34 christos Exp $
CDBASE=         prepcd          # gives ${CDBASE}.iso
CDRELEASE=      true            # include $RELEASEDIR/$RELEASEMACHINEDIR
CDRELEASE_NODEBUG=      true
CDMAKEFSOPTIONS=bootimage=powerpc;cdrom/prep/installation/floppy/sysinst_com0.fs

# prep needs a fdisk partition table at the head of the cd, pointing to the
# boot image.  We create an el-torrito cd, and then point partition 0 at
# it.

image_md_post:
       ${TOOL_FDISK} -F -f -b 1/255/16065 -0 -s 65/80/2799 -i ${CDIMAGE}
       ${TOOL_FDISK} -F -f -b 1/255/16065 -0 -s 65/80/2799 -u ${CDIMAGE}

include "${.CURDIR}/../../../common/Makefile.bootcd"