Makefile.ramdisk revision 1.9
11.9Smrg#	$NetBSD: Makefile.ramdisk,v 1.9 2018/12/24 20:11:22 mrg 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.8Sapb
161.8Sapb# Use ${.CURDIR}/list only if LISTS was not already defined by the caller.
171.8SapbLISTS?=		${.CURDIR}/list
181.8SapbLISTS+=		${OFPPCCOMMON}/list.ramdisk
191.1SmrgMTREECONF=	${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk
201.9SmrgMAKEDEVTARGETS=	ramdisk
211.1SmrgIMAGEENDIAN=	le
221.1SmrgIMAGEDEPENDS+= 	${CRUNCHBIN} \
231.6Sroy		dot.profile \
241.1Smrg		${DESTDIR}/usr/mdec/ofwboot \
251.1Smrg		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
261.4Sabs		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
271.4Sabs		${DISTRIBDIR}/common/services
281.1SmrgPARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
291.1Smrg
301.1Smrg.if defined(USE_SYSINST)
311.1Smrg# MI sysinst list has has languages we do not
321.1Smrg#LISTS+=		${DISTRIBDIR}/common/list.sysinst
331.1SmrgLISTS+=		${.CURDIR}/../common/list.sysinst
341.1SmrgMAKEFS_FLAGS+=	-f 14
351.1Smrg.endif
361.1Smrg
371.1Smrg# Use stubs to eliminate some large stuff from libc
381.1SmrgHACKSRC=	${DISTRIBDIR}/utils/libhack
391.1Smrg.include	"${HACKSRC}/Makefile.inc"
401.1Smrg${CRUNCHBIN}:	libhack.o
411.1Smrg
421.1Smrg.include "${DISTRIBDIR}/common/Makefile.crunch"
431.3Sjoerg.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
441.1Smrg.include "${DISTRIBDIR}/common/Makefile.makedev"
451.1Smrg.include "${DISTRIBDIR}/common/Makefile.image"
461.1Smrg
471.1Smrgrelease:
481.1Smrg
491.1Smrg.include <bsd.prog.mk>
50