1 1.15 thorpej # $NetBSD: Makefile,v 1.15 2002/03/05 20:29:33 thorpej Exp $ 2 1.15 thorpej 3 1.15 thorpej .include <bsd.own.mk> 4 1.1 he 5 1.6 mycroft TOP= ${.CURDIR}/.. 6 1.1 he 7 1.1 he .include "${TOP}/Makefile.inc" 8 1.1 he 9 1.6 mycroft IMAGE= boot-big.fs 10 1.15 thorpej 11 1.15 thorpej KERNDIR!= cd ${TOP}/kernel-ramdisk && ${PRINTOBJDIR} 12 1.15 thorpej KERN= ${KERNDIR}/netbsd.INSTALL.gz 13 1.1 he 14 1.1 he # This Makefile builds a boot image on a 2.88M-sized image. 15 1.1 he # 16 1.2 he # Since NetBSD currently can't write 2.88M diskettes, it's only 17 1.1 he # use is as a boot image for El Torito bootable CD-ROM images. 18 1.1 he # 19 1.1 he # To prepare a CD, do the following steps: 20 1.1 he # 1) create a release(7) tree called NetBSD-1.3I 21 1.1 he # 2) create NetBSD-1.3I/boot.i386/ and place boot.fs in that directory 22 1.1 he # 3) do ``mkisofs -A "NetBSD ${version}" -b boot.i386/boot.fs -f \ 23 1.1 he # -o i386-cd.img -r -T NetBSD-1.3I'' 24 1.1 he # (you may omit '-f' if you're not using symlinks in the release tree) 25 1.1 he # This should place the image in i386-cd.img, which can hopefully 26 1.1 he # be used to burn a CD. 27 1.1 he 28 1.1 he DISKSIZE= 5760 29 1.8 fvdl METAFILE!= printf "USTAR.volsize.%o" ${DISKSIZE} 30 1.7 mycroft BLOCK8K= 359 31 1.8 fvdl PAD=yes 32 1.1 he 33 1.13 lukem .include "${TOP}/common/Makefile.bootfloppy" 34