head	1.37;
access;
symbols
	netbsd-11-0-RC4:1.37
	netbsd-11-0-RC3:1.37
	netbsd-11-0-RC2:1.37
	netbsd-11-0-RC1:1.37
	perseant-exfatfs-base-20250801:1.37
	netbsd-11:1.37.0.26
	netbsd-11-base:1.37
	netbsd-10-1-RELEASE:1.37
	perseant-exfatfs-base-20240630:1.37
	perseant-exfatfs:1.37.0.24
	perseant-exfatfs-base:1.37
	netbsd-8-3-RELEASE:1.37
	netbsd-9-4-RELEASE:1.37
	netbsd-10-0-RELEASE:1.37
	netbsd-10-0-RC6:1.37
	netbsd-10-0-RC5:1.37
	netbsd-10-0-RC4:1.37
	netbsd-10-0-RC3:1.37
	netbsd-10-0-RC2:1.37
	netbsd-10-0-RC1:1.37
	netbsd-10:1.37.0.22
	netbsd-10-base:1.37
	netbsd-9-3-RELEASE:1.37
	cjep_sun2x-base1:1.37
	cjep_sun2x:1.37.0.20
	cjep_sun2x-base:1.37
	cjep_staticlib_x-base1:1.37
	netbsd-9-2-RELEASE:1.37
	cjep_staticlib_x:1.37.0.18
	cjep_staticlib_x-base:1.37
	netbsd-9-1-RELEASE:1.37
	phil-wifi-20200421:1.37
	phil-wifi-20200411:1.37
	is-mlppp:1.37.0.16
	is-mlppp-base:1.37
	phil-wifi-20200406:1.37
	netbsd-8-2-RELEASE:1.37
	netbsd-9-0-RELEASE:1.37
	netbsd-9-0-RC2:1.37
	netbsd-9-0-RC1:1.37
	phil-wifi-20191119:1.37
	netbsd-9:1.37.0.14
	netbsd-9-base:1.37
	phil-wifi-20190609:1.37
	netbsd-8-1-RELEASE:1.37
	netbsd-8-1-RC1:1.37
	pgoyette-compat-merge-20190127:1.37
	pgoyette-compat-20190127:1.37
	pgoyette-compat-20190118:1.37
	pgoyette-compat-1226:1.37
	pgoyette-compat-1126:1.37
	pgoyette-compat-1020:1.37
	pgoyette-compat-0930:1.37
	pgoyette-compat-0906:1.37
	netbsd-7-2-RELEASE:1.36
	pgoyette-compat-0728:1.37
	netbsd-8-0-RELEASE:1.37
	phil-wifi:1.37.0.12
	phil-wifi-base:1.37
	pgoyette-compat-0625:1.37
	netbsd-8-0-RC2:1.37
	pgoyette-compat-0521:1.37
	pgoyette-compat-0502:1.37
	pgoyette-compat-0422:1.37
	netbsd-8-0-RC1:1.37
	pgoyette-compat-0415:1.37
	pgoyette-compat-0407:1.37
	pgoyette-compat-0330:1.37
	pgoyette-compat-0322:1.37
	pgoyette-compat-0315:1.37
	netbsd-7-1-2-RELEASE:1.36
	pgoyette-compat:1.37.0.10
	pgoyette-compat-base:1.37
	netbsd-7-1-1-RELEASE:1.36
	matt-nb8-mediatek:1.37.0.8
	matt-nb8-mediatek-base:1.37
	perseant-stdc-iso10646:1.37.0.6
	perseant-stdc-iso10646-base:1.37
	netbsd-8:1.37.0.4
	netbsd-8-base:1.37
	prg-localcount2-base3:1.37
	prg-localcount2-base2:1.37
	prg-localcount2-base1:1.37
	prg-localcount2:1.37.0.2
	prg-localcount2-base:1.37
	pgoyette-localcount-20170426:1.37
	bouyer-socketcan-base1:1.37
	pgoyette-localcount-20170320:1.37
	netbsd-7-1:1.36.0.36
	netbsd-7-1-RELEASE:1.36
	netbsd-7-1-RC2:1.36
	netbsd-7-nhusb-base-20170116:1.36
	bouyer-socketcan:1.36.0.34
	bouyer-socketcan-base:1.36
	pgoyette-localcount-20170107:1.36
	netbsd-7-1-RC1:1.36
	pgoyette-localcount-20161104:1.36
	netbsd-7-0-2-RELEASE:1.36
	localcount-20160914:1.36
	netbsd-7-nhusb:1.36.0.32
	netbsd-7-nhusb-base:1.36
	pgoyette-localcount-20160806:1.36
	pgoyette-localcount-20160726:1.36
	pgoyette-localcount:1.36.0.30
	pgoyette-localcount-base:1.36
	netbsd-7-0-1-RELEASE:1.36
	netbsd-7-0:1.36.0.28
	netbsd-7-0-RELEASE:1.36
	netbsd-7-0-RC3:1.36
	netbsd-7-0-RC2:1.36
	netbsd-7-0-RC1:1.36
	netbsd-5-2-3-RELEASE:1.28
	netbsd-5-1-5-RELEASE:1.28
	netbsd-6-0-6-RELEASE:1.36
	netbsd-6-1-5-RELEASE:1.36
	netbsd-7:1.36.0.26
	netbsd-7-base:1.36
	yamt-pagecache-base9:1.36
	yamt-pagecache-tag8:1.36
	netbsd-6-1-4-RELEASE:1.36
	netbsd-6-0-5-RELEASE:1.36
	tls-earlyentropy:1.36.0.24
	tls-earlyentropy-base:1.36
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.36
	riastradh-drm2-base3:1.36
	netbsd-6-1-3-RELEASE:1.36
	netbsd-6-0-4-RELEASE:1.36
	netbsd-5-2-2-RELEASE:1.28
	netbsd-5-1-4-RELEASE:1.28
	netbsd-6-1-2-RELEASE:1.36
	netbsd-6-0-3-RELEASE:1.36
	netbsd-5-2-1-RELEASE:1.28
	netbsd-5-1-3-RELEASE:1.28
	netbsd-6-1-1-RELEASE:1.36
	riastradh-drm2-base2:1.36
	riastradh-drm2-base1:1.36
	riastradh-drm2:1.36.0.16
	riastradh-drm2-base:1.36
	netbsd-6-1:1.36.0.22
	netbsd-6-0-2-RELEASE:1.36
	netbsd-6-1-RELEASE:1.36
	khorben-n900:1.36.0.20
	netbsd-6-1-RC4:1.36
	netbsd-6-1-RC3:1.36
	agc-symver:1.36.0.18
	agc-symver-base:1.36
	netbsd-6-1-RC2:1.36
	netbsd-6-1-RC1:1.36
	yamt-pagecache-base8:1.36
	netbsd-5-2:1.28.0.30
	netbsd-6-0-1-RELEASE:1.36
	yamt-pagecache-base7:1.36
	netbsd-5-2-RELEASE:1.28
	netbsd-5-2-RC1:1.28
	matt-nb6-plus-nbase:1.36
	yamt-pagecache-base6:1.36
	netbsd-6-0:1.36.0.14
	netbsd-6-0-RELEASE:1.36
	netbsd-6-0-RC2:1.36
	tls-maxphys:1.36.0.12
	tls-maxphys-base:1.36
	matt-nb6-plus:1.36.0.10
	matt-nb6-plus-base:1.36
	netbsd-6-0-RC1:1.36
	yamt-pagecache-base5:1.36
	yamt-pagecache-base4:1.36
	netbsd-6:1.36.0.8
	netbsd-6-base:1.36
	netbsd-5-1-2-RELEASE:1.28
	netbsd-5-1-1-RELEASE:1.28
	yamt-pagecache-base3:1.36
	yamt-pagecache-base2:1.36
	yamt-pagecache:1.36.0.6
	yamt-pagecache-base:1.36
	cherry-xenmp:1.36.0.4
	cherry-xenmp-base:1.36
	bouyer-quota2-nbase:1.36
	bouyer-quota2:1.36.0.2
	bouyer-quota2-base:1.36
	matt-mips64-premerge-20101231:1.36
	matt-nb5-mips64-premerge-20101231:1.28
	matt-nb5-pq3:1.28.0.28
	matt-nb5-pq3-base:1.28
	netbsd-5-1:1.28.0.26
	netbsd-5-1-RELEASE:1.28
	netbsd-5-1-RC4:1.28
	matt-nb5-mips64-k15:1.28
	netbsd-5-1-RC3:1.28
	netbsd-5-1-RC2:1.28
	netbsd-5-1-RC1:1.28
	netbsd-5-0-2-RELEASE:1.28
	matt-nb5-mips64-premerge-20091211:1.28
	matt-premerge-20091211:1.34
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.28
	matt-nb4-mips64-k7-u2a-k9b:1.28
	matt-nb5-mips64-u1-k1-k5:1.28
	matt-nb5-mips64:1.28.0.24
	netbsd-5-0-1-RELEASE:1.28
	jym-xensuspend-nbase:1.30
	netbsd-5-0:1.28.0.22
	netbsd-5-0-RELEASE:1.28
	netbsd-5-0-RC4:1.28
	netbsd-5-0-RC3:1.28
	netbsd-5-0-RC2:1.28
	jym-xensuspend:1.29.0.2
	jym-xensuspend-base:1.30
	netbsd-5-0-RC1:1.28
	netbsd-5:1.28.0.20
	netbsd-5-base:1.28
	matt-mips64-base2:1.28
	matt-mips64:1.28.0.18
	netbsd-4-0-1-RELEASE:1.27
	wrstuden-revivesa-base-3:1.28
	wrstuden-revivesa-base-2:1.28
	wrstuden-fixsa-newbase:1.27
	wrstuden-revivesa-base-1:1.28
	yamt-pf42-base4:1.28
	yamt-pf42-base3:1.28
	hpcarm-cleanup-nbase:1.28
	yamt-pf42-baseX:1.28
	yamt-pf42-base2:1.28
	wrstuden-revivesa:1.28.0.16
	wrstuden-revivesa-base:1.28
	yamt-pf42:1.28.0.14
	yamt-pf42-base:1.28
	mjf-devfs2:1.28.0.12
	mjf-devfs2-base:1.28
	keiichi-mipv6:1.28.0.10
	keiichi-mipv6-base:1.28
	mjf-devfs:1.28.0.8
	mjf-devfs-base:1.28
	matt-armv6-nbase:1.28
	matt-armv6-prevmlocking:1.28
	wrstuden-fixsa-base-1:1.27
	netbsd-4-0:1.27.0.14
	netbsd-4-0-RELEASE:1.27
	cube-autoconf:1.28.0.6
	cube-autoconf-base:1.28
	netbsd-4-0-RC5:1.27
	netbsd-4-0-RC4:1.27
	netbsd-4-0-RC3:1.27
	netbsd-4-0-RC2:1.27
	netbsd-4-0-RC1:1.27
	matt-armv6:1.28.0.4
	matt-armv6-base:1.28
	matt-mips64-base:1.28
	hpcarm-cleanup:1.28.0.2
	hpcarm-cleanup-base:1.28
	netbsd-3-1-1-RELEASE:1.27
	netbsd-3-0-3-RELEASE:1.27
	wrstuden-fixsa:1.27.0.12
	wrstuden-fixsa-base:1.27
	abandoned-netbsd-4-base:1.27
	abandoned-netbsd-4:1.27.0.6
	netbsd-3-1:1.27.0.8
	netbsd-3-1-RELEASE:1.27
	netbsd-3-0-2-RELEASE:1.27
	netbsd-3-1-RC4:1.27
	netbsd-3-1-RC3:1.27
	netbsd-3-1-RC2:1.27
	netbsd-3-1-RC1:1.27
	netbsd-4:1.27.0.10
	netbsd-4-base:1.27
	netbsd-3-0-1-RELEASE:1.27
	netbsd-3-0:1.27.0.4
	netbsd-3-0-RELEASE:1.27
	netbsd-3-0-RC6:1.27
	netbsd-3-0-RC5:1.27
	netbsd-3-0-RC4:1.27
	netbsd-3-0-RC3:1.27
	netbsd-3-0-RC2:1.27
	netbsd-3-0-RC1:1.27
	netbsd-2-0-3-RELEASE:1.26.4.1
	netbsd-2-1:1.26.4.1.0.4
	netbsd-2-1-RELEASE:1.26.4.1
	netbsd-2-1-RC6:1.26.4.1
	netbsd-2-1-RC5:1.26.4.1
	netbsd-2-1-RC4:1.26.4.1
	netbsd-2-1-RC3:1.26.4.1
	netbsd-2-1-RC2:1.26.4.1
	netbsd-2-1-RC1:1.26.4.1
	netbsd-2-0-2-RELEASE:1.26.4.1
	netbsd-3:1.27.0.2
	netbsd-3-base:1.27
	netbsd-2-0-1-RELEASE:1.26.4.1
	netbsd-2:1.26.4.1.0.2
	netbsd-2-base:1.26.4.1
	netbsd-2-0-RELEASE:1.26.4.1
	netbsd-2-0-RC5:1.26.4.1
	netbsd-2-0-RC4:1.26.4.1
	netbsd-2-0-RC3:1.26.4.1
	netbsd-2-0-RC2:1.26.4.1
	netbsd-2-0-RC1:1.26.4.1
	netbsd-2-0:1.26.0.4
	netbsd-2-0-base:1.26
	netbsd-1-6-PATCH002-RELEASE:1.26
	netbsd-1-6-PATCH002:1.26
	netbsd-1-6-PATCH002-RC4:1.26
	netbsd-1-6-PATCH002-RC3:1.26
	netbsd-1-6-PATCH002-RC2:1.26
	netbsd-1-6-PATCH002-RC1:1.26
	netbsd-1-6-PATCH001:1.26
	netbsd-1-6-PATCH001-RELEASE:1.26
	netbsd-1-6-PATCH001-RC3:1.26
	netbsd-1-6-PATCH001-RC2:1.26
	netbsd-1-6-PATCH001-RC1:1.26
	fvdl_fs64_base:1.26
	netbsd-1-6-RELEASE:1.26
	netbsd-1-6-RC3:1.26
	netbsd-1-6-RC2:1.26
	netbsd-1-6-RC1:1.26
	netbsd-1-6:1.26.0.2
	netbsd-1-6-base:1.26
	netbsd-1-5-PATCH003:1.6.2.1
	netbsd-1-5-PATCH002:1.6
	netbsd-1-5-PATCH001:1.6
	netbsd-1-5-RELEASE:1.6
	netbsd-1-5-BETA2:1.6
	netbsd-1-5-BETA:1.6
	netbsd-1-4-PATCH003:1.1.2.2
	netbsd-1-5-ALPHA2:1.6
	netbsd-1-5:1.6.0.2
	netbsd-1-5-base:1.6
	minoura-xpg4dl:1.5.0.2
	minoura-xpg4dl-base:1.5
	netbsd-1-4-PATCH002:1.1.2.1
	wrstuden-devbsize-19991221:1.3
	wrstuden-devbsize:1.2.0.4
	wrstuden-devbsize-base:1.3
	comdex-fall-1999:1.2.0.2
	comdex-fall-1999-base:1.2
	netbsd-1-4-PATCH001:1.1
	netbsd-1-4-RELEASE:1.1
	netbsd-1-4:1.1.0.2
	netbsd-1-4-base:1.1;
locks; strict;
comment	@# @;


1.37
date	2017.01.24.18.04.03;	author christos;	state Exp;
branches;
next	1.36;
commitid	kdLAgdCEWzeUrfDz;

1.36
date	2010.02.11.09.06.49;	author roy;	state Exp;
branches
	1.36.30.1
	1.36.34.1;
next	1.35;

1.35
date	2010.02.05.10.01.19;	author roy;	state Exp;
branches;
next	1.34;

1.34
date	2009.09.20.23.19.53;	author abs;	state Exp;
branches;
next	1.33;

1.33
date	2009.09.20.22.46.12;	author abs;	state Exp;
branches;
next	1.32;

1.32
date	2009.09.20.19.49.09;	author abs;	state Exp;
branches;
next	1.31;

1.31
date	2009.09.20.19.29.26;	author abs;	state Exp;
branches;
next	1.30;

1.30
date	2009.04.07.11.49.17;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2009.01.25.22.08.38;	author abs;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2007.05.10.23.22.30;	author dogcow;	state Exp;
branches
	1.28.12.1;
next	1.27;

1.27
date	2004.04.18.20.04.26;	author dsl;	state Exp;
branches;
next	1.26;

1.26
date	2002.05.02.18.02.39;	author lukem;	state Exp;
branches
	1.26.4.1;
next	1.25;

1.25
date	2002.04.26.15.50.34;	author lukem;	state Exp;
branches;
next	1.24;

1.24
date	2002.04.13.04.14.21;	author tv;	state Exp;
branches;
next	1.23;

1.23
date	2002.04.12.03.26.57;	author lukem;	state Exp;
branches;
next	1.22;

1.22
date	2002.04.11.15.46.33;	author lukem;	state Exp;
branches;
next	1.21;

1.21
date	2002.04.06.18.16.10;	author tsutsui;	state Exp;
branches;
next	1.20;

1.20
date	2002.04.01.12.16.12;	author lukem;	state Exp;
branches;
next	1.19;

1.19
date	2002.03.28.04.33.22;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	2002.03.28.03.00.03;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	2002.03.25.07.43.43;	author lukem;	state Exp;
branches;
next	1.16;

1.16
date	2002.03.24.23.05.12;	author lukem;	state Exp;
branches;
next	1.15;

1.15
date	2002.03.23.16.38.50;	author shiba;	state Exp;
branches;
next	1.14;

1.14
date	2002.03.05.21.23.29;	author thorpej;	state Exp;
branches;
next	1.13;

1.13
date	2002.03.05.20.41.29;	author thorpej;	state Exp;
branches;
next	1.12;

1.12
date	2002.03.04.16.43.10;	author shiba;	state Exp;
branches;
next	1.11;

1.11
date	2002.02.05.23.10.02;	author wormey;	state Exp;
branches;
next	1.10;

1.10
date	2001.10.13.06.15.17;	author jmc;	state Exp;
branches;
next	1.9;

1.9
date	2001.10.10.05.13.53;	author enami;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.01.07.57.58;	author garbled;	state Exp;
branches;
next	1.7;

1.7
date	2000.08.30.23.51.50;	author jhawk;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.11.11.06.24;	author fredb;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2000.05.02.16.06.50;	author sjg;	state Exp;
branches;
next	1.4;

1.4
date	2000.03.30.04.33.57;	author fredb;	state Exp;
branches;
next	1.3;

1.3
date	99.12.17.20.48.08;	author fredb;	state Exp;
branches;
next	1.2;

1.2
date	99.05.11.20.46.59;	author veego;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	99.03.26.08.34.37;	author ender;	state Exp;
branches
	1.1.2.1;
next	;

1.36.30.1
date	2017.03.20.06.52.06;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.36.34.1
date	2017.04.21.16.51.11;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.29.2.1
date	2009.05.13.19.17.44;	author jym;	state Exp;
branches;
next	;

1.28.12.1
date	2008.10.05.20.10.22;	author mjf;	state dead;
branches;
next	;

1.26.4.1
date	2004.04.21.04.12.28;	author jmc;	state Exp;
branches;
next	;

1.6.2.1
date	2002.03.25.17.32.54;	author he;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	2004.08.13.04.45.57;	author jmc;	state Exp;
branches;
next	;

1.2.4.1
date	99.12.27.18.28.23;	author wrstuden;	state Exp;
branches;
next	;

1.1.2.1
date	2000.01.08.20.17.16;	author he;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2000.06.27.15.08.06;	author he;	state Exp;
branches;
next	;


desc
@@


1.37
log
@+= for MAKEFS_FLAGS
@
text
@#	$NetBSD: Makefile,v 1.36 2010/02/11 09:06:49 roy Exp $

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

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

WARNS=		1
DBG=		-Os

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

.ifndef NOTESOBJDIR
NOTESOBJDIR!=	cd ${DISTRIBDIR}/notes/mac68k && ${PRINTOBJDIR}
.endif
IMAGEDEPENDS+=	${NOTESOBJDIR}/INSTALL.more
PARSELISTENV=	NOTESOBJDIR=${NOTESOBJDIR}

# 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.36
log
@Remove terminfo.db as it's now embedded in libterminfo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2010/02/05 10:01:19 roy Exp $
d8 1
a8 1
MAKEFS_FLAGS=	-f 15
@


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


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


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


1.34
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.33 2009/09/20 22:46:12 abs Exp $
d20 1
a20 1
		${DISTRIBDIR}/common/termcap \
@


1.33
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.32 2009/09/20 19:49:09 abs Exp $
d20 1
a20 1
		${DISTRIBDIR}/mac68k/miniroot/termcap \
@


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


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


1.30
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.29 2009/01/25 22:08:38 abs Exp $
d19 1
a19 1
		disktab.preinstall dot.hdprofile dot.profile \
@


1.29
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.28 2007/05/10 23:22:30 dogcow Exp $
d37 1
@


1.29.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.30 2009/04/07 11:49:17 joerg Exp $
a36 1
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
@


1.28
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.27 2004/04/18 20:04:26 dsl Exp $
d22 1
a22 1
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
@


1.28.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2007/05/10 23:22:30 dogcow Exp $
@


1.27
log
@Add French, German and Polish sysinstmsgs to all ramdisks that include sysinst
expect those where at least one of the language variants isn't built,
and those that are known not to have enough space (i386 ramdisk-tiny).
Files added to list.sysinst, list.sysinst.en is used when these files
cannot be added.
This might hit a size limit on another build - but I have no (sane) way of
testing it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2002/05/02 18:02:39 lukem Exp $
d23 1
a23 1
		${NETBSDSRCDIR}/etc/services
@


1.26
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.25 2002/04/26 15:50:34 lukem Exp $
d14 1
a14 1
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
@


1.26.4.1
log
@Pullup rev 1.27 (requested by dsl in ticket #168)

Add French, German and Polish sysinstmsgs to all ramdisks that include sysinst
except those where at least one of the language variants isn't built,
and those that are known not to have enough space (i386 ramdisk-tiny).
Files added to list.sysinst, list.sysinst.en is used when these files
cannot be added.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2002/05/02 18:02:39 lukem Exp $
d14 1
a14 1
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst.en
@


1.25
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2002/04/13 04:14:21 tv Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
a35 5

realall: ${IMAGE}

release:

d39 2
@


1.24
log
@Get termcap from the right place: ${DISTRIBDIR}/mac68k/miniroot/termcap.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2002/04/12 03:26:57 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.23
log
@use ${DISTRIBDIR} appropriately
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2002/04/11 15:46:33 lukem Exp $
d20 1
a20 1
		${DISTRIBDIR}/miniroot/termcap \
@


1.22
log
@explicitly pull in distrib/Makefile.inc
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2002/04/06 18:16:10 tsutsui Exp $
d20 1
a20 1
		${.CURDIR}/../../miniroot/termcap \
@


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


1.20
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.19 2002/03/28 04:33:22 lukem Exp $
d11 1
@


1.19
log
@- Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
  required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2002/03/28 03:00:03 lukem Exp $
d8 1
@


1.18
log
@cosmetic reorg
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2002/03/25 07:43:43 lukem Exp $
a5 4
.ifndef NOTESOBJDIR
NOTESOBJDIR!=cd ${DISTRIBDIR}/notes/mac68k && ${PRINTOBJDIR}
.endif

a18 1
		${NOTESOBJDIR}/INSTALL.more \
d23 11
a38 9

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

# This is listed in ramdiskbin.conf but is built here.
${CRUNCHBIN}: libhack.o


a41 2

PARSELISTENV+=	NOTESOBJDIR=${NOTESOBJDIR}
@


1.17
log
@Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2002/03/24 23:05:12 lukem Exp $
d21 1
a21 1
		disktab.preinstall dot.profile dot.hdprofile \
d24 2
a25 4
		${_SRC_TOP_}/etc/group \
		${_SRC_TOP_}/etc/master.passwd \
		${_SRC_TOP_}/etc/protocols \
		${_SRC_TOP_}/etc/netconfig \
@


1.16
log
@add missing IMAGEDEPEND
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2002/03/23 16:38:50 shiba Exp $
a38 3

# Turn off libhack's gethostby*() as it only supports /etc/hosts
HACKOBJS:=	${HACKOBJS:Ngethost.o}
@


1.15
log
@Switch to the new common ramdisk build infrastructure.

Reviewed by briggs,fredb
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2002/03/05 21:23:29 thorpej Exp $
d21 1
a21 1
		dot.profile dot.hdprofile \
@


1.14
log
@Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2002/03/05 20:41:29 thorpej Exp $
d3 1
a5 4
TOP=		${.CURDIR}/..

.include "${TOP}/Makefile.inc"

d7 1
a7 1
NOTESOBJDIR!=cd ${.CURDIR}/../../../notes/mac68k && ${PRINTOBJDIR}
d11 1
d13 1
a13 1
CBIN=		ramdiskbin
d15 14
a28 37
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
VND_CDEV=	/dev/${VND}c
VND_CRDEV=	/dev/r${VND}c
IMAGE?=		xxx.fs

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

CRUNCHGEN?=	crunchgen
MTREE?=		mtree

all: ${CBIN} 
	dd if=/dev/zero of=${IMAGE} count=5120
	vnconfig -v -c ${VND_CDEV} ${IMAGE}
	-disklabel ${VND} >tmplabel
	disklabel -r -R ${VND} tmplabel
	newfs -m 0 -o space -i 5120 ${VND_RDEV}
	mount ${VND_DEV} ${MOUNT_POINT}
	${MTREE} -def ${.CURDIR}/${MTREECONF} -p ${MOUNT_POINT}/ -u
	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
	    KERNOBJDIR=${KERNOBJDIR} NOTESOBJDIR=${NOTESOBJDIR} \
	    TARGDIR=${MOUNT_POINT} sh ${TOP}/src/runlist.sh ${.CURDIR}/${LISTS}
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	umount ${MOUNT_POINT}
	vnconfig -u ${VND_CDEV}

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND_DEV}
	-/bin/rm -f ${IMAGE}
a29 2
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
	${CRUNCHGEN} -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
d31 1
a31 2
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
	${MAKE} -f ${CBIN}.mk all
a34 4
clean cleandir distclean:
	if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi;
	rm -f ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache
	rm -f *.core *.o *.cro *.c tmplabel
d36 16
a51 1
.INTERRUPT: unconfig
d53 1
a53 1
.include <bsd.subdir.mk>
@


1.13
log
@Use ${PRINTOBJDIR}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2002/03/04 16:43:10 shiba Exp $
a69 1
.include <bsd.own.mk>
@


1.12
log
@Clean up make release procedure. But just make through
in distrib/mac68k/miniroot.

Reviewed by fredb, briggs
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.11 2002/02/05 23:10:02 wormey Exp $
d10 1
a10 1
NOTESOBJDIR!=cd ${.CURDIR}/../../../notes/mac68k;${MAKE} ${MAKEFLAGS} -V .OBJDIR
a70 1
.include <bsd.obj.mk>
@


1.11
log
@Fix from Takeshi Shibagaki (ie9t-sbgk@@asahi-net.or.jp):
(effect of)  fixed a bug when it makes install image.
(reason for) We cannot apply to newfs no disklabel device, so must
             write temporary disklabel. refer to i386.
@
text
@d1 5
a5 1
#	$NetBSD: Makefile,v 1.10 2001/10/13 06:15:17 jmc Exp $
d8 1
a8 1
NOTESOBJDIR!=cd ${.CURDIR}/../../../notes/mac68k; ${MAKE} ${MAKEFLAGS} -V .OBJDIR
a10 3
TOP=		${.CURDIR}/..

.include "${TOP}/Makefile.inc"
d31 1
a31 1
all: notes ${CBIN} 
a33 1
#	disklabel -rw ${VND_CDEV} ${DISKTYPE}
d40 1
a40 1
	    KERNOBJDIR=${KERNOBJDIR} \
a52 4
notes:
	cd ${.CURDIR}/../../../notes/mac68k; ${MAKE} ${MAKEFLAGS} INSTALL.more && \
	    cp ${NOTESOBJDIR}/INSTALL.more ${.OBJDIR}

d59 2
d62 3
a64 2
	/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
	    *.o *.cro *.c INSTALL.more
@


1.10
log
@Add MTREE?= to add Makefiles and use  when running mtree
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2001/10/10 05:13:53 enami Exp $
d34 2
@


1.9
log
@Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@@netbsd.org.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2000/11/01 07:57:58 garbled Exp $
d28 1
d36 1
a36 1
	mtree -def ${.CURDIR}/${MTREECONF} -p ${MOUNT_POINT}/ -u
@


1.8
log
@Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2000/08/30 23:51:50 jhawk Exp $
d25 1
a25 1
MTREE=		mtree.conf
d35 1
a35 1
	mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
@


1.7
log
@Use
  ${MAKE}
instead of
  make
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2000/06/11 11:06:24 fredb Exp $
d27 2
d55 1
a55 1
	crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
@


1.6
log
@Expand NOTESOBJDIR only once.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2000/05/02 16:06:50 sjg Exp $
d56 1
a56 1
	make -f ${CBIN}.mk all
@


1.6.2.1
log
@Apply patch (requested by he):
  Introduce dependency between ramdisk/miniroot construction and
  osrelease.sh, to better support UPDATE builds of releases.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2000/06/11 11:06:24 fredb Exp $
d55 1
a55 1
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c ${VERDEP}
@


1.6.2.2
log
@Pullup rev 1.11 (requested by fredb in ticket #152)

We cannot apply to newfs no disklabel device, so must
write temporary disklabel. refer to i386.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.2.1 2002/03/25 17:32:54 he Exp $
a30 2
	-disklabel ${VND} >tmplabel
	disklabel -r -R ${VND} tmplabel
@


1.5
log
@use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2000/03/30 04:33:57 fredb Exp $
d3 3
a5 1
NOTESOBJDIR!=cd ${.CURDIR}/../../../notes/mac68k; ${MAKE} -V .OBJDIR
d49 1
a49 1
	cd ${.CURDIR}/../../../notes/mac68k; ${MAKE} INSTALL.more && \
@


1.4
log
@Make the notes reachover more robust, and only build INSTALL.more, since
that's the only one we use.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1999/12/17 20:48:08 fredb Exp $
d33 1
@


1.3
log
@Changes to mac68k instkernel

- - Don't descend into miniroot. This permits "make clean" and "make obj"
    from within /usr/src/distrib to succeed.
- - Don't strip the install kernel--I need this to boot.
- - Add release target, for use by "make release" in top level src dir.
- - Ramdisk now builds in "notes" dir before reaching into it.
- - Ramdisk unconfigures vnd when make is interrupted, by Ctl-C, for example.
    It would be nice to unconfigure the vnd device if the make fails for any
    reason, but I can't figure out how to do that.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.2 1999/05/11 20:46:59 veego Exp $
d46 2
a47 3
	cd ${.CURDIR}/../../../notes/mac68k && ${MAKE} && \
	    cp ${.OBJDIR}/../../../notes/mac68k${__usrobjdirpf}/INSTALL.more \
	    ${.OBJDIR}/
@


1.2
log
@Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1999/03/26 08:34:37 ender Exp $
d23 1
a23 1
all: ${CBIN} 
d43 5
d55 4
a58 1
	/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c
@


1.2.4.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1999/12/17 20:48:08 fredb Exp $
d23 1
a23 1
all: notes ${CBIN} 
a42 5
notes:
	cd ${.CURDIR}/../../../notes/mac68k && ${MAKE} && \
	    cp ${.OBJDIR}/../../../notes/mac68k${__usrobjdirpf}/INSTALL.more \
	    ${.OBJDIR}/

d50 1
a50 4
	/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
	    *.o *.cro *.c INSTALL.more

.INTERRUPT: unconfig
@


1.1
log
@NetBSD/mac68k installation kernel for use with sysinst.
Based on NetBSD/alpha instkernel.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/03/04 20:32:18 wrstuden Exp $
d50 1
a50 1
	/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
@


1.1.2.1
log
@Pull up revisions 1.2-1.3 (via patch, requested by fredb):
  Build the mac68k instkernel (bootable sysinstall), and include
  it in the standard release.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1999/03/26 08:34:37 ender Exp $
d23 1
a23 1
all: notes ${CBIN} 
a42 5
notes:
	cd ${.CURDIR}/../../../notes/mac68k && ${MAKE} && \
	    cp ${.OBJDIR}/../../../notes/mac68k${__usrobjdirpf}/INSTALL.more \
	    ${.OBJDIR}/

d50 1
a50 4
	/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
	    *.o *.lo *.c INSTALL.more

.INTERRUPT: unconfig
@


1.1.2.2
log
@Pull up revisions 1.4 and 1.6 (requested by fredb):
  Make mac68k ramdisk build with or without obj dirs.
@
text
@d1 1
a1 5
#	$NetBSD: Makefile,v 1.1.2.1 2000/01/08 20:17:16 he Exp $

.ifndef NOTESOBJDIR
NOTESOBJDIR!=cd ${.CURDIR}/../../../notes/mac68k; ${MAKE} ${MAKEFLAGS} -V .OBJDIR
.endif
d44 3
a46 2
	cd ${.CURDIR}/../../../notes/mac68k; ${MAKE} ${MAKEFLAGS} INSTALL.more && \
	    cp ${NOTESOBJDIR}/INSTALL.more ${.OBJDIR}
@


