always set FLOPPYMETAFILE if FLOPPYSIZE!=2880

This commit is contained in:
lukem 2002-05-12 10:48:35 +00:00
parent 3201da47d1
commit d2d5d54df9
2 changed files with 7 additions and 3 deletions

View File

@ -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"

View File

@ -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