Home | History | Annotate | Line # | Download | only in ramdisk
      1  1.43  joerg #	$NetBSD: Makefile,v 1.43 2017/02/09 18:15:07 joerg Exp $
      2  1.21     pk #
      3  1.21     pk # ramdisk.fs is the microroot filesystem intended for use with
      4  1.21     pk # the INSTALL kernel. It provides just enough tools to extract the
      5  1.21     pk # miniroot-based `instfs' filesystem into an MFS mount point
      6  1.21     pk # and start the installation scripts from there (see dot.profile).
      7  1.21     pk #
      8   1.1    mrg 
      9  1.32  lukem .include <bsd.own.mk>
     10  1.38  lukem .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
     11   1.1    mrg 
     12  1.32  lukem IMAGE=		ramdisk.fs
     13  1.43  joerg IMAGESIZE=	2000b
     14   1.1    mrg 
     15  1.32  lukem WARNS=		1
     16  1.42  joerg DBG=		${${ACTIVE_CC} == "clang":? -Oz -fomit-frame-pointer -fno-unwind-tables : -Os }
     17   1.1    mrg 
     18  1.32  lukem CRUNCHBIN=	ramdiskbin
     19  1.32  lukem LISTS=		${.CURDIR}/list
     20  1.32  lukem MTREECONF=	${DISTRIBDIR}/common/mtree.common
     21  1.32  lukem IMAGEENDIAN=	be
     22  1.32  lukem MAKEDEVTARGETS=	floppy
     23  1.32  lukem IMAGEDEPENDS+=	${CRUNCHBIN} dot.profile
     24   1.1    mrg 
     25  1.34  lukem # Use stubs to eliminate some large stuff from libc
     26  1.34  lukem HACKSRC=	${DISTRIBDIR}/utils/libhack
     27  1.34  lukem HACKOBJS=	gethost.o
     28  1.34  lukem .include	"${HACKSRC}/Makefile.inc"
     29  1.34  lukem ${CRUNCHBIN}:	libhack.o
     30  1.34  lukem 
     31  1.32  lukem .include "${DISTRIBDIR}/common/Makefile.crunch"
     32  1.32  lukem .include "${DISTRIBDIR}/common/Makefile.makedev"
     33  1.32  lukem .include "${DISTRIBDIR}/common/Makefile.image"
     34  1.38  lukem 
     35  1.38  lukem release:
     36  1.32  lukem 
     37  1.31    jmc .include <bsd.prog.mk>
     38