diff --git a/distrib/i386/floppies/bootfloppy-big/Makefile b/distrib/i386/floppies/bootfloppy-big/Makefile index 4ca120f7eb61..2399bd958737 100644 --- a/distrib/i386/floppies/bootfloppy-big/Makefile +++ b/distrib/i386/floppies/bootfloppy-big/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2002/04/16 09:06:49 lukem Exp $ +# $NetBSD: Makefile,v 1.19 2002/05/12 10:48:35 lukem Exp $ # This Makefile builds a boot image on a 2.88M-sized image. # @@ -19,6 +19,5 @@ FLOPPYSIZE= 5760 FLOPPYPAD= 1 FLOPPYKERNDIR= kernel-ramdisk FLOPPYKERNEL= netbsd.INSTALL.gz -FLOPPYMETAFILE!=printf "USTAR.volsize.%o" ${FLOPPYSIZE} .include "${.CURDIR}/../common/Makefile.bootfloppy" diff --git a/distrib/i386/floppies/common/Makefile.bootfloppy b/distrib/i386/floppies/common/Makefile.bootfloppy index f6303c3800b7..2551430d37fd 100644 --- a/distrib/i386/floppies/common/Makefile.bootfloppy +++ b/distrib/i386/floppies/common/Makefile.bootfloppy @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.bootfloppy,v 1.11 2002/05/04 01:34:37 lukem Exp $ +# $NetBSD: Makefile.bootfloppy,v 1.12 2002/05/12 10:48:35 lukem Exp $ # # Makefile snippet to create a set of USTAR floppies # @@ -18,6 +18,11 @@ .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" FLOPPYSIZE?= 2880 +.if defined(FLOPPYSIZE) && (${FLOPPYSIZE} != 2880) +FLOPPYMETAFILE!= printf "USTAR.volsize.%o" ${FLOPPYSIZE} +.else +FLOPPYSIZE= 2880 +.endif FLOPPYSUFFIX?= .fs MDEC= ${DESTDIR}/usr/mdec # XXXDISTRIB: need MI installboot for i386