1 # $NetBSD: Makefile,v 1.34 2002/03/28 04:33:23 lukem Exp $ 2 # 3 # ramdisk.fs is the microroot filesystem intended for use with 4 # the INSTALL kernel. It provides just enough tools to extract the 5 # miniroot-based `instfs' filesystem into an MFS mount point 6 # and start the installation scripts from there (see dot.profile). 7 # 8 9 .include "${.CURDIR}/../../Makefile.inc" 10 .include <bsd.own.mk> 11 12 IMAGE= ramdisk.fs 13 IMAGESIZE= 1360b 14 15 WARNS= 1 16 17 CRUNCHBIN= ramdiskbin 18 LISTS= ${.CURDIR}/list 19 MTREECONF= ${DISTRIBDIR}/common/mtree.common 20 IMAGEENDIAN= be 21 MAKEDEVTARGETS= floppy 22 IMAGEDEPENDS+= ${CRUNCHBIN} dot.profile 23 24 # Use stubs to eliminate some large stuff from libc 25 HACKSRC= ${DISTRIBDIR}/utils/libhack 26 HACKOBJS= gethost.o 27 .include "${HACKSRC}/Makefile.inc" 28 ${CRUNCHBIN}: libhack.o 29 30 31 realall: ${IMAGE} 32 33 release: 34 35 36 .include "${DISTRIBDIR}/common/Makefile.crunch" 37 .include "${DISTRIBDIR}/common/Makefile.makedev" 38 .include "${DISTRIBDIR}/common/Makefile.image" 39 40 .include <bsd.prog.mk> 41