Makefile.ramdisk revision 1.4
11.4Sabs#	$NetBSD: Makefile.ramdisk,v 1.4 2009/09/20 19:49:09 abs 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.1Smrg		dot.profile termcap.mini \
201.1Smrg		${DESTDIR}/usr/mdec/ofwboot \
211.1Smrg		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
221.4Sabs		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
231.4Sabs		${DISTRIBDIR}/common/services
241.1SmrgPARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
251.1Smrg
261.1Smrg.if defined(USE_SYSINST)
271.1Smrg# MI sysinst list has has languages we do not
281.1Smrg#LISTS+=		${DISTRIBDIR}/common/list.sysinst
291.1SmrgLISTS+=		${.CURDIR}/../common/list.sysinst
301.1SmrgMAKEFS_FLAGS+=	-f 14
311.1Smrg.endif
321.1Smrg
331.1Smrg# Use stubs to eliminate some large stuff from libc
341.1SmrgHACKSRC=	${DISTRIBDIR}/utils/libhack
351.1Smrg.include	"${HACKSRC}/Makefile.inc"
361.1Smrg${CRUNCHBIN}:	libhack.o
371.1Smrg
381.1Smrg.include "${DISTRIBDIR}/common/Makefile.crunch"
391.3Sjoerg.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
401.1Smrg.include "${DISTRIBDIR}/common/Makefile.makedev"
411.1Smrg.include "${DISTRIBDIR}/common/Makefile.image"
421.1Smrg
431.1Smrgrelease:
441.1Smrg
451.1Smrg.include <bsd.prog.mk>
46