1 # $NetBSD: Makefile,v 1.41.8.1 2014/01/06 18:55:51 bouyer 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 <bsd.own.mk> 10 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 11 12 IMAGE= ramdisk.fs 13 IMAGESIZE= 1800b 14 15 WARNS= 1 16 DBG= -Os 17 18 CRUNCHBIN= ramdiskbin 19 LISTS= ${.CURDIR}/list 20 MTREECONF= ${DISTRIBDIR}/common/mtree.common 21 IMAGEENDIAN= be 22 MAKEDEVTARGETS= floppy 23 IMAGEDEPENDS+= ${CRUNCHBIN} dot.profile 24 25 # Use stubs to eliminate some large stuff from libc 26 HACKSRC= ${DISTRIBDIR}/utils/libhack 27 .include "${HACKSRC}/Makefile.inc" 28 ${CRUNCHBIN}: libhack.o 29 30 .include "${DISTRIBDIR}/common/Makefile.crunch" 31 .include "${DISTRIBDIR}/common/Makefile.makedev" 32 .include "${DISTRIBDIR}/common/Makefile.image" 33 34 release: 35 36 .include <bsd.prog.mk> 37