head	1.22;
access;
symbols
	netbsd-11-0-RC4:1.22
	netbsd-11-0-RC3:1.22
	netbsd-11-0-RC2:1.22
	netbsd-11-0-RC1:1.22
	perseant-exfatfs-base-20250801:1.22
	netbsd-11:1.22.0.26
	netbsd-11-base:1.22
	netbsd-10-1-RELEASE:1.22
	perseant-exfatfs-base-20240630:1.22
	perseant-exfatfs:1.22.0.24
	perseant-exfatfs-base:1.22
	netbsd-8-3-RELEASE:1.22
	netbsd-9-4-RELEASE:1.22
	netbsd-10-0-RELEASE:1.22
	netbsd-10-0-RC6:1.22
	netbsd-10-0-RC5:1.22
	netbsd-10-0-RC4:1.22
	netbsd-10-0-RC3:1.22
	netbsd-10-0-RC2:1.22
	netbsd-10-0-RC1:1.22
	netbsd-10:1.22.0.22
	netbsd-10-base:1.22
	netbsd-9-3-RELEASE:1.22
	cjep_sun2x-base1:1.22
	cjep_sun2x:1.22.0.20
	cjep_sun2x-base:1.22
	cjep_staticlib_x-base1:1.22
	netbsd-9-2-RELEASE:1.22
	cjep_staticlib_x:1.22.0.18
	cjep_staticlib_x-base:1.22
	netbsd-9-1-RELEASE:1.22
	phil-wifi-20200421:1.22
	phil-wifi-20200411:1.22
	is-mlppp:1.22.0.16
	is-mlppp-base:1.22
	phil-wifi-20200406:1.22
	netbsd-8-2-RELEASE:1.22
	netbsd-9-0-RELEASE:1.22
	netbsd-9-0-RC2:1.22
	netbsd-9-0-RC1:1.22
	phil-wifi-20191119:1.22
	netbsd-9:1.22.0.14
	netbsd-9-base:1.22
	phil-wifi-20190609:1.22
	netbsd-8-1-RELEASE:1.22
	netbsd-8-1-RC1:1.22
	pgoyette-compat-merge-20190127:1.22
	pgoyette-compat-20190127:1.22
	pgoyette-compat-20190118:1.22
	pgoyette-compat-1226:1.22
	pgoyette-compat-1126:1.22
	pgoyette-compat-1020:1.22
	pgoyette-compat-0930:1.22
	pgoyette-compat-0906:1.22
	netbsd-7-2-RELEASE:1.21
	pgoyette-compat-0728:1.22
	netbsd-8-0-RELEASE:1.22
	phil-wifi:1.22.0.12
	phil-wifi-base:1.22
	pgoyette-compat-0625:1.22
	netbsd-8-0-RC2:1.22
	pgoyette-compat-0521:1.22
	pgoyette-compat-0502:1.22
	pgoyette-compat-0422:1.22
	netbsd-8-0-RC1:1.22
	pgoyette-compat-0415:1.22
	pgoyette-compat-0407:1.22
	pgoyette-compat-0330:1.22
	pgoyette-compat-0322:1.22
	pgoyette-compat-0315:1.22
	netbsd-7-1-2-RELEASE:1.21
	pgoyette-compat:1.22.0.10
	pgoyette-compat-base:1.22
	netbsd-7-1-1-RELEASE:1.21
	matt-nb8-mediatek:1.22.0.8
	matt-nb8-mediatek-base:1.22
	perseant-stdc-iso10646:1.22.0.6
	perseant-stdc-iso10646-base:1.22
	netbsd-8:1.22.0.4
	netbsd-8-base:1.22
	prg-localcount2-base3:1.22
	prg-localcount2-base2:1.22
	prg-localcount2-base1:1.22
	prg-localcount2:1.22.0.2
	prg-localcount2-base:1.22
	pgoyette-localcount-20170426:1.22
	bouyer-socketcan-base1:1.22
	pgoyette-localcount-20170320:1.22
	netbsd-7-1:1.21.0.36
	netbsd-7-1-RELEASE:1.21
	netbsd-7-1-RC2:1.21
	netbsd-7-nhusb-base-20170116:1.21
	bouyer-socketcan:1.21.0.34
	bouyer-socketcan-base:1.21
	pgoyette-localcount-20170107:1.21
	netbsd-7-1-RC1:1.21
	pgoyette-localcount-20161104:1.21
	netbsd-7-0-2-RELEASE:1.21
	localcount-20160914:1.21
	netbsd-7-nhusb:1.21.0.32
	netbsd-7-nhusb-base:1.21
	pgoyette-localcount-20160806:1.21
	pgoyette-localcount-20160726:1.21
	pgoyette-localcount:1.21.0.30
	pgoyette-localcount-base:1.21
	netbsd-7-0-1-RELEASE:1.21
	netbsd-7-0:1.21.0.28
	netbsd-7-0-RELEASE:1.21
	netbsd-7-0-RC3:1.21
	netbsd-7-0-RC2:1.21
	netbsd-7-0-RC1:1.21
	netbsd-5-2-3-RELEASE:1.13
	netbsd-5-1-5-RELEASE:1.13
	netbsd-6-0-6-RELEASE:1.21
	netbsd-6-1-5-RELEASE:1.21
	netbsd-7:1.21.0.26
	netbsd-7-base:1.21
	yamt-pagecache-base9:1.21
	yamt-pagecache-tag8:1.21
	netbsd-6-1-4-RELEASE:1.21
	netbsd-6-0-5-RELEASE:1.21
	tls-earlyentropy:1.21.0.24
	tls-earlyentropy-base:1.21
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.21
	riastradh-drm2-base3:1.21
	netbsd-6-1-3-RELEASE:1.21
	netbsd-6-0-4-RELEASE:1.21
	netbsd-5-2-2-RELEASE:1.13
	netbsd-5-1-4-RELEASE:1.13
	netbsd-6-1-2-RELEASE:1.21
	netbsd-6-0-3-RELEASE:1.21
	netbsd-5-2-1-RELEASE:1.13
	netbsd-5-1-3-RELEASE:1.13
	netbsd-6-1-1-RELEASE:1.21
	riastradh-drm2-base2:1.21
	riastradh-drm2-base1:1.21
	riastradh-drm2:1.21.0.16
	riastradh-drm2-base:1.21
	netbsd-6-1:1.21.0.22
	netbsd-6-0-2-RELEASE:1.21
	netbsd-6-1-RELEASE:1.21
	khorben-n900:1.21.0.20
	netbsd-6-1-RC4:1.21
	netbsd-6-1-RC3:1.21
	agc-symver:1.21.0.18
	agc-symver-base:1.21
	netbsd-6-1-RC2:1.21
	netbsd-6-1-RC1:1.21
	yamt-pagecache-base8:1.21
	netbsd-5-2:1.13.0.30
	netbsd-6-0-1-RELEASE:1.21
	yamt-pagecache-base7:1.21
	netbsd-5-2-RELEASE:1.13
	netbsd-5-2-RC1:1.13
	matt-nb6-plus-nbase:1.21
	yamt-pagecache-base6:1.21
	netbsd-6-0:1.21.0.14
	netbsd-6-0-RELEASE:1.21
	netbsd-6-0-RC2:1.21
	tls-maxphys:1.21.0.12
	tls-maxphys-base:1.21
	matt-nb6-plus:1.21.0.10
	matt-nb6-plus-base:1.21
	netbsd-6-0-RC1:1.21
	yamt-pagecache-base5:1.21
	yamt-pagecache-base4:1.21
	netbsd-6:1.21.0.8
	netbsd-6-base:1.21
	netbsd-5-1-2-RELEASE:1.13
	netbsd-5-1-1-RELEASE:1.13
	yamt-pagecache-base3:1.21
	yamt-pagecache-base2:1.21
	yamt-pagecache:1.21.0.6
	yamt-pagecache-base:1.21
	cherry-xenmp:1.21.0.4
	cherry-xenmp-base:1.21
	bouyer-quota2-nbase:1.21
	bouyer-quota2:1.21.0.2
	bouyer-quota2-base:1.21
	matt-mips64-premerge-20101231:1.21
	matt-nb5-mips64-premerge-20101231:1.13
	matt-nb5-pq3:1.13.0.28
	matt-nb5-pq3-base:1.13
	netbsd-5-1:1.13.0.26
	netbsd-5-1-RELEASE:1.13
	netbsd-5-1-RC4:1.13
	matt-nb5-mips64-k15:1.13
	netbsd-5-1-RC3:1.13
	netbsd-5-1-RC2:1.13
	netbsd-5-1-RC1:1.13
	netbsd-5-0-2-RELEASE:1.13
	matt-nb5-mips64-premerge-20091211:1.13
	matt-premerge-20091211:1.19
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.13
	matt-nb4-mips64-k7-u2a-k9b:1.13
	matt-nb5-mips64-u1-k1-k5:1.13
	matt-nb5-mips64:1.13.0.24
	netbsd-5-0-1-RELEASE:1.13
	jym-xensuspend-nbase:1.15
	netbsd-5-0:1.13.0.22
	netbsd-5-0-RELEASE:1.13
	netbsd-5-0-RC4:1.13
	netbsd-5-0-RC3:1.13
	netbsd-5-0-RC2:1.13
	jym-xensuspend:1.14.0.2
	jym-xensuspend-base:1.15
	netbsd-5-0-RC1:1.13
	netbsd-5:1.13.0.20
	netbsd-5-base:1.13
	matt-mips64-base2:1.13
	matt-mips64:1.13.0.18
	netbsd-4-0-1-RELEASE:1.10
	wrstuden-revivesa-base-3:1.13
	wrstuden-revivesa-base-2:1.13
	wrstuden-fixsa-newbase:1.10
	wrstuden-revivesa-base-1:1.13
	yamt-pf42-base4:1.13
	yamt-pf42-base3:1.13
	hpcarm-cleanup-nbase:1.13
	yamt-pf42-baseX:1.13
	yamt-pf42-base2:1.13
	wrstuden-revivesa:1.13.0.16
	wrstuden-revivesa-base:1.13
	yamt-pf42:1.13.0.14
	yamt-pf42-base:1.13
	mjf-devfs2:1.13.0.12
	mjf-devfs2-base:1.13
	keiichi-mipv6:1.13.0.10
	keiichi-mipv6-base:1.13
	mjf-devfs:1.13.0.8
	mjf-devfs-base:1.13
	matt-armv6-nbase:1.13
	matt-armv6-prevmlocking:1.13
	wrstuden-fixsa-base-1:1.10
	netbsd-4-0:1.10.0.22
	netbsd-4-0-RELEASE:1.10
	cube-autoconf:1.13.0.6
	cube-autoconf-base:1.13
	netbsd-4-0-RC5:1.10
	netbsd-4-0-RC4:1.10
	netbsd-4-0-RC3:1.10
	netbsd-4-0-RC2:1.10
	netbsd-4-0-RC1:1.10
	matt-armv6:1.13.0.4
	matt-armv6-base:1.13
	matt-mips64-base:1.13
	hpcarm-cleanup:1.13.0.2
	hpcarm-cleanup-base:1.13
	netbsd-3-1-1-RELEASE:1.10
	netbsd-3-0-3-RELEASE:1.10
	wrstuden-fixsa:1.10.0.20
	wrstuden-fixsa-base:1.10
	abandoned-netbsd-4-base:1.10
	abandoned-netbsd-4:1.10.0.14
	netbsd-3-1:1.10.0.16
	netbsd-3-1-RELEASE:1.10
	netbsd-3-0-2-RELEASE:1.10
	netbsd-3-1-RC4:1.10
	netbsd-3-1-RC3:1.10
	netbsd-3-1-RC2:1.10
	netbsd-3-1-RC1:1.10
	netbsd-4:1.10.0.18
	netbsd-4-base:1.10
	netbsd-3-0-1-RELEASE:1.10
	netbsd-3-0:1.10.0.12
	netbsd-3-0-RELEASE:1.10
	netbsd-3-0-RC6:1.10
	netbsd-3-0-RC5:1.10
	netbsd-3-0-RC4:1.10
	netbsd-3-0-RC3:1.10
	netbsd-3-0-RC2:1.10
	netbsd-3-0-RC1:1.10
	netbsd-2-0-3-RELEASE:1.10
	netbsd-2-1:1.10.0.10
	netbsd-2-1-RELEASE:1.10
	netbsd-2-1-RC6:1.10
	netbsd-2-1-RC5:1.10
	netbsd-2-1-RC4:1.10
	netbsd-2-1-RC3:1.10
	netbsd-2-1-RC2:1.10
	netbsd-2-1-RC1:1.10
	netbsd-2-0-2-RELEASE:1.10
	netbsd-3:1.10.0.8
	netbsd-3-base:1.10
	netbsd-2-0-1-RELEASE:1.10
	netbsd-2:1.10.0.6
	netbsd-2-base:1.10
	netbsd-2-0-RELEASE:1.10
	netbsd-2-0-RC5:1.10
	netbsd-2-0-RC4:1.10
	netbsd-2-0-RC3:1.10
	netbsd-2-0-RC2:1.10
	netbsd-2-0-RC1:1.10
	netbsd-2-0:1.10.0.4
	netbsd-2-0-base:1.10
	netbsd-1-6-PATCH002-RELEASE:1.10
	netbsd-1-6-PATCH002:1.10
	netbsd-1-6-PATCH002-RC4:1.10
	netbsd-1-6-PATCH002-RC3:1.10
	netbsd-1-6-PATCH002-RC2:1.10
	netbsd-1-6-PATCH002-RC1:1.10
	netbsd-1-6-PATCH001:1.10
	netbsd-1-6-PATCH001-RELEASE:1.10
	netbsd-1-6-PATCH001-RC3:1.10
	netbsd-1-6-PATCH001-RC2:1.10
	netbsd-1-6-PATCH001-RC1:1.10
	fvdl_fs64_base:1.10
	netbsd-1-6-RELEASE:1.10
	netbsd-1-6-RC3:1.10
	netbsd-1-6-RC2:1.10
	netbsd-1-6-RC1:1.10
	netbsd-1-6:1.10.0.2
	netbsd-1-6-base:1.10;
locks; strict;
comment	@# @;


1.22
date	2017.01.24.18.04.04;	author christos;	state Exp;
branches;
next	1.21;
commitid	kdLAgdCEWzeUrfDz;

1.21
date	2010.02.11.09.06.50;	author roy;	state Exp;
branches
	1.21.30.1
	1.21.34.1;
next	1.20;

1.20
date	2010.02.05.10.01.20;	author roy;	state Exp;
branches;
next	1.19;

1.19
date	2009.09.20.23.19.55;	author abs;	state Exp;
branches;
next	1.18;

1.18
date	2009.09.20.22.46.13;	author abs;	state Exp;
branches;
next	1.17;

1.17
date	2009.09.20.19.49.10;	author abs;	state Exp;
branches;
next	1.16;

1.16
date	2009.09.20.19.29.26;	author abs;	state Exp;
branches;
next	1.15;

1.15
date	2009.04.07.11.49.18;	author joerg;	state Exp;
branches;
next	1.14;

1.14
date	2009.01.25.22.08.38;	author abs;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2007.07.30.14.03.17;	author jmmv;	state Exp;
branches
	1.13.12.1
	1.13.18.1;
next	1.12;

1.12
date	2007.07.29.13.59.39;	author jmmv;	state Exp;
branches;
next	1.11;

1.11
date	2007.05.10.23.22.32;	author dogcow;	state Exp;
branches;
next	1.10;

1.10
date	2002.05.02.18.02.52;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	2002.04.26.15.50.46;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	2002.04.12.03.51.31;	author lukem;	state Exp;
branches;
next	1.7;

1.7
date	2002.04.12.00.15.26;	author lukem;	state Exp;
branches;
next	1.6;

1.6
date	2002.04.06.18.16.11;	author tsutsui;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.01.12.16.14;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.31.03.04.49;	author thorpej;	state Exp;
branches;
next	1.3;

1.3
date	2002.03.30.06.55.18;	author thorpej;	state Exp;
branches;
next	1.2;

1.2
date	2002.03.30.00.35.57;	author lukem;	state Exp;
branches;
next	1.1;

1.1
date	2002.02.11.17.49.41;	author thorpej;	state Exp;
branches;
next	;

1.21.30.1
date	2017.03.20.06.52.10;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.21.34.1
date	2017.04.21.16.51.15;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.14.2.1
date	2009.05.13.19.17.54;	author jym;	state Exp;
branches;
next	;

1.13.12.1
date	2008.10.05.20.10.37;	author mjf;	state dead;
branches;
next	;

1.13.18.1
date	2007.07.30.14.03.17;	author jmmv;	state dead;
branches;
next	1.13.18.2;

1.13.18.2
date	2007.07.30.14.03.18;	author jmmv;	state Exp;
branches;
next	;


desc
@@


1.22
log
@+= for MAKEFS_FLAGS
@
text
@#	$NetBSD: Makefile,v 1.21 2010/02/11 09:06:50 roy Exp $

.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"

IMAGE=		ramdisk.fs
IMAGESIZE=	3072k
MAKEFS_FLAGS+=	-f 15

WARNS=		1
DBG=		-Os

CRUNCHBIN=	ramdiskbin
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	le
MAKEDEVTARGETS=	ramdisk
IMAGEDEPENDS=	${CRUNCHBIN} \
		dot.profile \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services

# Use stubs to eliminate some large stuff from libc
HACKSRC=	${DISTRIBDIR}/utils/libhack
.include	"${HACKSRC}/Makefile.inc"
${CRUNCHBIN}:	libhack.o

.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

release:

.include <bsd.prog.mk>
@


1.21
log
@Remove terminfo.db as it's now embedded in libterminfo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2010/02/05 10:01:20 roy Exp $
d8 1
a8 1
MAKEFS_FLAGS=	-f 15
@


1.21.34.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2017/01/24 18:04:04 christos Exp $
d8 1
a8 1
MAKEFS_FLAGS+=	-f 15
@


1.21.30.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2017/01/24 18:04:04 christos Exp $
d8 1
a8 1
MAKEFS_FLAGS+=	-f 15
@


1.20
log
@Use the rescue terminfo.db in our images instead of termcap.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2009/09/20 23:19:55 abs Exp $
a19 1
		${DESTDIR}/rescue/terminfo.db \
@


1.19
log
@34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2009/09/20 22:46:13 abs Exp $
d20 1
a20 1
		${DISTRIBDIR}/common/termcap \
@


1.18
log
@Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2009/09/20 19:49:10 abs Exp $
d20 1
a20 1
		${DESTDIR}/usr/share/misc/termcap \
@


1.17
log
@${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2009/09/20 19:29:26 abs Exp $
d19 1
a19 1
		disktab.preinstall dot.profile \
@


1.16
log
@Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2009/04/07 11:49:18 joerg Exp $
d22 2
a23 2
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/distrib/common/protocols \
		${NETBSDSRCDIR}/distrib/common/services
@


1.15
log
@Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2009/01/25 22:08:38 abs Exp $
d19 1
a19 1
		disktab.preinstall dot.hdprofile dot.profile \
@


1.14
log
@Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2007/07/30 14:03:17 jmmv Exp $
d23 1
a23 2
		${NETBSDSRCDIR}/distrib/common/services \
		${NETBSDSRCDIR}/usr.sbin/dhcp/clientscript/dhclient-script
d31 1
@


1.14.2.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2009/04/07 11:49:18 joerg Exp $
d23 2
a24 1
		${NETBSDSRCDIR}/distrib/common/services
a31 1
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
@


1.13
log
@In the shark's installation image, create the bpf device from the
'ramdisk' MAKEDEV goal instead of from a Makefile definition.  As there
is just one configuration for the ramdisk, it's better to keep everything
in one place.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2007/07/29 13:59:39 jmmv Exp $
d22 1
a22 1
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
@


1.13.18.1
log
@file Makefile was added on branch matt-mips64 on 2007-07-30 14:03:18 +0000
@
text
@d1 37
@


1.13.18.2
log
@In the shark's installation image, create the bpf device from the
'ramdisk' MAKEDEV goal instead of from a Makefile definition.  As there
is just one configuration for the ramdisk, it's better to keep everything
in one place.
@
text
@a0 37
#	$NetBSD: Makefile,v 1.13 2007/07/30 14:03:17 jmmv Exp $

.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"

IMAGE=		ramdisk.fs
IMAGESIZE=	3072k
MAKEFS_FLAGS=	-f 15

WARNS=		1
DBG=		-Os

CRUNCHBIN=	ramdiskbin
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	le
MAKEDEVTARGETS=	ramdisk
IMAGEDEPENDS=	${CRUNCHBIN} \
		disktab.preinstall dot.hdprofile dot.profile \
		${DESTDIR}/usr/share/misc/termcap \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
		${NETBSDSRCDIR}/distrib/common/services \
		${NETBSDSRCDIR}/usr.sbin/dhcp/clientscript/dhclient-script

# Use stubs to eliminate some large stuff from libc
HACKSRC=	${DISTRIBDIR}/utils/libhack
.include	"${HACKSRC}/Makefile.inc"
${CRUNCHBIN}:	libhack.o

.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

release:

.include <bsd.prog.mk>
@


1.13.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2007/07/30 14:03:17 jmmv Exp $
@


1.12
log
@Add dhclient to the shark's installation disk image so that we can configure
network interfaces through DHCP in sysinst.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2007/05/10 23:22:32 dogcow Exp $
d17 1
a17 1
MAKEDEVTARGETS=	ramdisk bpf
@


1.11
log
@Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2002/05/02 18:02:52 lukem Exp $
d17 1
a17 1
MAKEDEVTARGETS=	ramdisk
d23 2
a24 1
		${NETBSDSRCDIR}/distrib/common/services
@


1.10
log
@yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2002/04/26 15:50:46 lukem Exp $
d23 1
a23 1
		${NETBSDSRCDIR}/etc/services
@


1.9
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2002/04/12 03:51:31 lukem Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
a29 5

realall: ${IMAGE}

release:

d33 2
@


1.8
log
@alpha sort some entries
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2002/04/12 00:15:26 lukem Exp $
d4 1
a4 1
.include "${_SRC_TOP_}/distrib/Makefile.inc"
d21 3
a23 3
		${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
		${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
		${_SRC_TOP_}/etc/services
@


1.7
log
@minor tweak
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2002/04/06 18:16:11 tsutsui Exp $
d22 1
a22 1
		${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \
@


1.6
log
@Set DBG=-Os for libhack.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2002/04/01 12:16:14 lukem Exp $
a2 1
.include "${.CURDIR}/../../../Makefile.inc"
d4 1
@


1.5
log
@ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2002/03/31 03:04:49 thorpej Exp $
d11 1
@


1.4
log
@Give the ramdisk some free inodes so that sysinst can create temp
files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2002/03/30 06:55:18 thorpej Exp $
d8 1
a22 2

MAKEFS_FLAGS=	-f 10
@


1.3
log
@Fix shark release building targets.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2002/03/30 00:35:57 lukem Exp $
d22 2
@


1.2
log
@convert to new distrib world order.  make UNPRIVED= should now work.
(xxx; untested)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2002/03/28 04:33:22 lukem Exp $
d3 1
a3 1
.include "${.CURDIR}/../../Makefile.inc"
d14 1
a14 1
IMAGEENDIAN=	be
@


1.1
log
@First cut at instkernel for NetBSD/shark.  Based on NetBSD/alpha
instkernel.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 2
a4 1
TOP=		${.CURDIR}/..
a5 1
.include "${TOP}/Makefile.inc"
d7 3
d11 11
a21 1
CBIN=		ramdiskbin
d23 4
a26 34
MOUNT_POINT?=	/mnt
# DEV/RDEV file system device, CDEV/RDEV vnconfig device
VND?=		vnd0
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a
MDEC=		${DESTDIR}/usr/mdec

LISTS=		list
CRUNCHCONF=	${CBIN}.conf
MTREECONF=	mtree.conf

CRUNCHGEN?=	crunchgen

all: ${CBIN} 
	dd if=/dev/zero of=${IMAGE} count=6150
	vnconfig -v -c ${VND} ${IMAGE}
#	disklabel -rw ${VND} ${DISKTYPE}
	# XXX otherwise we error out with "can't rewrite disklabel"
	-newfs -B le -m 0 -o space -i 5120 -b 8192 -f 1024 -c 20 ${VND_RDEV}
	mount ${VND_DEV} ${MOUNT_POINT}
	${MTREE} -def ${.CURDIR}/${MTREECONF} -p ${MOUNT_POINT}/ -u
	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
	    KERNOBJDIR=${KERNOBJDIR} \
	    TARGDIR=${MOUNT_POINT} sh ${TOP}/src/runlist.sh ${.CURDIR}/${LISTS}
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	umount ${MOUNT_POINT}
	vnconfig -u ${VND}

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND}
	-/bin/rm -f ${IMAGE}
a27 2
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
	${CRUNCHGEN} -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
d29 1
a29 2
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
	${MAKE} -f ${CBIN}.mk all
d31 1
a31 2
clean cleandir distclean:
	/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c
d33 5
a37 4
.include <bsd.own.mk>
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
.include <bsd.sys.mk>
@

