head	1.26;
access;
symbols
	netbsd-11-0-RC4:1.26
	netbsd-11-0-RC3:1.26
	netbsd-11-0-RC2:1.26
	netbsd-11-0-RC1:1.26
	perseant-exfatfs-base-20250801:1.26
	netbsd-11:1.26.0.10
	netbsd-11-base:1.26
	netbsd-10-1-RELEASE:1.26
	perseant-exfatfs-base-20240630:1.26
	perseant-exfatfs:1.26.0.8
	perseant-exfatfs-base:1.26
	netbsd-8-3-RELEASE:1.25
	netbsd-9-4-RELEASE:1.25
	netbsd-10-0-RELEASE:1.26
	netbsd-10-0-RC6:1.26
	netbsd-10-0-RC5:1.26
	netbsd-10-0-RC4:1.26
	netbsd-10-0-RC3:1.26
	netbsd-10-0-RC2:1.26
	netbsd-10-0-RC1:1.26
	netbsd-10:1.26.0.6
	netbsd-10-base:1.26
	netbsd-9-3-RELEASE:1.25
	cjep_sun2x-base1:1.26
	cjep_sun2x:1.26.0.4
	cjep_sun2x-base:1.26
	cjep_staticlib_x-base1:1.26
	netbsd-9-2-RELEASE:1.25
	cjep_staticlib_x:1.26.0.2
	cjep_staticlib_x-base:1.26
	netbsd-9-1-RELEASE:1.25
	phil-wifi-20200421:1.25
	phil-wifi-20200411:1.25
	is-mlppp:1.25.0.16
	is-mlppp-base:1.25
	phil-wifi-20200406:1.25
	netbsd-8-2-RELEASE:1.25
	netbsd-9-0-RELEASE:1.25
	netbsd-9-0-RC2:1.25
	netbsd-9-0-RC1:1.25
	phil-wifi-20191119:1.25
	netbsd-9:1.25.0.14
	netbsd-9-base:1.25
	phil-wifi-20190609:1.25
	netbsd-8-1-RELEASE:1.25
	netbsd-8-1-RC1:1.25
	pgoyette-compat-merge-20190127:1.25
	pgoyette-compat-20190127:1.25
	pgoyette-compat-20190118:1.25
	pgoyette-compat-1226:1.25
	pgoyette-compat-1126:1.25
	pgoyette-compat-1020:1.25
	pgoyette-compat-0930:1.25
	pgoyette-compat-0906:1.25
	netbsd-7-2-RELEASE:1.24
	pgoyette-compat-0728:1.25
	netbsd-8-0-RELEASE:1.25
	phil-wifi:1.25.0.12
	phil-wifi-base:1.25
	pgoyette-compat-0625:1.25
	netbsd-8-0-RC2:1.25
	pgoyette-compat-0521:1.25
	pgoyette-compat-0502:1.25
	pgoyette-compat-0422:1.25
	netbsd-8-0-RC1:1.25
	pgoyette-compat-0415:1.25
	pgoyette-compat-0407:1.25
	pgoyette-compat-0330:1.25
	pgoyette-compat-0322:1.25
	pgoyette-compat-0315:1.25
	netbsd-7-1-2-RELEASE:1.24
	pgoyette-compat:1.25.0.10
	pgoyette-compat-base:1.25
	netbsd-7-1-1-RELEASE:1.24
	matt-nb8-mediatek:1.25.0.8
	matt-nb8-mediatek-base:1.25
	perseant-stdc-iso10646:1.25.0.6
	perseant-stdc-iso10646-base:1.25
	netbsd-8:1.25.0.4
	netbsd-8-base:1.25
	prg-localcount2-base3:1.25
	prg-localcount2-base2:1.25
	prg-localcount2-base1:1.25
	prg-localcount2:1.25.0.2
	prg-localcount2-base:1.25
	pgoyette-localcount-20170426:1.25
	bouyer-socketcan-base1:1.25
	pgoyette-localcount-20170320:1.25
	netbsd-7-1:1.24.0.20
	netbsd-7-1-RELEASE:1.24
	netbsd-7-1-RC2:1.24
	netbsd-7-nhusb-base-20170116:1.24
	bouyer-socketcan:1.24.0.18
	bouyer-socketcan-base:1.24
	pgoyette-localcount-20170107:1.24
	netbsd-7-1-RC1:1.24
	pgoyette-localcount-20161104:1.24
	netbsd-7-0-2-RELEASE:1.24
	localcount-20160914:1.24
	netbsd-7-nhusb:1.24.0.16
	netbsd-7-nhusb-base:1.24
	pgoyette-localcount-20160806:1.24
	pgoyette-localcount-20160726:1.24
	pgoyette-localcount:1.24.0.14
	pgoyette-localcount-base:1.24
	netbsd-7-0-1-RELEASE:1.24
	netbsd-7-0:1.24.0.12
	netbsd-7-0-RELEASE:1.24
	netbsd-7-0-RC3:1.24
	netbsd-7-0-RC2:1.24
	netbsd-7-0-RC1:1.24
	netbsd-5-2-3-RELEASE:1.18
	netbsd-5-1-5-RELEASE:1.18
	netbsd-6-0-6-RELEASE:1.23.14.1
	netbsd-6-1-5-RELEASE:1.23.8.1
	netbsd-7:1.24.0.10
	netbsd-7-base:1.24
	yamt-pagecache-base9:1.24
	yamt-pagecache-tag8:1.23.6.1
	netbsd-6-1-4-RELEASE:1.23.8.1
	netbsd-6-0-5-RELEASE:1.23.14.1
	tls-earlyentropy:1.24.0.8
	tls-earlyentropy-base:1.24
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.24
	riastradh-drm2-base3:1.24
	netbsd-6-1-3-RELEASE:1.23.8.1
	netbsd-6-0-4-RELEASE:1.23.14.1
	netbsd-5-2-2-RELEASE:1.18
	netbsd-5-1-4-RELEASE:1.18
	netbsd-6-1-2-RELEASE:1.23.8.1
	netbsd-6-0-3-RELEASE:1.23.14.1
	netbsd-5-2-1-RELEASE:1.18
	netbsd-5-1-3-RELEASE:1.18
	netbsd-6-1-1-RELEASE:1.23.8.1
	riastradh-drm2-base2:1.24
	riastradh-drm2-base1:1.24
	riastradh-drm2:1.24.0.2
	riastradh-drm2-base:1.24
	netbsd-6-1:1.23.8.1.0.2
	netbsd-6-0-2-RELEASE:1.23.14.1
	netbsd-6-1-RELEASE:1.23.8.1
	khorben-n900:1.24.0.6
	netbsd-6-1-RC4:1.23.8.1
	netbsd-6-1-RC3:1.23.8.1
	agc-symver:1.24.0.4
	agc-symver-base:1.24
	netbsd-6-1-RC2:1.23.8.1
	netbsd-6-1-RC1:1.23.8.1
	yamt-pagecache-base8:1.24
	netbsd-5-2:1.18.0.40
	netbsd-6-0-1-RELEASE:1.23.14.1
	yamt-pagecache-base7:1.24
	netbsd-5-2-RELEASE:1.18
	netbsd-5-2-RC1:1.18
	matt-nb6-plus-nbase:1.23
	yamt-pagecache-base6:1.24
	netbsd-6-0:1.23.0.14
	netbsd-6-0-RELEASE:1.23
	netbsd-6-0-RC2:1.23
	tls-maxphys:1.23.0.12
	tls-maxphys-base:1.24
	matt-nb6-plus:1.23.0.10
	matt-nb6-plus-base:1.23
	netbsd-6-0-RC1:1.23
	yamt-pagecache-base5:1.23
	yamt-pagecache-base4:1.23
	netbsd-6:1.23.0.8
	netbsd-6-base:1.23
	netbsd-5-1-2-RELEASE:1.18
	netbsd-5-1-1-RELEASE:1.18
	yamt-pagecache-base3:1.23
	yamt-pagecache-base2:1.23
	yamt-pagecache:1.23.0.6
	yamt-pagecache-base:1.23
	cherry-xenmp:1.23.0.4
	cherry-xenmp-base:1.23
	bouyer-quota2-nbase:1.23
	bouyer-quota2:1.23.0.2
	bouyer-quota2-base:1.23
	matt-mips64-premerge-20101231:1.23
	matt-nb5-mips64-premerge-20101231:1.18.34.1
	matt-nb5-pq3:1.18.0.38
	matt-nb5-pq3-base:1.18
	netbsd-5-1:1.18.0.36
	netbsd-5-1-RELEASE:1.18
	netbsd-5-1-RC4:1.18
	matt-nb5-mips64-k15:1.18.34.1
	netbsd-5-1-RC3:1.18
	netbsd-5-1-RC2:1.18
	netbsd-5-1-RC1:1.18
	netbsd-5-0-2-RELEASE:1.18
	matt-nb5-mips64-premerge-20091211:1.18.34.1
	matt-premerge-20091211:1.20
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.18.34.1
	matt-nb4-mips64-k7-u2a-k9b:1.18
	matt-nb5-mips64-u1-k1-k5:1.18
	matt-nb5-mips64:1.18.0.34
	netbsd-5-0-1-RELEASE:1.18
	jym-xensuspend-nbase:1.18
	netbsd-5-0:1.18.0.32
	netbsd-5-0-RELEASE:1.18
	netbsd-5-0-RC4:1.18
	netbsd-5-0-RC3:1.18
	netbsd-5-0-RC2:1.18
	jym-xensuspend:1.18.0.30
	jym-xensuspend-base:1.18
	netbsd-5-0-RC1:1.18
	netbsd-5:1.18.0.28
	netbsd-5-base:1.18
	matt-mips64-base2:1.18
	matt-mips64:1.18.0.26
	netbsd-4-0-1-RELEASE:1.18
	wrstuden-revivesa-base-3:1.18
	wrstuden-revivesa-base-2:1.18
	wrstuden-fixsa-newbase:1.18
	wrstuden-revivesa-base-1:1.18
	yamt-pf42-base4:1.18
	yamt-pf42-base3:1.18
	hpcarm-cleanup-nbase:1.18
	yamt-pf42-baseX:1.18
	yamt-pf42-base2:1.18
	wrstuden-revivesa:1.18.0.24
	wrstuden-revivesa-base:1.18
	yamt-pf42:1.18.0.22
	yamt-pf42-base:1.18
	mjf-devfs2:1.18.0.20
	mjf-devfs2-base:1.18
	keiichi-mipv6:1.18.0.18
	keiichi-mipv6-base:1.18
	mjf-devfs:1.18.0.16
	mjf-devfs-base:1.18
	matt-armv6-nbase:1.18
	matt-armv6-prevmlocking:1.18
	wrstuden-fixsa-base-1:1.18
	netbsd-4-0:1.18.0.14
	netbsd-4-0-RELEASE:1.18
	cube-autoconf:1.18.0.12
	cube-autoconf-base:1.18
	netbsd-4-0-RC5:1.18
	netbsd-4-0-RC4:1.18
	netbsd-4-0-RC3:1.18
	netbsd-4-0-RC2:1.18
	netbsd-4-0-RC1:1.18
	matt-armv6:1.18.0.10
	matt-armv6-base:1.18
	matt-mips64-base:1.18
	hpcarm-cleanup:1.18.0.8
	hpcarm-cleanup-base:1.18
	netbsd-3-1-1-RELEASE:1.17
	netbsd-3-0-3-RELEASE:1.17
	wrstuden-fixsa:1.18.0.6
	wrstuden-fixsa-base:1.18
	abandoned-netbsd-4-base:1.18
	abandoned-netbsd-4:1.18.0.2
	netbsd-3-1:1.17.0.12
	netbsd-3-1-RELEASE:1.17
	netbsd-3-0-2-RELEASE:1.17
	netbsd-3-1-RC4:1.17
	netbsd-3-1-RC3:1.17
	netbsd-3-1-RC2:1.17
	netbsd-3-1-RC1:1.17
	netbsd-4:1.18.0.4
	netbsd-4-base:1.18
	netbsd-3-0-1-RELEASE:1.17
	netbsd-3-0:1.17.0.10
	netbsd-3-0-RELEASE:1.17
	netbsd-3-0-RC6:1.17
	netbsd-3-0-RC5:1.17
	netbsd-3-0-RC4:1.17
	netbsd-3-0-RC3:1.17
	netbsd-3-0-RC2:1.17
	netbsd-3-0-RC1:1.17
	netbsd-2-0-3-RELEASE:1.17
	netbsd-2-1:1.17.0.8
	netbsd-2-1-RELEASE:1.17
	netbsd-2-1-RC6:1.17
	netbsd-2-1-RC5:1.17
	netbsd-2-1-RC4:1.17
	netbsd-2-1-RC3:1.17
	netbsd-2-1-RC2:1.17
	netbsd-2-1-RC1:1.17
	netbsd-2-0-2-RELEASE:1.17
	netbsd-3:1.17.0.6
	netbsd-3-base:1.17
	netbsd-2-0-1-RELEASE:1.17
	netbsd-2:1.17.0.4
	netbsd-2-base:1.17
	netbsd-2-0-RELEASE:1.17
	netbsd-2-0-RC5:1.17
	netbsd-2-0-RC4:1.17
	netbsd-2-0-RC3:1.17
	netbsd-2-0-RC2:1.17
	netbsd-2-0-RC1:1.17
	netbsd-2-0:1.17.0.2
	netbsd-2-0-base:1.17
	netbsd-1-6-PATCH002-RELEASE:1.12.2.1
	netbsd-1-6-PATCH002:1.12.2.1
	netbsd-1-6-PATCH002-RC4:1.12.2.1
	netbsd-1-6-PATCH002-RC3:1.12.2.1
	netbsd-1-6-PATCH002-RC2:1.12.2.1
	netbsd-1-6-PATCH002-RC1:1.12.2.1
	netbsd-1-6-PATCH001:1.12.2.1
	netbsd-1-6-PATCH001-RELEASE:1.12.2.1
	netbsd-1-6-PATCH001-RC3:1.12.2.1
	netbsd-1-6-PATCH001-RC2:1.12.2.1
	netbsd-1-6-PATCH001-RC1:1.12.2.1
	netbsd-1-6-RELEASE:1.12.2.1
	netbsd-1-6-RC3:1.12.2.1
	netbsd-1-6-RC2:1.12.2.1
	netbsd-1-6-RC1:1.12.2.1
	netbsd-1-6:1.12.0.2
	netbsd-1-6-base:1.12
	netbsd-1-5-PATCH003:1.4
	netbsd-1-5-PATCH002:1.4
	netbsd-1-5-PATCH001:1.4
	netbsd-1-5-RELEASE:1.4
	netbsd-1-5-BETA2:1.4
	netbsd-1-5-BETA:1.4
	netbsd-1-4-PATCH003:1.2.2.1
	netbsd-1-5-ALPHA2:1.4
	netbsd-1-5:1.4.0.4
	netbsd-1-5-base:1.4
	minoura-xpg4dl:1.4.0.2
	minoura-xpg4dl-base:1.4
	netbsd-1-4-PATCH002:1.2.2.1
	wrstuden-devbsize-19991221:1.3
	wrstuden-devbsize:1.3.0.4
	wrstuden-devbsize-base:1.3
	comdex-fall-1999:1.3.0.2
	comdex-fall-1999-base:1.3
	netbsd-1-4-PATCH001:1.2.2.1
	netbsd-1-4-RELEASE:1.2.2.1
	netbsd-1-4:1.2.0.2
	netbsd-1-4-base:1.2
	netbsd-1-3-PATCH003:1.1.2.2
	netbsd-1-3-PATCH003-CANDIDATE2:1.1.2.2
	netbsd-1-3-PATCH003-CANDIDATE1:1.1.2.2
	netbsd-1-3-PATCH003-CANDIDATE0:1.1.2.2
	netbsd-1-3:1.1.0.2;
locks; strict;
comment	@# @;


1.26
date	2021.04.25.23.40.05;	author christos;	state Exp;
branches;
next	1.25;
commitid	YWr3KWO8Dq4dqJQC;

1.25
date	2017.01.24.18.04.04;	author christos;	state Exp;
branches;
next	1.24;
commitid	kdLAgdCEWzeUrfDz;

1.24
date	2012.10.26.18.15.56;	author tsutsui;	state Exp;
branches
	1.24.14.1
	1.24.18.1;
next	1.23;

1.23
date	2010.02.11.09.06.49;	author roy;	state Exp;
branches
	1.23.6.1
	1.23.8.1
	1.23.12.1
	1.23.14.1;
next	1.22;

1.22
date	2010.02.05.10.01.20;	author roy;	state Exp;
branches;
next	1.21;

1.21
date	2009.12.14.01.12.06;	author matt;	state Exp;
branches;
next	1.20;

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

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

1.18
date	2006.07.29.19.10.56;	author ad;	state Exp;
branches
	1.18.20.1
	1.18.34.1;
next	1.17;

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

1.16
date	2003.02.18.08.18.31;	author shin;	state Exp;
branches;
next	1.15;

1.15
date	2003.02.18.08.13.13;	author shin;	state Exp;
branches;
next	1.14;

1.14
date	2003.02.18.08.11.21;	author shin;	state Exp;
branches;
next	1.13;

1.13
date	2002.07.23.11.08.28;	author lukem;	state dead;
branches;
next	1.12;

1.12
date	2002.05.14.06.21.21;	author lukem;	state Exp;
branches
	1.12.2.1;
next	1.11;

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

1.10
date	2002.04.23.19.53.12;	author tv;	state Exp;
branches;
next	1.9;

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

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

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

1.6
date	2002.03.23.03.22.25;	author shin;	state Exp;
branches;
next	1.5;

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

1.4
date	2000.01.06.03.53.47;	author simonb;	state Exp;
branches;
next	1.3;

1.3
date	99.04.16.13.31.40;	author simonb;	state Exp;
branches;
next	1.2;

1.2
date	99.03.15.20.54.54;	author is;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	98.11.17.02.38.17;	author jonathan;	state Exp;
branches
	1.1.2.1;
next	;

1.24.14.1
date	2017.03.20.06.52.07;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.24.18.1
date	2017.04.21.16.51.12;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.23.6.1
date	2012.10.30.18.48.37;	author yamt;	state Exp;
branches;
next	;

1.23.8.1
date	2012.11.18.16.58.44;	author msaitoh;	state Exp;
branches;
next	;

1.23.12.1
date	2012.11.20.02.57.44;	author tls;	state Exp;
branches;
next	;

1.23.14.1
date	2012.11.25.10.10.03;	author jdc;	state Exp;
branches;
next	;

1.18.20.1
date	2008.10.05.20.10.30;	author mjf;	state dead;
branches;
next	;

1.18.34.1
date	2009.09.09.02.11.55;	author matt;	state Exp;
branches;
next	;

1.12.2.1
date	2002.07.23.11.23.58;	author lukem;	state dead;
branches;
next	;

1.2.2.1
date	99.04.17.11.08.17;	author simonb;	state Exp;
branches;
next	;

1.1.2.1
date	98.11.17.02.38.17;	author cgd;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	98.11.24.21.49.35;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.26
log
@handle mipsn64
@
text
@#	$NetBSD: Makefile.inc,v 1.25 2017/01/24 18:04:04 christos Exp $

.if !empty(MACHINE_ARCH:Mmips*64el)
SFX=		64
.endif

DBG=		-Os

IMAGESIZE=	32m
MAKEFS_FLAGS+=	-f 15
IMAGEENDIAN=	le
MAKEDEVTARGETS=	all ipty
LISTS=		${.CURDIR}/list ${ARCHDIR}/list${SFX}
LISTS+=		${DISTRIBDIR}/common/list.sysinst
MTREECONF+=	${.CURDIR}/mtree.usr.install
IMAGEDEPENDS+=	${ARCHDIR}/dot.profile \
		${DESTDIR}/.profile ${DESTDIR}/boot.pmax \
		${DESTDIR}/etc/disktab \
		${KERNOBJDIR}/GENERIC${SFX}/netbsd

.if ${MACHINE_ARCH} == "mipsel"
IMAGEDEPENDS+=	${KERNOBJDIR}/GENERIC/netbsd.ecoff \
		${KERNOBJDIR}/INSTALL/nfsnetbsd.ecoff
.endif

IMAGEPOSTBUILD=	${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
@


1.25
log
@+= for MAKEFS_FLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.24 2012/10/26 18:15:56 tsutsui Exp $
d3 1
a3 1
.if ${MACHINE_ARCH} == "mips64el"
@


1.24
log
@Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
 Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
 no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23 2010/02/11 09:06:49 roy Exp $
d10 1
a10 1
MAKEFS_FLAGS=	-f 15
@


1.24.18.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.25 2017/01/24 18:04:04 christos Exp $
d10 1
a10 1
MAKEFS_FLAGS+=	-f 15
@


1.24.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.25 2017/01/24 18:04:04 christos Exp $
d10 1
a10 1
MAKEFS_FLAGS+=	-f 15
@


1.23
log
@Remove terminfo.db as it's now embedded in libterminfo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.22 2010/02/05 10:01:20 roy Exp $
d12 1
a12 1
MAKEDEVTARGETS=	all
@


1.23.14.1
log
@Pull up revisions:
  src/distrib/emips/miniroot/Makefile.inc revision 1.3
  src/distrib/hp300/miniroot/Makefile.inc revision 1.13
  src/distrib/hpcarm/miniroot/Makefile.inc revision 1.7
  src/distrib/hpcmips/miniroot/Makefile.inc revision 1.20
  src/distrib/hpcsh/miniroot/Makefile.inc revision 1.8
  src/distrib/mvme68k/miniroot/Makefile.inc revision 1.13
  src/distrib/pmax/miniroot/Makefile.inc revision 1.24
  src/distrib/vax/miniroot/Makefile.inc revision 1.23
(requested by tsutsui in ticket #650).

Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
 Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
 no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23 2010/02/11 09:06:49 roy Exp $
d12 1
a12 1
MAKEDEVTARGETS=	all ipty
@


1.23.12.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.24 2012/10/26 18:15:56 tsutsui Exp $
d12 1
a12 1
MAKEDEVTARGETS=	all ipty
@


1.23.8.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #650):
	distrib/hpcmips/miniroot/Makefile.inc: revision 1.20
	distrib/hpcsh/miniroot/Makefile.inc: revision 1.8
	distrib/hp300/miniroot/Makefile.inc: revision 1.13
	distrib/hpcarm/miniroot/Makefile.inc: revision 1.7
	distrib/vax/miniroot/Makefile.inc: revision 1.23
	distrib/mvme68k/miniroot/Makefile.inc: revision 1.13
	distrib/emips/miniroot/Makefile.inc: revision 1.3
	distrib/pmax/miniroot/Makefile.inc: revision 1.24
Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
 Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
 no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
a12 1
MAKEDEVTARGETS=	all ipty
@


1.23.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23 2010/02/11 09:06:49 roy Exp $
d12 1
a12 1
MAKEDEVTARGETS=	all ipty
@


1.22
log
@Use the rescue terminfo.db in our images instead of termcap.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.21 2009/12/14 01:12:06 matt Exp $
a16 1
		${DESTDIR}/rescue/terminfo.db \
@


1.21
log
@Merge from matt-nb5-mips64
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.20 2009/09/20 23:19:55 abs Exp $
d16 2
a17 1
IMAGEDEPENDS+=	${ARCHDIR}/dot.profile ${DISTRIBDIR}/common/termcap \
@


1.20
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 5
a5 1
#	$NetBSD: Makefile.inc,v 1.19 2009/09/20 22:46:13 abs Exp $
d13 1
d18 5
a22 2
		${KERNOBJDIR}/GENERIC/netbsd \
		${KERNOBJDIR}/GENERIC/netbsd.ecoff \
d24 1
@


1.19
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.inc,v 1.18 2006/07/29 19:10:56 ad Exp $
d11 1
a11 1
IMAGEDEPENDS+=	${ARCHDIR}/dot.profile ${ARCHDIR}/termcap.vt100 \
@


1.18
log
@Remove RASTERCONSOLE support from the pmax port.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.17 2003/07/10 10:34:12 lukem Exp $
a12 1
		${DESTDIR}/etc/disktab \
@


1.18.34.1
log
@Add support for pmax64 kernels.
@
text
@d1 1
a1 5
#	$NetBSD: Makefile.inc,v 1.18 2006/07/29 19:10:56 ad Exp $

.if ${MACHINE_ARCH} == "mips64el"
SFX=		64
.endif
a8 1
LISTS=		${.CURDIR}/list ${ARCHDIR}/list${SFX}
d14 2
a15 4
		${KERNOBJDIR}/GENERIC${SFX}/netbsd

.if ${MACHINE_ARCH} == "mipsel"
IMAGEDEPENDS+=	${KERNOBJDIR}/GENERIC/netbsd.ecoff \
a16 1
.endif
@


1.18.20.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.18 2006/07/29 19:10:56 ad Exp $
@


1.17
log
@Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.16 2003/02/18 08:18:31 shin Exp $
d11 1
a11 1
IMAGEDEPENDS+=	${ARCHDIR}/dot.profile ${ARCHDIR}/termcap.rcons \
@


1.16
log
@s/netbsd.aout/netbsd/
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15 2003/02/18 08:13:13 shin Exp $
d18 1
a18 1
IMAGEPOSTBUILD=	${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
@


1.15
log
@remove workaround for toolchain bug (already fixed).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.14 2003/02/18 08:11:21 shin Exp $
d14 1
a14 1
		${KERNOBJDIR}/GENERIC/netbsd.aout \
@


1.14
log
@toolchain problem (toolchain/16529) was fixed. build miniroot for pmax.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc.xxx,v 1.1 2002/07/23 11:08:28 lukem Exp $
d3 1
a3 1
DBG=		-Os -Wa,-xgot # XXX -xgot workaround for objcopy-crunchide
@


1.13
log
@disable pmax miniroot for now; it won't build due to objcopy-crunchide issues
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.12 2002/05/14 06:21:21 lukem Exp $
@


1.12
log
@consistently use "${INSTALLBOOT} -v ..."
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.11 2002/05/02 18:02:48 lukem Exp $
@


1.12.2.1
log
@Pull up file removal (requested by lukem):
disable pmax miniroot for now; it won't build due to objcopy-crunchide issues
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.12 2002/05/14 06:21:21 lukem Exp $
@


1.11
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.inc,v 1.10 2002/04/23 19:53:12 tv Exp $
d18 1
a18 1
IMAGEPOSTBUILD=	${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
@


1.10
log
@The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy).  So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.9 2002/04/12 03:21:11 lukem Exp $
d18 1
a18 1
IMAGE_MD_POST=	${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
@


1.9
log
@- replace image_md_post: target with IMAGE_MD_POST variable, and use
  that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
@
text
@d1 3
a3 1
#	$NetBSD: Makefile.inc,v 1.8 2002/04/03 06:38:26 lukem Exp $
@


1.8
log
@Switch from "${DESTDIR}/usr/mdec/installboot" to "${INSTALLBOOT} -m ${MACHINE}"
so now at least that step is cross-buildable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 2002/04/01 12:16:13 lukem Exp $
d16 1
a16 2
image_md_post:
	${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
@


1.7
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.inc,v 1.6 2002/03/23 03:22:25 shin Exp $
a15 1
# XXXIMAGE: installboot needs to be MI and work on image files
d17 1
a17 1
	${DESTDIR}/usr/mdec/installboot ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
@


1.6
log
@fix IMAGEENDIAN (s/be/le/).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2002/03/06 12:04:53 lukem Exp $
d4 1
@


1.5
log
@Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.4 2000/01/06 03:53:47 simonb Exp $
d4 1
a4 1
IMAGEENDIAN=	be
@


1.4
log
@Match current reality, but not used at the moment.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 1999/04/16 13:31:40 simonb Exp $
d3 11
a13 6
VND=		vnd0c
#IMAGESIZE?=	8192 # 512 byte blocks
IMAGESIZE?=	65536 # 512 byte blocks: full 32-meg root.
NEWFSOPTS?=	-c 32 -B le
DISKTYPE?=	miniroot
LABELPROTO?=	${.CURDIR}/../${MACHINE}/miniroot/diskimage.label.proto
d15 3
a17 8
#
# install bootblock, so that we can boot from there
#
BOOTINSTALL= ${DESTDIR}/usr/mdec/installboot ${VND_RDEV} \
	${DESTDIR}/usr/mdec/bootxx_ffs

# Write preliminary Label so that newfs succeeds when updating label.
PRELABEL=disklabel -rw ${VND_RDEV} ${DISKTYPE}
@


1.3
log
@Define the disklabel prototype as a conditionally set variable so that
it can be overriden.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 1999/03/15 20:54:54 is Exp $
d6 1
a6 1
NEWFSOPTS?=	-c 64 -B le
d13 2
a14 3
#BOOTINSTALL=${DESTDIR}/usr/mdec/installboot ${DESTDIR}/usr/mdec/xxboot ${VND_RDEV}
PMAX_MDEC_CMD?=-B -b /usr/mdec/rzboot -s /usr/mdec/bootrz
LABEL_CMD?=${DESTDIR}/sbin/disklabel -r -w ${PMAX_MDEC_CMD} ${VND_RDEV} 
d16 2
a17 10

# write bootblocks. Update label with fictious name and geometry
# that instructs kernel to recompute  label from # SCSI geometry info
# (since one install method is to dd this onto the start of a disk.)
BOOTINSTALL= ${DESTDIR}/sbin/disklabel -r -R ${PMAX_MDEC_CMD} ${VND_RDEV} \
	${LABELPROTO}

#  Write preliminary Label so that newfs succeeds when updating label.
PRELABEL=${LABEL_CMD}  ${DISKTYPE}
PRELABEL=${BOOTINSTALL}
@


1.2
log
@Add explicit filesystem endianness, to help cross-building releases.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 1998/11/17 02:38:17 jonathan Exp $
d8 1
d22 1
a22 1
	${.CURDIR}/../${MACHINE}/miniroot/diskimage.label.proto
@


1.2.2.1
log
@Pull up rev 1.3 from the trunk:
	Define the disklabel prototype as a conditionally set variable
	so that it can be overriden.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 1999/04/16 13:31:40 simonb Exp $
a7 1
LABELPROTO?=	${.CURDIR}/../${MACHINE}/miniroot/diskimage.label.proto
d21 1
a21 1
	${LABELPROTO}
@


1.1
log
@Make  crunched equivalent of pmax root diskimage.
	Makefile.inc: build `miniroot' [sic]
	list: list of files to  crunch in
	dot.profile: start up sysinst on boot.
	diskimage.label.proto:  write diskimage label so kernel recomputes
				label at boot from SCSI geometry..
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 1997/09/09 23:07:03 is Exp $
d6 1
a6 1
NEWFSOPTS?=	-c 64
@


1.1.2.1
log
@file Makefile.inc was added on branch netbsd-1-3 on 1998-11-24 21:49:35 +0000
@
text
@d1 25
@


1.1.2.2
log
@pull up rev 1.1 from trunk (new file).  (simonb)
@
text
@a0 25
#	$NetBSD: Makefile.inc,v 1.1.2.1 1998/11/24 21:49:35 cgd Exp $

VND=		vnd0c
#IMAGESIZE?=	8192 # 512 byte blocks
IMAGESIZE?=	65536 # 512 byte blocks: full 32-meg root.
NEWFSOPTS?=	-c 64
DISKTYPE?=	miniroot

#
# install bootblock, so that we can boot from there
#
#BOOTINSTALL=${DESTDIR}/usr/mdec/installboot ${DESTDIR}/usr/mdec/xxboot ${VND_RDEV}
PMAX_MDEC_CMD?=-B -b /usr/mdec/rzboot -s /usr/mdec/bootrz
LABEL_CMD?=${DESTDIR}/sbin/disklabel -r -w ${PMAX_MDEC_CMD} ${VND_RDEV} 


# write bootblocks. Update label with fictious name and geometry
# that instructs kernel to recompute  label from # SCSI geometry info
# (since one install method is to dd this onto the start of a disk.)
BOOTINSTALL= ${DESTDIR}/sbin/disklabel -r -R ${PMAX_MDEC_CMD} ${VND_RDEV} \
	${.CURDIR}/../${MACHINE}/miniroot/diskimage.label.proto

#  Write preliminary Label so that newfs succeeds when updating label.
PRELABEL=${LABEL_CMD}  ${DISKTYPE}
PRELABEL=${BOOTINSTALL}
@
