Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.10.34.1
      1 #	$NetBSD: Makefile,v 1.10.34.1 2017/04/21 16:51:11 bouyer Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 IMAGE=		ramdisk.fs
      7 IMAGETAR=	diskimage.tgz
      8 IMAGESIZE=	3m
      9 MAKEFS_FLAGS+=	-f 15 -o density=4k
     10 
     11 WARNS=		1
     12 DBG=		-Os
     13 
     14 CRUNCHBIN=	ramdiskbin
     15 CRUNCHGEN_FLAGS= -d "${DBG}"
     16 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     17 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     18 IMAGEENDIAN=	le
     19 IMAGEDEPENDS=	${CRUNCHBIN} \
     20 		dot.profile \
     21 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     22 		${NETBSDSRCDIR}/etc/netconfig \
     23 		${DISTRIBDIR}/common/protocols \
     24 		${DISTRIBDIR}/common/services
     25 
     26 IMAGETAR_RELEASEDIR=	installation/netboot
     27 
     28 # Use stubs to eliminate some large stuff from libc
     29 HACKSRC=	${DISTRIBDIR}/utils/libhack
     30 .include	"${HACKSRC}/Makefile.inc"
     31 ${CRUNCHBIN}:	libhack.o
     32 
     33 .include "${DISTRIBDIR}/common/Makefile.crunch"
     34 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     35 .include "${DISTRIBDIR}/common/Makefile.makedev"
     36 .include "${DISTRIBDIR}/common/Makefile.image"
     37 
     38 .include <bsd.prog.mk>
     39