xref: /netbsd-src/distrib/mipsco/ramdisk/Makefile (revision 128e5f5e67269c4e7e74ad856b6f8567538cf62b)
1#	$NetBSD: Makefile,v 1.22 2019/12/29 18:26:18 christos Exp $
2
3.include <bsd.own.mk>
4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
5
6IMAGE=		ramdisk.fs
7IMAGETAR=	diskimage.tgz
8IMAGESIZE=	3m
9MAKEFS_FLAGS+=	-f 15
10
11WARNS=		1
12DBG=		-Os
13
14CRUNCHBIN=	ramdiskbin
15LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
16MTREECONF=	${DISTRIBDIR}/common/mtree.common
17IMAGEENDIAN=	be
18MAKEDEVTARGETS=	minimal
19IMAGEDEPENDS=	${CRUNCHBIN} \
20		dot.profile \
21		${DESTDIR}/usr/mdec/installboot \
22		${DESTDIR}/usr/mdec/boot ${DESTDIR}/usr/mdec/bootxx_ffs \
23		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
24		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
25		${DISTRIBDIR}/common/services
26
27IMAGETAR_RELEASEDIR=	installation/netboot
28
29# Use stubs to eliminate some large stuff from libc
30HACKSRC=	${DISTRIBDIR}/utils/libhack
31.include	"${HACKSRC}/Makefile.inc"
32${CRUNCHBIN}:	libhack.o
33
34.include "${DISTRIBDIR}/common/Makefile.crunch"
35.include "${DISTRIBDIR}/common/Makefile.makedev"
36.include "${DISTRIBDIR}/common/Makefile.image"
37
38.include <bsd.prog.mk>
39