Home | History | Annotate | Line # | Download | only in common
Makefile.bootfloppy revision 1.11
      1 #	$NetBSD: Makefile.bootfloppy,v 1.11 2002/05/04 01:34:37 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 #	FLOPPYKERNDIR	${FLOPPYKERNEL} is from ${.CURDIR}/../${FLOPPYKERNDIR}
     11 #	FLOPPYKERNEL	Kernel to copy
     12 #
     13 # Optional variables:
     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 
     20 FLOPPYSIZE?=		2880
     21 FLOPPYSUFFIX?=		.fs
     22 MDEC=			${DESTDIR}/usr/mdec
     23 #	XXXDISTRIB: need MI installboot for i386
     24 FLOPPYINSTBOOT=		"${MDEC}/installboot -b 17 -f ${FLOPPY_BOOT} @IMAGE@"
     25 FLOPPYKERNOBJ!=		cd ${.CURDIR}/../${FLOPPYKERNDIR} && ${PRINTOBJDIR}
     26 
     27 FLOPPY_BOOT?=		${MDEC}/biosboot.sym
     28 FLOPPY_BOOT_STRIP=	yes
     29 FLOPPY_NETBSD=		${FLOPPYKERNOBJ}/${FLOPPYKERNEL}
     30 FLOPPYFILES=		boot ${FLOPPYMETAFILE} netbsd
     31 
     32 FLOPPY_RELEASEDIR=	installation/floppy
     33 
     34 .include "${DISTRIBDIR}/common/Makefile.tarfloppy"
     35 
     36 .include <bsd.prog.mk>
     37