Makefile.ramdisk revision 1.10
11.10Sapb#	$NetBSD: Makefile.ramdisk,v 1.10 2012/10/16 08:23:20 apb Exp $
21.1Shubertf
31.1Shubertf.include <bsd.own.mk>
41.1Shubertf.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
51.1Shubertf
61.1ShubertfAMD64COMMON=	${.CURDIR}/../common
71.1Shubertf
81.1Shubertf.PATH:		${AMD64COMMON}
91.1Shubertf
101.1ShubertfWARNS=		1
111.1ShubertfDBG=		-Os -fno-asynchronous-unwind-tables
121.1ShubertfCRUNCHGEN_FLAGS= -d "${DBG}"
131.1Shubertf
141.1ShubertfCRUNCHBIN=	ramdiskbin
151.10Sapb
161.10Sapb# Use ${.CURDIR}/list only if LISTS was not already defined by the caller.
171.10SapbLISTS?=		${.CURDIR}/list
181.10SapbLISTS+=		${AMD64COMMON}/list.ramdisk
191.1ShubertfMTREECONF=	${DISTRIBDIR}/common/mtree.common
201.1ShubertfIMAGEENDIAN=	le
211.1ShubertfIMAGEDEPENDS+= 	${CRUNCHBIN} \
221.3Stsutsui		dot.profile \
231.1Shubertf		${DESTDIR}/usr/mdec/boot \
241.1Shubertf		${DESTDIR}/usr/mdec/bootxx_ffsv1 \
251.1Shubertf		${DESTDIR}/usr/mdec/mbr \
261.1Shubertf		${DESTDIR}/usr/mdec/mbr_ext \
271.1Shubertf		${DESTDIR}/usr/mdec/mbr_bootsel \
281.1Shubertf		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
291.6Sabs		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
301.9Sroy		${DISTRIBDIR}/common/services
311.1ShubertfPARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
321.1Shubertf
331.1Shubertf.if defined(USE_SYSINST)
341.1ShubertfLISTS+=		${DISTRIBDIR}/common/list.sysinst
351.1ShubertfMAKEFS_FLAGS+=	-f 14
361.1Shubertf.endif
371.1Shubertf
381.1Shubertf# Use stubs to eliminate some large stuff from libc
391.1ShubertfHACKSRC=	${DISTRIBDIR}/utils/libhack
401.1Shubertf.include	"${HACKSRC}/Makefile.inc"
411.1Shubertf${CRUNCHBIN}:	libhack.o
421.1Shubertf
431.1Shubertf.include "${DISTRIBDIR}/common/Makefile.crunch"
441.5Sjoerg.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
451.1Shubertf.include "${DISTRIBDIR}/common/Makefile.makedev"
461.1Shubertf.include "${DISTRIBDIR}/common/Makefile.image"
471.1Shubertf
481.1Shubertfrelease:
491.1Shubertf
501.1Shubertf.include <bsd.prog.mk>
51