# $NetBSD: Makefile.bootfloppy,v 1.11 2002/05/04 01:34:37 lukem Exp $ # # Makefile snippet to create a set of USTAR floppies # # # Required variables: # FLOPPYBASE Basename of floppies. Floppy number ${n} will # be generated as ${FLOPPYBASE}${n}.fs # FLOPPYKERNDIR ${FLOPPYKERNEL} is from ${.CURDIR}/../${FLOPPYKERNDIR} # FLOPPYKERNEL Kernel to copy # # Optional variables: # FLOPPY_BOOT Bootstrap to use. [${DESTDIR}/usr/mdec/biosboot.sym] # .include .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" FLOPPYSIZE?= 2880 FLOPPYSUFFIX?= .fs MDEC= ${DESTDIR}/usr/mdec # XXXDISTRIB: need MI installboot for i386 FLOPPYINSTBOOT= "${MDEC}/installboot -b 17 -f ${FLOPPY_BOOT} @IMAGE@" FLOPPYKERNOBJ!= cd ${.CURDIR}/../${FLOPPYKERNDIR} && ${PRINTOBJDIR} FLOPPY_BOOT?= ${MDEC}/biosboot.sym FLOPPY_BOOT_STRIP= yes FLOPPY_NETBSD= ${FLOPPYKERNOBJ}/${FLOPPYKERNEL} FLOPPYFILES= boot ${FLOPPYMETAFILE} netbsd FLOPPY_RELEASEDIR= installation/floppy .include "${DISTRIBDIR}/common/Makefile.tarfloppy" .include