Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.1
      1 #	$NetBSD: Makefile,v 1.1 2014/02/24 07:23:38 skrll Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
      5 
      6 IMAGE=		ramdisk.fs
      7 IMAGESIZE=	2500k
      8 MAKEFS_FLAGS=	-f 15
      9 
     10 WARNS=		1
     11 # DBG=		-Os -mmultiple -mstring
     12 
     13 CRUNCHBIN=	ramdiskbin
     14 CRUNCHGEN_FLAGS= -d "${DBG}"
     15 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     16 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     17 IMAGEENDIAN=	be
     18 MAKEDEVTARGETS=	all ipty
     19 IMAGEDEPENDS=	${CRUNCHBIN} \
     20 		dot.profile \
     21 		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
     22 		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
     23 		${DISTRIBDIR}/common/services
     24 SMALLPROG_INET6=1
     25 
     26 .if ${USE_INET6} != "no"
     27 LISTS+=		${DISTRIBDIR}/common/list.inet6
     28 .endif
     29 
     30 # Use stubs to eliminate some large stuff from libc
     31 HACKSRC=	${DISTRIBDIR}/utils/libhack
     32 .include	"${HACKSRC}/Makefile.inc"
     33 ${CRUNCHBIN}:	libhack.o
     34 
     35 .include "${DISTRIBDIR}/common/Makefile.dhcpcd"
     36 .include "${DISTRIBDIR}/common/Makefile.crunch"
     37 .include "${DISTRIBDIR}/common/Makefile.makedev"
     38 .include "${DISTRIBDIR}/common/Makefile.image"
     39 
     40 release:
     41 
     42 .include <bsd.prog.mk>
     43