1 # $NetBSD: Makefile,v 1.32 2002/03/11 07:04:21 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 25 realall: ${IMAGE} 26 27 # Use stubs to eliminate some large stuff from libc 28 HACKSRC=${_SRC_TOP_}/distrib/utils/libhack 29 .include "${HACKSRC}/Makefile.inc" 30 31 # This is listed in ramdiskbin.conf but is built here. 32 ${CRUNCHBIN}: libhack.o 33 34 release: 35 36 37 .include "${DISTRIBDIR}/common/Makefile.crunch" 38 .include "${DISTRIBDIR}/common/Makefile.makedev" 39 .include "${DISTRIBDIR}/common/Makefile.image" 40 41 .include <bsd.prog.mk> 42