Makefile.bootfloppy revision 1.13
1# $NetBSD: Makefile.bootfloppy,v 1.13 2002/10/14 16:20:40 lukem Exp $ 2# 3# Makefile snippet to create a set of USTAR floppies 4# 5 6# 7# Required variables: 8# FLOPPYBASE Basename of floppies. Floppy number ${n} will 9# be generated as ${FLOPPYBASE}${n}.fs 10# FLOPPYKERNEL Kernel to copy 11# 12# Optional variables: 13# FLOPPYKERNDIR ${FLOPPYKERNEL} is from ${.CURDIR}/../${FLOPPYKERNDIR} 14# FLOPPY_BOOT Bootstrap to use. [${DESTDIR}/usr/mdec/biosboot.sym] 15# 16 17.include <bsd.own.mk> 18.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 19 20FLOPPYSIZE?= 2880 21.if defined(FLOPPYSIZE) && (${FLOPPYSIZE} != 2880) 22FLOPPYMETAFILE!= printf "USTAR.volsize.%o" ${FLOPPYSIZE} 23.else 24FLOPPYSIZE= 2880 25.endif 26FLOPPYKERNDIR?= instkernel 27FLOPPYSUFFIX?= .fs 28MDEC= ${DESTDIR}/usr/mdec 29# XXXDISTRIB: need MI installboot for i386 30FLOPPYINSTBOOT= "${MDEC}/installboot -b 17 -f ${FLOPPY_BOOT} @IMAGE@" 31FLOPPYKERNOBJ!= cd ${.CURDIR}/../${FLOPPYKERNDIR} && ${PRINTOBJDIR} 32 33FLOPPY_BOOT?= ${MDEC}/biosboot.sym 34FLOPPY_BOOT_STRIP= yes 35FLOPPY_NETBSD= ${FLOPPYKERNOBJ}/${FLOPPYKERNEL} 36FLOPPYFILES= boot ${FLOPPYMETAFILE} netbsd 37 38FLOPPY_RELEASEDIR= installation/floppy 39 40.include "${DISTRIBDIR}/common/Makefile.tarfloppy" 41 42.include <bsd.prog.mk> 43