Makefile.ramdisk revision 1.11
11.11Smartin#	$NetBSD: Makefile.ramdisk,v 1.11 2015/10/07 14:09:04 martin 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.11Smartin		${DESTDIR}/usr/mdec/gptmbr.bin \
291.1Shubertf		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
301.6Sabs		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
311.9Sroy		${DISTRIBDIR}/common/services
321.1ShubertfPARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}
331.1Shubertf
341.1Shubertf.if defined(USE_SYSINST)
351.1ShubertfLISTS+=		${DISTRIBDIR}/common/list.sysinst
361.1ShubertfMAKEFS_FLAGS+=	-f 14
371.1Shubertf.endif
381.1Shubertf
391.1Shubertf# Use stubs to eliminate some large stuff from libc
401.1ShubertfHACKSRC=	${DISTRIBDIR}/utils/libhack
411.1Shubertf.include	"${HACKSRC}/Makefile.inc"
421.1Shubertf${CRUNCHBIN}:	libhack.o
431.1Shubertf
441.1Shubertf.include "${DISTRIBDIR}/common/Makefile.crunch"
451.5Sjoerg.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
461.1Shubertf.include "${DISTRIBDIR}/common/Makefile.makedev"
471.1Shubertf.include "${DISTRIBDIR}/common/Makefile.image"
481.1Shubertf
491.1Shubertfrelease:
501.1Shubertf
511.1Shubertf.include <bsd.prog.mk>
52