Default FLOPPYMAX to 1 for i386 floppies, so the build will fail if an

image accidentally grows past 1 floppy and we didn't know about it.
This commit is contained in:
lukem 2002-10-16 00:59:24 +00:00
parent 475d72b0be
commit f535541326

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootfloppy,v 1.13 2002/10/14 16:20:40 lukem Exp $
# $NetBSD: Makefile.bootfloppy,v 1.14 2002/10/16 00:59:24 lukem Exp $
#
# Makefile snippet to create a set of USTAR floppies
#
@ -17,6 +17,7 @@
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
FLOPPYMAX?= 1
FLOPPYSIZE?= 2880
.if defined(FLOPPYSIZE) && (${FLOPPYSIZE} != 2880)
FLOPPYMETAFILE!= printf "USTAR.volsize.%o" ${FLOPPYSIZE}