Makefile.bootfloppy revision 1.8
1# $NetBSD: Makefile.bootfloppy,v 1.8 2002/04/16 09:06:51 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 "${_SRC_TOP_}/distrib/Makefile.inc" 19 20FLOPPYSIZE?= 2880 21MDEC= ${DESTDIR}/usr/mdec 22# XXXDISTRIB: need MI installboot for i386 23FLOPPYINSTBOOT= "${MDEC}/installboot -b 17 -f ${FLOPPY_BOOT} @IMAGE@" 24FLOPPYKERNOBJ!= cd ${.CURDIR}/../${FLOPPYKERNDIR} && ${PRINTOBJDIR} 25 26FLOPPY_BOOT?= ${MDEC}/biosboot.sym 27FLOPPY_BOOT_STRIP= yes 28FLOPPY_NETBSD= ${FLOPPYKERNOBJ}/${FLOPPYKERNEL} 29FLOPPYFILES= boot ${FLOPPYMETAFILE} netbsd 30 31FLOPPYINSTDIR= installation/floppy 32 33.include "${DISTRIBDIR}/common/Makefile.tarfloppy" 34 35.include <bsd.prog.mk> 36