Makefile.ramdisk revision 1.6
11.6Sroy#	$NetBSD: Makefile.ramdisk,v 1.6 2010/02/05 10:01:20 roy Exp $
21.1Smrg
31.1Smrg.include <bsd.own.mk>
41.1Smrg.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
51.1Smrg
61.1SmrgOFPPCCOMMON=	${.CURDIR}/../common
71.1Smrg
81.1Smrg.PATH:		${OFPPCCOMMON}
91.1Smrg
101.1SmrgWARNS=		1
111.1SmrgDBG=		-Os -fno-asynchronous-unwind-tables
121.1SmrgCRUNCHGEN_FLAGS= -d "${DBG}"
131.1Smrg
141.1SmrgCRUNCHBIN=	ramdiskbin
151.1SmrgLISTS=		${.CURDIR}/list ${OFPPCCOMMON}/list.ramdisk
161.1SmrgMTREECONF=	${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk
171.1SmrgIMAGEENDIAN=	le
181.1SmrgIMAGEDEPENDS+= 	${CRUNCHBIN} \
191.6Sroy		dot.profile \
201.6Sroy		${DESTDIR}/rescue/terminfo.db \
211.1Smrg		${DESTDIR}/usr/mdec/ofwboot \
221.1Smrg		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
231.4Sabs		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
241.4Sabs		${DISTRIBDIR}/common/services
251.1SmrgPARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
261.1Smrg
271.1Smrg.if defined(USE_SYSINST)
281.1Smrg# MI sysinst list has has languages we do not
291.1Smrg#LISTS+=		${DISTRIBDIR}/common/list.sysinst
301.1SmrgLISTS+=		${.CURDIR}/../common/list.sysinst
311.1SmrgMAKEFS_FLAGS+=	-f 14
321.1Smrg.endif
331.1Smrg
341.1Smrg# Use stubs to eliminate some large stuff from libc
351.1SmrgHACKSRC=	${DISTRIBDIR}/utils/libhack
361.1Smrg.include	"${HACKSRC}/Makefile.inc"
371.1Smrg${CRUNCHBIN}:	libhack.o
381.1Smrg
391.1Smrg.include "${DISTRIBDIR}/common/Makefile.crunch"
401.3Sjoerg.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
411.1Smrg.include "${DISTRIBDIR}/common/Makefile.makedev"
421.1Smrg.include "${DISTRIBDIR}/common/Makefile.image"
431.1Smrg
441.1Smrgrelease:
451.1Smrg
461.1Smrg.include <bsd.prog.mk>
47