head	1.34;
access;
symbols
	netbsd-11-0-RC4:1.34
	netbsd-11-0-RC3:1.34
	netbsd-11-0-RC2:1.34
	netbsd-11-0-RC1:1.34
	perseant-exfatfs-base-20250801:1.34
	netbsd-11:1.34.0.26
	netbsd-11-base:1.34
	netbsd-10-1-RELEASE:1.34
	perseant-exfatfs-base-20240630:1.34
	perseant-exfatfs:1.34.0.24
	perseant-exfatfs-base:1.34
	netbsd-8-3-RELEASE:1.34
	netbsd-9-4-RELEASE:1.34
	netbsd-10-0-RELEASE:1.34
	netbsd-10-0-RC6:1.34
	netbsd-10-0-RC5:1.34
	netbsd-10-0-RC4:1.34
	netbsd-10-0-RC3:1.34
	netbsd-10-0-RC2:1.34
	netbsd-10-0-RC1:1.34
	netbsd-10:1.34.0.22
	netbsd-10-base:1.34
	netbsd-9-3-RELEASE:1.34
	cjep_sun2x-base1:1.34
	cjep_sun2x:1.34.0.20
	cjep_sun2x-base:1.34
	cjep_staticlib_x-base1:1.34
	netbsd-9-2-RELEASE:1.34
	cjep_staticlib_x:1.34.0.18
	cjep_staticlib_x-base:1.34
	netbsd-9-1-RELEASE:1.34
	phil-wifi-20200421:1.34
	phil-wifi-20200411:1.34
	is-mlppp:1.34.0.16
	is-mlppp-base:1.34
	phil-wifi-20200406:1.34
	netbsd-8-2-RELEASE:1.34
	netbsd-9-0-RELEASE:1.34
	netbsd-9-0-RC2:1.34
	netbsd-9-0-RC1:1.34
	phil-wifi-20191119:1.34
	netbsd-9:1.34.0.14
	netbsd-9-base:1.34
	phil-wifi-20190609:1.34
	netbsd-8-1-RELEASE:1.34
	netbsd-8-1-RC1:1.34
	pgoyette-compat-merge-20190127:1.34
	pgoyette-compat-20190127:1.34
	pgoyette-compat-20190118:1.34
	pgoyette-compat-1226:1.34
	pgoyette-compat-1126:1.34
	pgoyette-compat-1020:1.34
	pgoyette-compat-0930:1.34
	pgoyette-compat-0906:1.34
	netbsd-7-2-RELEASE:1.32
	pgoyette-compat-0728:1.34
	netbsd-8-0-RELEASE:1.34
	phil-wifi:1.34.0.12
	phil-wifi-base:1.34
	pgoyette-compat-0625:1.34
	netbsd-8-0-RC2:1.34
	pgoyette-compat-0521:1.34
	pgoyette-compat-0502:1.34
	pgoyette-compat-0422:1.34
	netbsd-8-0-RC1:1.34
	pgoyette-compat-0415:1.34
	pgoyette-compat-0407:1.34
	pgoyette-compat-0330:1.34
	pgoyette-compat-0322:1.34
	pgoyette-compat-0315:1.34
	netbsd-7-1-2-RELEASE:1.32
	pgoyette-compat:1.34.0.10
	pgoyette-compat-base:1.34
	netbsd-7-1-1-RELEASE:1.32
	matt-nb8-mediatek:1.34.0.8
	matt-nb8-mediatek-base:1.34
	perseant-stdc-iso10646:1.34.0.6
	perseant-stdc-iso10646-base:1.34
	netbsd-8:1.34.0.4
	netbsd-8-base:1.34
	prg-localcount2-base3:1.34
	prg-localcount2-base2:1.34
	prg-localcount2-base1:1.34
	prg-localcount2:1.34.0.2
	prg-localcount2-base:1.34
	pgoyette-localcount-20170426:1.34
	bouyer-socketcan-base1:1.34
	pgoyette-localcount-20170320:1.34
	netbsd-7-1:1.32.0.14
	netbsd-7-1-RELEASE:1.32
	netbsd-7-1-RC2:1.32
	netbsd-7-nhusb-base-20170116:1.32
	bouyer-socketcan:1.33.0.4
	bouyer-socketcan-base:1.33
	pgoyette-localcount-20170107:1.33
	netbsd-7-1-RC1:1.32
	pgoyette-localcount-20161104:1.33
	netbsd-7-0-2-RELEASE:1.32
	localcount-20160914:1.33
	netbsd-7-nhusb:1.32.0.12
	netbsd-7-nhusb-base:1.32
	pgoyette-localcount-20160806:1.33
	pgoyette-localcount-20160726:1.33
	pgoyette-localcount:1.33.0.2
	pgoyette-localcount-base:1.33
	netbsd-7-0-1-RELEASE:1.32
	netbsd-7-0:1.32.0.10
	netbsd-7-0-RELEASE:1.32
	netbsd-7-0-RC3:1.32
	netbsd-7-0-RC2:1.32
	netbsd-7-0-RC1:1.32
	netbsd-5-2-3-RELEASE:1.25
	netbsd-5-1-5-RELEASE:1.25
	netbsd-6-0-6-RELEASE:1.30.14.1
	netbsd-6-1-5-RELEASE:1.30.8.1
	netbsd-7:1.32.0.8
	netbsd-7-base:1.32
	yamt-pagecache-base9:1.32
	yamt-pagecache-tag8:1.30
	netbsd-6-1-4-RELEASE:1.30.8.1
	netbsd-6-0-5-RELEASE:1.30.14.1
	tls-earlyentropy:1.32.0.6
	tls-earlyentropy-base:1.32
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.32
	riastradh-drm2-base3:1.32
	netbsd-6-1-3-RELEASE:1.30.8.1
	netbsd-6-0-4-RELEASE:1.30.14.1
	netbsd-5-2-2-RELEASE:1.25
	netbsd-5-1-4-RELEASE:1.25
	netbsd-6-1-2-RELEASE:1.30.8.1
	netbsd-6-0-3-RELEASE:1.30.14.1
	netbsd-5-2-1-RELEASE:1.25
	netbsd-5-1-3-RELEASE:1.25
	netbsd-6-1-1-RELEASE:1.30.8.1
	riastradh-drm2-base2:1.32
	riastradh-drm2-base1:1.32
	riastradh-drm2:1.32.0.4
	riastradh-drm2-base:1.32
	netbsd-6-1:1.30.8.1.0.2
	netbsd-6-0-2-RELEASE:1.30.14.1
	netbsd-6-1-RELEASE:1.30.8.1
	khorben-n900:1.32.0.2
	netbsd-6-1-RC4:1.30.8.1
	netbsd-6-1-RC3:1.30
	agc-symver:1.31.0.2
	agc-symver-base:1.31
	netbsd-6-1-RC2:1.30
	netbsd-6-1-RC1:1.30
	yamt-pagecache-base8:1.30
	netbsd-5-2:1.25.0.12
	netbsd-6-0-1-RELEASE:1.30
	yamt-pagecache-base7:1.30
	netbsd-5-2-RELEASE:1.25
	netbsd-5-2-RC1:1.25
	matt-nb6-plus-nbase:1.30
	yamt-pagecache-base6:1.30
	netbsd-6-0:1.30.0.14
	netbsd-6-0-RELEASE:1.30
	netbsd-6-0-RC2:1.30
	tls-maxphys:1.30.0.12
	tls-maxphys-base:1.32
	matt-nb6-plus:1.30.0.10
	matt-nb6-plus-base:1.30
	netbsd-6-0-RC1:1.30
	yamt-pagecache-base5:1.30
	yamt-pagecache-base4:1.30
	netbsd-6:1.30.0.8
	netbsd-6-base:1.30
	netbsd-5-1-2-RELEASE:1.25
	netbsd-5-1-1-RELEASE:1.25
	yamt-pagecache-base3:1.30
	yamt-pagecache-base2:1.30
	yamt-pagecache:1.30.0.6
	yamt-pagecache-base:1.30
	cherry-xenmp:1.30.0.4
	cherry-xenmp-base:1.30
	bouyer-quota2-nbase:1.30
	bouyer-quota2:1.30.0.2
	bouyer-quota2-base:1.30
	matt-mips64-premerge-20101231:1.30
	matt-nb5-mips64-premerge-20101231:1.25
	matt-nb5-pq3:1.25.0.10
	matt-nb5-pq3-base:1.25
	netbsd-5-1:1.25.0.8
	netbsd-5-1-RELEASE:1.25
	netbsd-5-1-RC4:1.25
	matt-nb5-mips64-k15:1.25
	netbsd-5-1-RC3:1.25
	netbsd-5-1-RC2:1.25
	netbsd-5-1-RC1:1.25
	netbsd-5-0-2-RELEASE:1.25
	matt-nb5-mips64-premerge-20091211:1.25
	matt-premerge-20091211:1.28
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.25
	matt-nb4-mips64-k7-u2a-k9b:1.25
	matt-nb5-mips64-u1-k1-k5:1.25
	matt-nb5-mips64:1.25.0.6
	netbsd-5-0-1-RELEASE:1.25
	jym-xensuspend-nbase:1.26
	netbsd-5-0:1.25.0.4
	netbsd-5-0-RELEASE:1.25
	netbsd-5-0-RC4:1.25
	netbsd-5-0-RC3:1.25
	netbsd-5-0-RC2:1.25
	jym-xensuspend:1.26.0.2
	jym-xensuspend-base:1.26
	netbsd-5-0-RC1:1.25
	netbsd-5:1.25.0.2
	netbsd-5-base:1.25
	matt-mips64-base2:1.25
	matt-mips64:1.24.0.18
	netbsd-4-0-1-RELEASE:1.23
	wrstuden-revivesa-base-3:1.25
	wrstuden-revivesa-base-2:1.25
	wrstuden-fixsa-newbase:1.23
	wrstuden-revivesa-base-1:1.25
	yamt-pf42-base4:1.25
	yamt-pf42-base3:1.25
	hpcarm-cleanup-nbase:1.24
	yamt-pf42-baseX:1.24
	yamt-pf42-base2:1.24
	wrstuden-revivesa:1.24.0.16
	wrstuden-revivesa-base:1.25
	yamt-pf42:1.24.0.14
	yamt-pf42-base:1.24
	mjf-devfs2:1.24.0.12
	mjf-devfs2-base:1.25
	keiichi-mipv6:1.24.0.10
	keiichi-mipv6-base:1.24
	mjf-devfs:1.24.0.8
	mjf-devfs-base:1.24
	matt-armv6-nbase:1.24
	matt-armv6-prevmlocking:1.24
	wrstuden-fixsa-base-1:1.23
	netbsd-4-0:1.23.0.20
	netbsd-4-0-RELEASE:1.23
	cube-autoconf:1.24.0.6
	cube-autoconf-base:1.24
	netbsd-4-0-RC5:1.23
	netbsd-4-0-RC4:1.23
	netbsd-4-0-RC3:1.23
	netbsd-4-0-RC2:1.23
	netbsd-4-0-RC1:1.23
	matt-armv6:1.24.0.4
	matt-armv6-base:1.24
	matt-mips64-base:1.24
	hpcarm-cleanup:1.24.0.2
	hpcarm-cleanup-base:1.24
	netbsd-3-1-1-RELEASE:1.23
	netbsd-3-0-3-RELEASE:1.23
	wrstuden-fixsa:1.23.0.18
	wrstuden-fixsa-base:1.23
	abandoned-netbsd-4-base:1.23
	abandoned-netbsd-4:1.23.0.12
	netbsd-3-1:1.23.0.14
	netbsd-3-1-RELEASE:1.23
	netbsd-3-0-2-RELEASE:1.23
	netbsd-3-1-RC4:1.23
	netbsd-3-1-RC3:1.23
	netbsd-3-1-RC2:1.23
	netbsd-3-1-RC1:1.23
	netbsd-4:1.23.0.16
	netbsd-4-base:1.23
	netbsd-3-0-1-RELEASE:1.23
	netbsd-3-0:1.23.0.10
	netbsd-3-0-RELEASE:1.23
	netbsd-3-0-RC6:1.23
	netbsd-3-0-RC5:1.23
	netbsd-3-0-RC4:1.23
	netbsd-3-0-RC3:1.23
	netbsd-3-0-RC2:1.23
	netbsd-3-0-RC1:1.23
	netbsd-2-0-3-RELEASE:1.23
	netbsd-2-1:1.23.0.8
	netbsd-2-1-RELEASE:1.23
	netbsd-2-1-RC6:1.23
	netbsd-2-1-RC5:1.23
	netbsd-2-1-RC4:1.23
	netbsd-2-1-RC3:1.23
	netbsd-2-1-RC2:1.23
	netbsd-2-1-RC1:1.23
	netbsd-2-0-2-RELEASE:1.23
	netbsd-3:1.23.0.6
	netbsd-3-base:1.23
	netbsd-2-0-1-RELEASE:1.23
	netbsd-2:1.23.0.4
	netbsd-2-base:1.23
	netbsd-2-0-RELEASE:1.23
	netbsd-2-0-RC5:1.23
	netbsd-2-0-RC4:1.23
	netbsd-2-0-RC3:1.23
	netbsd-2-0-RC2:1.23
	netbsd-2-0-RC1:1.23
	netbsd-2-0:1.23.0.2
	netbsd-2-0-base:1.23
	netbsd-1-6-PATCH002-RELEASE:1.20
	netbsd-1-6-PATCH002:1.20
	netbsd-1-6-PATCH002-RC4:1.20
	netbsd-1-6-PATCH002-RC3:1.20
	netbsd-1-6-PATCH002-RC2:1.20
	netbsd-1-6-PATCH002-RC1:1.20
	netbsd-1-6-PATCH001:1.20
	netbsd-1-6-PATCH001-RELEASE:1.20
	netbsd-1-6-PATCH001-RC3:1.20
	netbsd-1-6-PATCH001-RC2:1.20
	netbsd-1-6-PATCH001-RC1:1.20
	fvdl_fs64_base:1.21
	netbsd-1-6-RELEASE:1.20
	netbsd-1-6-RC3:1.20
	netbsd-1-6-RC2:1.20
	netbsd-1-6-RC1:1.20
	netbsd-1-6:1.20.0.2
	netbsd-1-6-base:1.20;
locks; strict;
comment	@# @;


1.34
date	2017.01.24.18.04.02;	author christos;	state Exp;
branches;
next	1.33;
commitid	kdLAgdCEWzeUrfDz;

1.33
date	2015.12.27.19.33.40;	author christos;	state Exp;
branches
	1.33.2.1
	1.33.4.1;
next	1.32;
commitid	WYYfuPB3JrISBCOy;

1.32
date	2013.04.28.08.08.03;	author tsutsui;	state Exp;
branches;
next	1.31;

1.31
date	2013.03.23.18.15.07;	author tsutsui;	state Exp;
branches;
next	1.30;

1.30
date	2010.02.11.09.06.48;	author roy;	state Exp;
branches
	1.30.6.1
	1.30.8.1
	1.30.12.1
	1.30.14.1;
next	1.29;

1.29
date	2010.02.05.10.01.18;	author roy;	state Exp;
branches;
next	1.28;

1.28
date	2009.09.24.21.04.45;	author he;	state Exp;
branches;
next	1.27;

1.27
date	2009.09.20.19.49.08;	author abs;	state Exp;
branches;
next	1.26;

1.26
date	2009.01.25.22.08.37;	author abs;	state Exp;
branches;
next	1.25;

1.25
date	2008.05.26.12.25.34;	author he;	state Exp;
branches;
next	1.24;

1.24
date	2007.05.10.23.22.29;	author dogcow;	state Exp;
branches
	1.24.12.1
	1.24.14.1
	1.24.16.1;
next	1.23;

1.23
date	2003.02.23.22.30.46;	author he;	state Exp;
branches;
next	1.22;

1.22
date	2003.01.23.21.37.29;	author jdolecek;	state Exp;
branches;
next	1.21;

1.21
date	2002.11.11.05.07.09;	author gmcgarry;	state Exp;
branches;
next	1.20;

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

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

1.18
date	2002.04.20.05.01.58;	author gmcgarry;	state Exp;
branches;
next	1.17;

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

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

1.15
date	2002.04.06.18.16.10;	author tsutsui;	state Exp;
branches;
next	1.14;

1.14
date	2002.04.01.12.16.11;	author lukem;	state Exp;
branches;
next	1.13;

1.13
date	2002.03.28.04.33.22;	author lukem;	state Exp;
branches;
next	1.12;

1.12
date	2002.03.25.07.43.42;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	2002.03.24.22.56.58;	author lukem;	state Exp;
branches;
next	1.10;

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

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

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

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

1.6
date	2002.02.24.09.57.18;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	2002.02.23.22.02.08;	author gmcgarry;	state Exp;
branches;
next	1.4;

1.4
date	2002.02.13.19.25.26;	author gmcgarry;	state Exp;
branches;
next	1.3;

1.3
date	2002.02.13.05.31.18;	author gmcgarry;	state Exp;
branches;
next	1.2;

1.2
date	2002.02.13.05.13.24;	author gmcgarry;	state Exp;
branches;
next	1.1;

1.1
date	2002.02.10.01.22.56;	author gmcgarry;	state Exp;
branches;
next	;

1.33.2.1
date	2017.03.20.06.52.05;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.33.4.1
date	2017.04.21.16.51.10;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.30.6.1
date	2014.05.22.12.01.28;	author yamt;	state Exp;
branches;
next	;
commitid	yqlfOuaAhYmASwBx;

1.30.8.1
date	2013.04.29.03.26.52;	author riz;	state Exp;
branches;
next	;

1.30.12.1
date	2013.06.23.06.26.17;	author tls;	state Exp;
branches;
next	;
commitid	OnlO1cBgtQRcIHUw;

1.30.14.1
date	2013.04.29.03.26.35;	author riz;	state Exp;
branches;
next	;

1.24.12.1
date	2008.06.02.13.21.13;	author mjf;	state Exp;
branches;
next	1.24.12.2;

1.24.12.2
date	2008.10.05.20.10.18;	author mjf;	state dead;
branches;
next	;

1.24.14.1
date	2008.06.04.02.03.19;	author yamt;	state Exp;
branches;
next	;

1.24.16.1
date	2008.06.23.04.28.54;	author wrstuden;	state Exp;
branches;
next	;


desc
@@


1.34
log
@+= for MAKEFS_FLAGS
@
text
@#	$NetBSD: Makefile,v 1.33 2015/12/27 19:33:40 christos Exp $

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

IMAGE=		ramdisk.fs
IMAGESIZE=	1800k
MAKEFS_FLAGS+=	-f 15 -o density=1k

WARNS=		1
DBG=		-Os

CRUNCHBIN=	ramdiskbin
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst.en
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	be
MAKEDEVTARGETS=	ramdisk
IMAGEDEPENDS=	${CRUNCHBIN} \
		dot.profile \
		${DESTDIR}/usr/mdec/installboot ${DESTDIR}/usr/mdec/uboot.lif \
		${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.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

release:

.include <bsd.prog.mk>
@


1.33
log
@Bump
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2013/04/28 08:08:03 tsutsui Exp $
d8 1
a8 1
MAKEFS_FLAGS=	-f 15 -o density=1k
@


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


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


1.32
log
@Fix yet another "openpty() failed" error during sysinst.

Prepare a new entry for ramdisk that includes ipty target in
etc.hp300/MAKEDEV.conf and use it in distrib/hp300/ramdisk/Makefile.
See also PR/46812, PR/47123, and PR/47774.

We could simply add "ipty" to MAKEDEVTARGETS as miniroot/Makefile does,
but it's better to shrink ramdisk size as much as possible.

Should be pulled up to both netbsd-6 and netbsd-6-0.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2013/03/23 18:15:07 tsutsui Exp $
d7 1
a7 1
IMAGESIZE=	1600k
@


1.31
log
@Remove non-en translations. en is enough for poor Tier II ports.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2010/02/11 09:06:48 roy Exp $
d17 1
a17 1
MAKEDEVTARGETS=	all
@


1.30
log
@Remove terminfo.db as it's now embedded in libterminfo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2010/02/05 10:01:18 roy Exp $
d14 1
a14 1
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
@


1.30.6.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2010/02/11 09:06:48 roy Exp $
d14 1
a14 1
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst.en
d17 1
a17 1
MAKEDEVTARGETS=	ramdisk
@


1.30.12.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
d14 1
a14 1
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst.en
d17 1
a17 1
MAKEDEVTARGETS=	ramdisk
@


1.30.8.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #880):
	etc/etc.hp300/MAKEDEV.conf: revision 1.14
	distrib/hp300/ramdisk/Makefile: revision 1.32
Fix yet another "openpty() failed" error during sysinst.
Prepare a new entry for ramdisk that includes ipty target in
etc.hp300/MAKEDEV.conf and use it in distrib/hp300/ramdisk/Makefile.
See also PR/46812, PR/47123, and PR/47774.
We could simply add "ipty" to MAKEDEVTARGETS as miniroot/Makefile does,
but it's better to shrink ramdisk size as much as possible.
Should be pulled up to both netbsd-6 and netbsd-6-0.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2010/02/11 09:06:48 roy Exp $
d17 1
a17 1
MAKEDEVTARGETS=	ramdisk
@


1.30.14.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #880):
	etc/etc.hp300/MAKEDEV.conf: revision 1.14
	distrib/hp300/ramdisk/Makefile: revision 1.32
Fix yet another "openpty() failed" error during sysinst.
Prepare a new entry for ramdisk that includes ipty target in
etc.hp300/MAKEDEV.conf and use it in distrib/hp300/ramdisk/Makefile.
See also PR/46812, PR/47123, and PR/47774.
We could simply add "ipty" to MAKEDEVTARGETS as miniroot/Makefile does,
but it's better to shrink ramdisk size as much as possible.
Should be pulled up to both netbsd-6 and netbsd-6-0.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2010/02/11 09:06:48 roy Exp $
d17 1
a17 1
MAKEDEVTARGETS=	ramdisk
@


1.29
log
@Use the rescue terminfo.db in our images instead of termcap.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2009/09/24 21:04:45 he Exp $
a19 1
		${DESTDIR}/rescue/terminfo.db \
@


1.28
log
@Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap.  Hi, abs@@!
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2009/09/20 19:49:08 abs Exp $
d19 2
a20 1
		dot.profile ${DISTRIBDIR}/common/termcap \
@


1.27
log
@${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2009/01/25 22:08:37 abs Exp $
d19 1
a19 1
		dot.profile termcap.mini \
@


1.26
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.25 2008/05/26 12:25:34 he Exp $
d22 2
a23 2
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/distrib/common/protocols \
		${NETBSDSRCDIR}/distrib/common/services
@


1.25
log
@Bump ramdisk size from 1.5M to 1.6M to compensate for recent bloat.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2007/05/10 23:22:29 dogcow Exp $
d22 1
a22 1
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
@


1.24
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.23 2003/02/23 22:30:46 he Exp $
d7 1
a7 1
IMAGESIZE=	1500k
@


1.24.16.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2007/05/10 23:22:29 dogcow Exp $
d7 1
a7 1
IMAGESIZE=	1600k
@


1.24.14.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2007/05/10 23:22:29 dogcow Exp $
d7 1
a7 1
IMAGESIZE=	1600k
@


1.24.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d7 1
a7 1
IMAGESIZE=	1600k
@


1.24.12.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24.12.1 2008/06/02 13:21:13 mjf Exp $
@


1.23
log
@Bump ramdisk image size from 1444k to 1500k.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2003/01/23 21:37:29 jdolecek Exp $
d23 1
a23 1
		${NETBSDSRCDIR}/etc/services
@


1.22
log
@ramdisk image overflew, bump by 4K
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2002/11/11 05:07:09 gmcgarry Exp $
d7 1
a7 1
IMAGESIZE=	1444k
@


1.21
log
@More inodes for ramdisk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2002/05/02 18:02:35 lukem Exp $
d7 1
a7 1
IMAGESIZE=	1440k
@


1.20
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.19 2002/04/26 15:50:31 lukem Exp $
d8 1
a8 1
MAKEFS_FLAGS=	-f 15 -o density=2k
@


1.19
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2002/04/20 05:01:58 gmcgarry Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
a29 5

realall: ${IMAGE}

release:

d33 2
@


1.18
log
@Make all devices, bump ramdisk size, and fiddle with inode density.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2002/04/12 03:51:31 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.17
log
@alpha sort some entries
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2002/04/11 05:30:13 lukem Exp $
d7 2
a8 2
IMAGESIZE=	1200k
MAKEFS_FLAGS=	-f 15
d17 1
a17 1
MAKEDEVTARGETS=	std md0
@


1.16
log
@distrib/** consistency tweaks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2002/04/06 18:16:10 tsutsui Exp $
d22 1
a22 1
		${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \
@


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


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


1.13
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.12 2002/03/25 07:43:42 lukem Exp $
d8 1
@


1.12
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.11 2002/03/24 22:56:58 lukem Exp $
d23 5
a31 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

@


1.11
log
@remove duplicate IMAGEDEPENDS entry
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2002/03/12 12:52:52 lukem Exp $
a31 3

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


1.10
log
@cosmetic consistency tweak
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2002/03/06 13:17:01 lukem Exp $
d21 1
a21 1
		${_SRC_TOP_}/etc/services ${DESTDIR}/usr/mdec/uboot.lif
@


1.9
log
@add more IMAGEDEPENDS, and some more cosmetic tweaks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2002/03/06 13:09:34 lukem Exp $
d16 1
a16 1
IMAGEDEPENDS+=	${CRUNCHBIN} \
@


1.8
log
@clarify why we avoid gethost.o from libhack
@
text
@d1 1
a1 1
#       $NetBSD: Makefile,v 1.7 2002/03/06 04:31:50 lukem Exp $
d15 4
a18 1
IMAGEDEPENDS+=	${CRUNCHBIN} dot.profile termcap.mini \
a21 3


MAKEDEVTARGETS+=std md0
@


1.7
log
@replace ${_SRC_TOP_}/distrib with ${DISTRIBDIR}
@
text
@d1 1
a1 1
#       $NetBSD: Makefile,v 1.6 2002/02/24 09:57:18 lukem Exp $
d26 3
d32 2
a33 1
# turn off small gethostby* temporarily
a38 1
release:
@


1.6
log
@remove USE_SYSINST goop that was obviously copied from the i386 stuff
and unconditionally add the sysinst list to LISTS; the goop is only in
the i386 stuff because that has some ramdisks which don't use sysinst,
where here on the hp300 it's not an optional item :)
@
text
@d1 1
a1 1
#       $NetBSD: Makefile,v 1.5 2002/02/23 22:02:08 gmcgarry Exp $
d27 1
a27 1
HACKSRC=${_SRC_TOP_}/distrib/utils/libhack
@


1.5
log
@Trim the ramdisk down even smaller.  Include the device files on
the ramdisk, since we don't have enough memory to dynamically build
/dev on mfs.
@
text
@d1 1
a1 1
#       $NetBSD: Makefile,v 1.4 2002/02/13 19:25:26 gmcgarry Exp $
a7 1
USE_SYSINST=	yes
d12 1
a12 1
LISTS=		${.CURDIR}/list
a22 3
.if defined(USE_SYSINST)
LISTS+=		${DISTRIBDIR}/common/list.sysinst
.endif
@


1.4
log
@Make filesystem big endian.
@
text
@d1 1
a1 1
#       $NetBSD: Makefile,v 1.3 2002/02/13 05:31:18 gmcgarry Exp $
d7 1
a7 2
IMAGESIZE=	2000k
IMAGEDEPENDS=	${DESTDIR}/usr/mdec/uboot.lif
d20 3
@


1.3
log
@List for ramdisk.  Bump ramdisk size to 2MB.
@
text
@d1 1
a1 1
#       $NetBSD: Makefile,v 1.2 2002/02/13 05:13:24 gmcgarry Exp $
d16 1
a16 1
IMAGEENDIAN=	le
@


1.2
log
@Use the new ramdisk build infrastructure.
@
text
@d1 1
a1 1
#       $NetBSD: Makefile,v 1.16 2002/02/08 05:02:17 lukem Exp $
d7 1
a7 1
IMAGESIZE=	1440k
@


1.1
log
@Skeleton for ramdisk-style installation media.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 2
a4 4
BINDIR=		/installation/netboot

TOP?=		${.CURDIR}/..
ARCHDIR?=	${.CURDIR}/../miniroot
a5 1
.include "${TOP}/Makefile.inc"
d7 3
d11 1
a11 11
CBIN=		ramdiskbin
CSIZE=		2880 # 512 byte blocks, update disktab.ramdisk if changed
DISKTAB=	${.CURDIR}/disktab.ramdisk
DISKTYPE=	install-ramdisk
MOUNT_POINT?=	/mnt

VND?=		vnd0
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a

CLEANFILES=	${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache
d13 1
d15 27
a41 5
CRUNCHCONF=	${.CURDIR}/${CBIN}.conf
MTREECONF=	${.CURDIR}/mtree.conf

CRUNCHGEN?=	crunchgen
MTREE?=		mtree
d43 1
a43 46
all: ${IMAGE}

${IMAGE}: ${CBIN} 
	dd if=/dev/zero of=${IMAGE} count=${CSIZE}
	vnconfig -v -c ${VND} ${IMAGE}
	disklabel -rw -f ${DISKTAB} ${VND} ${DISKTYPE}
	newfs -B be -m 0 -o space -i 5120 ${VND_RDEV}
	mount ${VND_DEV} ${MOUNT_POINT}
	${MTREE} -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
	TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} ARCHDIR=${ARCHDIR} \
	    KERNOBJDIR=${KERNOBJDIR} \
	    TARGDIR=${MOUNT_POINT} sh ${TOP}/src/runlist.sh ${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}

${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
	${CRUNCHGEN} -D ${TOP}/../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}

${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
	${MAKE} -f ${CBIN}.mk all

echoimage:
	@@echo ${.OBJDIR}/${IMAGE}

realinstall:
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${NONBINMODE} ${DISKIMAGE} ${RELEASEDIR}${BINDIR}

clean cleandir distclean:
	/bin/rm -f *.core ${CLEANFILES} *.o *.cro *.c

# XXX!
depend:
dependall: depend all

.include <bsd.own.mk>
.include <bsd.obj.mk>
.include "../Makefile.inc"
@

