head	1.46;
access;
symbols
	perseant-exfatfs-base-20261102:1.46
	netbsd-11-1-RELEASE:1.46
	netbsd-10-2-RELEASE:1.45
	netbsd-9-5-RELEASE:1.43
	netbsd-11-0-RELEASE:1.46
	netbsd-11-0-RC7:1.46
	netbsd-11-0-RC6:1.46
	netbsd-11-0-RC5:1.46
	netbsd-11-0-RC4:1.46
	netbsd-11-0-RC3:1.46
	netbsd-11-0-RC2:1.46
	netbsd-11-0-RC1:1.46
	perseant-exfatfs-base-20250801:1.46
	netbsd-11:1.46.0.2
	netbsd-11-base:1.46
	netbsd-10-1-RELEASE:1.45
	perseant-exfatfs-base-20240630:1.45
	perseant-exfatfs:1.45.0.8
	perseant-exfatfs-base:1.45
	netbsd-8-3-RELEASE:1.39
	netbsd-9-4-RELEASE:1.43
	netbsd-10-0-RELEASE:1.45
	netbsd-10-0-RC6:1.45
	netbsd-10-0-RC5:1.45
	netbsd-10-0-RC4:1.45
	netbsd-10-0-RC3:1.45
	netbsd-10-0-RC2:1.45
	netbsd-10-0-RC1:1.45
	netbsd-10:1.45.0.6
	netbsd-10-base:1.45
	netbsd-9-3-RELEASE:1.43
	cjep_sun2x-base1:1.45
	cjep_sun2x:1.45.0.4
	cjep_sun2x-base:1.45
	cjep_staticlib_x-base1:1.45
	netbsd-9-2-RELEASE:1.43
	cjep_staticlib_x:1.45.0.2
	cjep_staticlib_x-base:1.45
	netbsd-9-1-RELEASE:1.43
	phil-wifi-20200421:1.43
	phil-wifi-20200411:1.43
	is-mlppp:1.43.0.4
	is-mlppp-base:1.43
	phil-wifi-20200406:1.43
	netbsd-8-2-RELEASE:1.39
	netbsd-9-0-RELEASE:1.43
	netbsd-9-0-RC2:1.43
	netbsd-9-0-RC1:1.43
	phil-wifi-20191119:1.43
	netbsd-9:1.43.0.2
	netbsd-9-base:1.43
	phil-wifi-20190609:1.43
	netbsd-8-1-RELEASE:1.39
	netbsd-8-1-RC1:1.39
	pgoyette-compat-merge-20190127:1.40.2.1
	pgoyette-compat-20190127:1.41
	pgoyette-compat-20190118:1.41
	pgoyette-compat-1226:1.40
	pgoyette-compat-1126:1.40
	pgoyette-compat-1020:1.40
	pgoyette-compat-0930:1.40
	pgoyette-compat-0906:1.40
	netbsd-7-2-RELEASE:1.39
	pgoyette-compat-0728:1.40
	netbsd-8-0-RELEASE:1.39
	phil-wifi:1.40.0.4
	phil-wifi-base:1.40
	pgoyette-compat-0625:1.40
	netbsd-8-0-RC2:1.39
	pgoyette-compat-0521:1.40
	pgoyette-compat-0502:1.40
	pgoyette-compat-0422:1.40
	netbsd-8-0-RC1:1.39
	pgoyette-compat-0415:1.40
	pgoyette-compat-0407:1.40
	pgoyette-compat-0330:1.40
	pgoyette-compat-0322:1.40
	pgoyette-compat-0315:1.40
	netbsd-7-1-2-RELEASE:1.39
	pgoyette-compat:1.40.0.2
	pgoyette-compat-base:1.40
	netbsd-7-1-1-RELEASE:1.39
	matt-nb8-mediatek:1.39.0.28
	matt-nb8-mediatek-base:1.39
	perseant-stdc-iso10646:1.39.0.26
	perseant-stdc-iso10646-base:1.39
	netbsd-8:1.39.0.24
	netbsd-8-base:1.39
	prg-localcount2-base3:1.39
	prg-localcount2-base2:1.39
	prg-localcount2-base1:1.39
	prg-localcount2:1.39.0.22
	prg-localcount2-base:1.39
	pgoyette-localcount-20170426:1.39
	bouyer-socketcan-base1:1.39
	pgoyette-localcount-20170320:1.39
	netbsd-7-1:1.39.0.20
	netbsd-7-1-RELEASE:1.39
	netbsd-7-1-RC2:1.39
	netbsd-7-nhusb-base-20170116:1.39
	bouyer-socketcan:1.39.0.18
	bouyer-socketcan-base:1.39
	pgoyette-localcount-20170107:1.39
	netbsd-7-1-RC1:1.39
	pgoyette-localcount-20161104:1.39
	netbsd-7-0-2-RELEASE:1.39
	localcount-20160914:1.39
	netbsd-7-nhusb:1.39.0.16
	netbsd-7-nhusb-base:1.39
	pgoyette-localcount-20160806:1.39
	pgoyette-localcount-20160726:1.39
	pgoyette-localcount:1.39.0.14
	pgoyette-localcount-base:1.39
	netbsd-7-0-1-RELEASE:1.39
	netbsd-7-0:1.39.0.12
	netbsd-7-0-RELEASE:1.39
	netbsd-7-0-RC3:1.39
	netbsd-7-0-RC2:1.39
	netbsd-7-0-RC1:1.39
	netbsd-5-2-3-RELEASE:1.36.28.1
	netbsd-5-1-5-RELEASE:1.36.28.1
	netbsd-6-0-6-RELEASE:1.38
	netbsd-6-1-5-RELEASE:1.38
	netbsd-7:1.39.0.10
	netbsd-7-base:1.39
	yamt-pagecache-base9:1.39
	yamt-pagecache-tag8:1.38
	netbsd-6-1-4-RELEASE:1.38
	netbsd-6-0-5-RELEASE:1.38
	tls-earlyentropy:1.39.0.8
	tls-earlyentropy-base:1.39
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.39
	riastradh-drm2-base3:1.39
	netbsd-6-1-3-RELEASE:1.38
	netbsd-6-0-4-RELEASE:1.38
	netbsd-5-2-2-RELEASE:1.36.28.1
	netbsd-5-1-4-RELEASE:1.36.28.1
	netbsd-6-1-2-RELEASE:1.38
	netbsd-6-0-3-RELEASE:1.38
	netbsd-5-2-1-RELEASE:1.36.28.1
	netbsd-5-1-3-RELEASE:1.36.28.1
	netbsd-6-1-1-RELEASE:1.38
	riastradh-drm2-base2:1.39
	riastradh-drm2-base1:1.39
	riastradh-drm2:1.39.0.6
	riastradh-drm2-base:1.39
	netbsd-6-1:1.38.0.18
	netbsd-6-0-2-RELEASE:1.38
	netbsd-6-1-RELEASE:1.38
	khorben-n900:1.39.0.4
	netbsd-6-1-RC4:1.38
	netbsd-6-1-RC3:1.38
	agc-symver:1.39.0.2
	agc-symver-base:1.39
	netbsd-6-1-RC2:1.38
	netbsd-6-1-RC1:1.38
	yamt-pagecache-base8:1.38
	netbsd-5-2:1.36.28.1.0.6
	netbsd-6-0-1-RELEASE:1.38
	yamt-pagecache-base7:1.38
	netbsd-5-2-RELEASE:1.36.28.1
	netbsd-5-2-RC1:1.36.28.1
	matt-nb6-plus-nbase:1.38
	yamt-pagecache-base6:1.38
	netbsd-6-0:1.38.0.14
	netbsd-6-0-RELEASE:1.38
	netbsd-6-0-RC2:1.38
	tls-maxphys:1.38.0.12
	tls-maxphys-base:1.39
	matt-nb6-plus:1.38.0.10
	matt-nb6-plus-base:1.38
	netbsd-6-0-RC1:1.38
	yamt-pagecache-base5:1.38
	yamt-pagecache-base4:1.38
	netbsd-6:1.38.0.8
	netbsd-6-base:1.38
	netbsd-5-1-2-RELEASE:1.36.28.1
	netbsd-5-1-1-RELEASE:1.36.28.1
	yamt-pagecache-base3:1.38
	yamt-pagecache-base2:1.38
	yamt-pagecache:1.38.0.6
	yamt-pagecache-base:1.38
	cherry-xenmp:1.38.0.4
	cherry-xenmp-base:1.38
	bouyer-quota2-nbase:1.38
	bouyer-quota2:1.38.0.2
	bouyer-quota2-base:1.38
	matt-mips64-premerge-20101231:1.38
	matt-nb5-mips64-premerge-20101231:1.36.32.1
	matt-nb5-pq3:1.36.28.1.0.4
	matt-nb5-pq3-base:1.36.28.1
	netbsd-5-1:1.36.28.1.0.2
	netbsd-5-1-RELEASE:1.36.28.1
	netbsd-5-1-RC4:1.36.28.1
	matt-nb5-mips64-k15:1.36.32.1
	netbsd-5-1-RC3:1.36.28.1
	netbsd-5-1-RC2:1.36.28.1
	netbsd-5-1-RC1:1.36.28.1
	netbsd-5-0-2-RELEASE:1.36
	matt-nb5-mips64-premerge-20091211:1.36.32.1
	matt-premerge-20091211:1.37
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.36.32.1
	matt-nb4-mips64-k7-u2a-k9b:1.36
	matt-nb5-mips64-u1-k1-k5:1.36
	matt-nb5-mips64:1.36.0.32
	netbsd-5-0-1-RELEASE:1.36
	jym-xensuspend-nbase:1.37
	netbsd-5-0:1.36.0.30
	netbsd-5-0-RELEASE:1.36
	netbsd-5-0-RC4:1.36
	netbsd-5-0-RC3:1.36
	netbsd-5-0-RC2:1.36
	jym-xensuspend:1.37.0.2
	jym-xensuspend-base:1.37
	netbsd-5-0-RC1:1.36
	netbsd-5:1.36.0.28
	netbsd-5-base:1.36
	matt-mips64-base2:1.36
	matt-mips64:1.36.0.26
	netbsd-4-0-1-RELEASE:1.36
	wrstuden-revivesa-base-3:1.36
	wrstuden-revivesa-base-2:1.36
	wrstuden-fixsa-newbase:1.36
	wrstuden-revivesa-base-1:1.36
	yamt-pf42-base4:1.36
	yamt-pf42-base3:1.36
	hpcarm-cleanup-nbase:1.36
	yamt-pf42-baseX:1.36
	yamt-pf42-base2:1.36
	wrstuden-revivesa:1.36.0.24
	wrstuden-revivesa-base:1.36
	yamt-pf42:1.36.0.22
	yamt-pf42-base:1.36
	mjf-devfs2:1.36.0.20
	mjf-devfs2-base:1.36
	keiichi-mipv6:1.36.0.18
	keiichi-mipv6-base:1.36
	mjf-devfs:1.36.0.16
	mjf-devfs-base:1.36
	matt-armv6-nbase:1.36
	matt-armv6-prevmlocking:1.36
	wrstuden-fixsa-base-1:1.36
	netbsd-4-0:1.36.0.14
	netbsd-4-0-RELEASE:1.36
	cube-autoconf:1.36.0.12
	cube-autoconf-base:1.36
	netbsd-4-0-RC5:1.36
	netbsd-4-0-RC4:1.36
	netbsd-4-0-RC3:1.36
	netbsd-4-0-RC2:1.36
	netbsd-4-0-RC1:1.36
	matt-armv6:1.36.0.10
	matt-armv6-base:1.36
	matt-mips64-base:1.36
	hpcarm-cleanup:1.36.0.8
	hpcarm-cleanup-base:1.36
	netbsd-3-1-1-RELEASE:1.35
	netbsd-3-0-3-RELEASE:1.35
	wrstuden-fixsa:1.36.0.6
	wrstuden-fixsa-base:1.36
	abandoned-netbsd-4-base:1.36
	abandoned-netbsd-4:1.36.0.2
	netbsd-3-1:1.35.0.12
	netbsd-3-1-RELEASE:1.35
	netbsd-3-0-2-RELEASE:1.35
	netbsd-3-1-RC4:1.35
	netbsd-3-1-RC3:1.35
	netbsd-3-1-RC2:1.35
	netbsd-3-1-RC1:1.35
	netbsd-4:1.36.0.4
	netbsd-4-base:1.36
	netbsd-3-0-1-RELEASE:1.35
	netbsd-3-0:1.35.0.10
	netbsd-3-0-RELEASE:1.35
	netbsd-3-0-RC6:1.35
	netbsd-3-0-RC5:1.35
	netbsd-3-0-RC4:1.35
	netbsd-3-0-RC3:1.35
	netbsd-3-0-RC2:1.35
	netbsd-3-0-RC1:1.35
	netbsd-2-0-3-RELEASE:1.35
	netbsd-2-1:1.35.0.8
	netbsd-2-1-RELEASE:1.35
	netbsd-2-1-RC6:1.35
	netbsd-2-1-RC5:1.35
	netbsd-2-1-RC4:1.35
	netbsd-2-1-RC3:1.35
	netbsd-2-1-RC2:1.35
	netbsd-2-1-RC1:1.35
	netbsd-2-0-2-RELEASE:1.35
	netbsd-3:1.35.0.6
	netbsd-3-base:1.35
	netbsd-2-0-1-RELEASE:1.35
	netbsd-2:1.35.0.4
	netbsd-2-base:1.35
	netbsd-2-0-RELEASE:1.35
	netbsd-2-0-RC5:1.35
	netbsd-2-0-RC4:1.35
	netbsd-2-0-RC3:1.35
	netbsd-2-0-RC2:1.35
	netbsd-2-0-RC1:1.35
	netbsd-2-0:1.35.0.2
	netbsd-2-0-base:1.35
	netbsd-1-6-PATCH002-RELEASE:1.34
	netbsd-1-6-PATCH002:1.34
	netbsd-1-6-PATCH002-RC4:1.34
	netbsd-1-6-PATCH002-RC3:1.34
	netbsd-1-6-PATCH002-RC2:1.34
	netbsd-1-6-PATCH002-RC1:1.34
	netbsd-1-6-PATCH001:1.34
	netbsd-1-6-PATCH001-RELEASE:1.34
	netbsd-1-6-PATCH001-RC3:1.34
	netbsd-1-6-PATCH001-RC2:1.34
	netbsd-1-6-PATCH001-RC1:1.34
	fvdl_fs64_base:1.34
	netbsd-1-6-RELEASE:1.34
	netbsd-1-6-RC3:1.34
	netbsd-1-6-RC2:1.34
	netbsd-1-6-RC1:1.34
	netbsd-1-6:1.34.0.2
	netbsd-1-6-base:1.34
	netbsd-1-5-PATCH003:1.17.2.1
	netbsd-1-5-PATCH002:1.17.2.1
	netbsd-1-5-PATCH001:1.17.2.1
	netbsd-1-5-RELEASE:1.17.2.1
	netbsd-1-5-BETA2:1.17
	netbsd-1-5-BETA:1.17
	netbsd-1-4-PATCH003:1.1.2.4
	netbsd-1-5-ALPHA2:1.17
	netbsd-1-5:1.17.0.2
	netbsd-1-5-base:1.17
	minoura-xpg4dl:1.16.0.2
	minoura-xpg4dl-base:1.16
	netbsd-1-4-PATCH002:1.1.2.3
	wrstuden-devbsize-19991221:1.11
	wrstuden-devbsize:1.10.0.2
	wrstuden-devbsize-base:1.11
	comdex-fall-1999:1.11.0.2
	comdex-fall-1999-base:1.11
	netbsd-1-4-PATCH001:1.1.2.2
	netbsd-1-4-RELEASE:1.1.2.2
	netbsd-1-4:1.1.0.2
	netbsd-1-4-base:1.1;
locks; strict;
comment	@# @;


1.46
date	2024.11.27.17.06.18;	author christos;	state Exp;
branches;
next	1.45;
commitid	LexTZXXjsR8s4jzF;

1.45
date	2021.04.25.23.40.05;	author christos;	state Exp;
branches
	1.45.8.1;
next	1.44;
commitid	YWr3KWO8Dq4dqJQC;

1.44
date	2020.08.16.11.43.36;	author mrg;	state Exp;
branches;
next	1.43;
commitid	iZkAPMPkFsUyyhkC;

1.43
date	2019.04.07.20.28.55;	author christos;	state Exp;
branches;
next	1.42;
commitid	MRzrnzhjq6alrsiB;

1.42
date	2019.04.01.02.02.54;	author christos;	state Exp;
branches;
next	1.41;
commitid	g8nCTJnP40sIvAhB;

1.41
date	2019.01.01.19.09.12;	author christos;	state Exp;
branches;
next	1.40;
commitid	p5qKj2TcH0wb576B;

1.40
date	2018.02.22.07.21.10;	author mrg;	state Exp;
branches
	1.40.2.1
	1.40.4.1;
next	1.39;
commitid	wBR4ZPYMOBl7ePrA;

1.39
date	2013.02.25.16.52.57;	author mhitch;	state Exp;
branches;
next	1.38;

1.38
date	2009.12.14.01.12.06;	author matt;	state Exp;
branches
	1.38.6.1
	1.38.12.1;
next	1.37;

1.37
date	2009.01.18.12.51.25;	author he;	state Exp;
branches;
next	1.36;

1.36
date	2006.01.16.00.16.44;	author he;	state Exp;
branches
	1.36.20.1
	1.36.28.1
	1.36.30.1
	1.36.32.1;
next	1.35;

1.35
date	2003.07.10.10.34.12;	author lukem;	state Exp;
branches;
next	1.34;

1.34
date	2002.05.14.06.21.21;	author lukem;	state Exp;
branches;
next	1.33;

1.33
date	2002.05.08.21.44.58;	author lukem;	state Exp;
branches;
next	1.32;

1.32
date	2002.05.03.15.22.56;	author lukem;	state Exp;
branches;
next	1.31;

1.31
date	2002.05.03.14.20.55;	author lukem;	state Exp;
branches;
next	1.30;

1.30
date	2002.05.02.18.02.48;	author lukem;	state Exp;
branches;
next	1.29;

1.29
date	2002.05.02.13.26.38;	author simonb;	state Exp;
branches;
next	1.28;

1.28
date	2002.04.26.15.50.43;	author lukem;	state Exp;
branches;
next	1.27;

1.27
date	2002.04.14.06.18.13;	author lukem;	state Exp;
branches;
next	1.26;

1.26
date	2002.04.14.01.41.25;	author lukem;	state Exp;
branches;
next	1.25;

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

1.24
date	2002.04.03.06.38.26;	author lukem;	state Exp;
branches;
next	1.23;

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

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

1.21
date	2002.02.09.13.56.52;	author lukem;	state Exp;
branches;
next	1.20;

1.20
date	2001.10.21.23.23.22;	author jmc;	state Exp;
branches;
next	1.19;

1.19
date	2001.03.24.15.31.23;	author simonb;	state Exp;
branches;
next	1.18;

1.18
date	2000.11.10.19.06.17;	author mhitch;	state Exp;
branches;
next	1.17;

1.17
date	2000.06.01.06.54.57;	author matt;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	2000.05.02.16.06.53;	author sjg;	state Exp;
branches;
next	1.15;

1.15
date	2000.01.06.03.47.55;	author simonb;	state Exp;
branches;
next	1.14;

1.14
date	2000.01.04.01.20.23;	author simonb;	state Exp;
branches;
next	1.13;

1.13
date	2000.01.03.21.59.12;	author simonb;	state Exp;
branches;
next	1.12;

1.12
date	99.12.28.10.56.54;	author simonb;	state Exp;
branches;
next	1.11;

1.11
date	99.10.18.01.35.17;	author simonb;	state Exp;
branches;
next	1.10;

1.10
date	99.05.06.20.50.13;	author simonb;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	99.05.04.02.44.22;	author simonb;	state Exp;
branches;
next	1.8;

1.8
date	99.04.27.12.18.47;	author simonb;	state Exp;
branches;
next	1.7;

1.7
date	99.04.27.12.14.00;	author simonb;	state Exp;
branches;
next	1.6;

1.6
date	99.04.27.12.03.39;	author simonb;	state Exp;
branches;
next	1.5;

1.5
date	99.04.27.01.34.49;	author simonb;	state Exp;
branches;
next	1.4;

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

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

1.2
date	99.04.05.06.17.44;	author simonb;	state Exp;
branches;
next	1.1;

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

1.45.8.1
date	2025.08.02.05.20.23;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.40.2.1
date	2019.01.18.08.48.31;	author pgoyette;	state Exp;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.40.4.1
date	2019.06.10.21.42.28;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.38.6.1
date	2014.05.22.12.01.31;	author yamt;	state Exp;
branches;
next	;
commitid	yqlfOuaAhYmASwBx;

1.38.12.1
date	2013.06.23.06.26.18;	author tls;	state Exp;
branches;
next	;
commitid	OnlO1cBgtQRcIHUw;

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

1.36.28.1
date	2010.02.14.14.04.53;	author bouyer;	state Exp;
branches;
next	;

1.36.30.1
date	2010.02.14.14.04.48;	author bouyer;	state Exp;
branches;
next	;

1.36.32.1
date	2009.09.09.02.11.54;	author matt;	state Exp;
branches;
next	;

1.17.2.1
date	2000.11.13.20.32.06;	author tv;	state Exp;
branches;
next	;

1.10.2.1
date	99.12.27.18.28.31;	author wrstuden;	state Exp;
branches;
next	;

1.1.2.1
date	99.04.05.15.07.18;	author simonb;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	99.04.17.11.12.30;	author simonb;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	99.10.20.23.05.59;	author he;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2000.09.26.15.19.10;	author he;	state Exp;
branches;
next	;


desc
@@


1.46
log
@bump for ssp build
@
text
@#	$NetBSD: Makefile,v 1.45 2021/04/25 23:40:05 christos Exp $

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

.include <bsd.kernobj.mk>

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

IMAGE=		diskimage
IMAGESIZE=	4608k
LISTS=		${.CURDIR}/list${SFX}
MTREECONF=	${DISTRIBDIR}/common/mtree.dot
IMAGEENDIAN=	le
PRIMARYBOOT=	${DESTDIR}/usr/mdec/bootxx_ffs
IMAGEDEPENDS=	netbsd-INSTALL${SFX}.gz ${DESTDIR}/usr/mdec/boot.pmax ${PRIMARYBOOT}
IMAGEPOSTBUILD=	${TOOL_INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT}

RAMDISKDIR!=	cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
RAMDISK=	${RAMDISKDIR}/ramdisk.fs

MDSETTARGETS=		RAMDISK${SFX} ${RAMDISK} netbsd-INSTALL${SFX}
MDSET_RELEASEDIR=	binary/kernel

.if ${MACHINE_ARCH} == "mipsel"
MDSET_SUFFIXES.netbsd-INSTALL${SFX}=	ecoff create-ecoff
create-ecoff=			${MIPS_ELF2ECOFF} ${.TARGET:R} ${.TARGET}
.endif

IMAGE_RELEASEDIR=	installation/diskimage

.include "${DISTRIBDIR}/common/Makefile.image"
.include "${DISTRIBDIR}/common/Makefile.mdset"

.include <bsd.prog.mk>
@


1.45
log
@handle mipsn64
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.44 2020/08/16 11:43:36 mrg Exp $
d13 1
a13 1
IMAGESIZE=	3584k
@


1.45.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.46 2024/11/27 17:06:18 christos Exp $
d13 1
a13 1
IMAGESIZE=	4608k
@


1.44
log
@bump image from 3000k to 3.5M.  thanks, time.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.43 2019/04/07 20:28:55 christos Exp $
d8 1
a8 1
.if ${MACHINE_ARCH} == "mips64el"
@


1.43
log
@bump
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.42 2019/04/01 02:02:54 christos Exp $
d13 1
a13 1
IMAGESIZE=	3000k
@


1.42
log
@need bigger clothes
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.41 2019/01/01 19:09:12 christos Exp $
d13 1
a13 1
IMAGESIZE=	2900k
@


1.41
log
@Rename ELF2ECOFF -> MIPS_ELF2ECOFF
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.40 2018/02/22 07:21:10 mrg Exp $
d13 1
a13 1
IMAGESIZE=	2800k
@


1.40
log
@bump image size for gcc 6 bloaty mc bloat face.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.39 2013/02/25 16:52:57 mhitch Exp $
d29 1
a29 1
create-ecoff=				${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
@


1.40.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.43 2019/04/07 20:28:55 christos Exp $
d13 1
a13 1
IMAGESIZE=	3000k
d29 1
a29 1
create-ecoff=			${MIPS_ELF2ECOFF} ${.TARGET:R} ${.TARGET}
@


1.40.2.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.40 2018/02/22 07:21:10 mrg Exp $
d29 1
a29 1
create-ecoff=			${MIPS_ELF2ECOFF} ${.TARGET:R} ${.TARGET}
@


1.39
log
@Bump size of image.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2009/12/14 01:12:06 matt Exp $
d13 1
a13 1
IMAGESIZE=	2600k
@


1.38
log
@Merge from matt-nb5-mips64
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2009/01/18 12:51:25 he Exp $
d13 1
a13 1
IMAGESIZE=	2400k
@


1.38.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.38 2009/12/14 01:12:06 matt Exp $
d13 1
a13 1
IMAGESIZE=	2600k
@


1.38.12.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
d13 1
a13 1
IMAGESIZE=	2600k
@


1.37
log
@Bump the size of ramdisk and diskimages, so that what needs to
be put there still fits.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2006/01/16 00:16:44 he Exp $
d8 4
d13 2
a14 2
IMAGESIZE=	2200k
LISTS=		${.CURDIR}/list
d18 1
a18 1
IMAGEDEPENDS=	netbsd-INSTALL.gz ${DESTDIR}/usr/mdec/boot.pmax ${PRIMARYBOOT}
d24 1
a24 1
MDSETTARGETS=		RAMDISK ${RAMDISK} netbsd-INSTALL
d27 4
a30 2
MDSET_SUFFIXES.netbsd-INSTALL=	ecoff create-ecoff
create-ecoff=			${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
@


1.36
log
@Bump image size from 2m to 2100k so that it fits again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2003/07/10 10:34:12 lukem Exp $
d9 1
a9 1
IMAGESIZE=	2100k
@


1.36.28.1
log
@Apply patch, requested by snj in ticket 1305:
	distrib/pmax/instkernel/Makefile: patch
Bump the size of the pmax instkernel ramdisk to 2200k.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2006/01/16 00:16:44 he Exp $
d9 1
a9 1
IMAGESIZE=	2200k
@


1.36.30.1
log
@Apply patch, requested by snj in ticket 1305:
        distrib/pmax/instkernel/Makefile: patch
Bump the size of the pmax instkernel ramdisk to 2200k.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2006/01/16 00:16:44 he Exp $
d9 1
a9 1
IMAGESIZE=	2200k
@


1.36.32.1
log
@Add support for pmax64 kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2006/01/16 00:16:44 he Exp $
a7 4
.if ${MACHINE_ARCH} == "mips64el"
SFX=		64
.endif

d9 2
a10 2
IMAGESIZE=	2400k
LISTS=		${.CURDIR}/list${SFX}
d14 1
a14 1
IMAGEDEPENDS=	netbsd-INSTALL${SFX}.gz ${DESTDIR}/usr/mdec/boot.pmax ${PRIMARYBOOT}
d20 1
a20 1
MDSETTARGETS=		RAMDISK${SFX} ${RAMDISK} netbsd-INSTALL${SFX}
d23 2
a24 4
.if ${MACHINE_ARCH} == "mipsel"
MDSET_SUFFIXES.netbsd-INSTALL${SFX}=	ecoff create-ecoff
create-ecoff=				${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
.endif
@


1.36.20.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2006/01/16 00:16:44 he Exp $
@


1.35
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,v 1.34 2002/05/14 06:21:21 lukem Exp $
d9 1
a9 1
IMAGESIZE=	2m
@


1.34
log
@consistently use "${INSTALLBOOT} -v ..."
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2002/05/08 21:44:58 lukem Exp $
d15 1
a15 1
IMAGEPOSTBUILD=	${INSTALLBOOT} -v -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT}
@


1.33
log
@- whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2002/05/03 15:22:56 lukem Exp $
d15 1
a15 1
IMAGEPOSTBUILD=	${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT}
@


1.32
log
@rather than blocking parallel mdset builds with .WAIT, replace usage of
"netbsd.tmp" with "${.TARGET:R}" (et al)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2002/05/03 14:20:55 lukem Exp $
d14 1
a14 1
IMAGEDEPENDS=	install.gz ${DESTDIR}/usr/mdec/boot.pmax ${PRIMARYBOOT}
a18 1
MDSETTARGETS=	RAMDISK ${RAMDISK} install
d20 1
d22 4
a26 4

MDSET.install.suffixes=	ecoff
MDSET.install.post=	${ELF2ECOFF} ${.TARGET:R} ${.TARGET:R}.ecoff && \
			gzip -9f ${.TARGET:R}.ecoff
@


1.31
log
@provide common/mtree.dot (contains entry for ". type=dir ...") , and
use that rather than MTREE entry in the list, because Makefile.image
needs at least one mtree file anyway
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2002/05/02 18:02:48 lukem Exp $
d25 2
a26 2
MDSET.install.post=	${ELF2ECOFF} netbsd.tmp netbsd.ecoff && \
			gzip -9f netbsd.ecoff
@


1.30
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.29 2002/05/02 13:26:38 simonb Exp $
d11 1
@


1.29
log
@Use "boot.pmax" instead of just "boot" in IMAGEDEPENDS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2002/04/26 15:50:43 lukem Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
d12 3
a14 1
IMAGEDEPENDS=	install.gz ${DESTDIR}/usr/mdec/boot.pmax
d20 3
a25 21

PRIMARYBOOT=	${DESTDIR}/usr/mdec/bootxx_ffs

${IMAGE}.gz:	${IMAGE} ${PRIMARYBOOT}
	${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${PRIMARYBOOT}
	gzip -9f ${IMAGE}

CLEANFILES+=	${IMAGE}.gz


realall: ${KERNELDEPS} ${IMAGE}.gz


DISKBINDIR=	${RELEASEDIR}/installation/diskimage
KERNBINDIR=	${RELEASEDIR}/binary/kernel

release: check_RELEASEDIR .WAIT ${IMAGE}.gz ${KERNELDEPS}
	-mkdir -p ${DISKBINDIR} ${KERNBINDIR}
	${RELINSTALL} ${IMAGE}.gz ${DISKBINDIR}
	${RELINSTALL} ${KERNELS} ${KERNBINDIR}

@


1.28
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2002/04/14 06:18:13 lukem Exp $
d12 1
a12 1
IMAGEDEPENDS=	install.gz ${DESTDIR}/usr/mdec/boot
@


1.27
log
@Makefile.mdset: add ${KERNELDEPS} variable which is ${KERNELS} with
.WAIT between the items, and remove .WAIT from ${KERNELS}.
Use ${KERNELDEPS} in make dependencies.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2002/04/14 01:41:25 lukem Exp $
d4 1
a4 1
.include "${_SRC_TOP_}/distrib/Makefile.inc"
@


1.26
log
@- Rename Makefile.mdset variables:
	MDEXTRA_SUFFIXES.${KERNEL} 	-> MDSET.${FILENAME}.suffixes
	${KERNEL.${_K}}.post		-> MDSET.${FILENAME}.post
  This allows "default" rules for for MDSETTARGETS with FILENAMEs of "-"
  by defined MDSET.-.post & MDSET.-.suffixes
- Document the above
- Use the above appropriately in various Makefiles
- Be a be quieter when building these kernels
- Add .WAIT syncs so that multiple kernels aren't built in parallel, because
  the temporary filename is the same, and it also avoid hairy magic in
  syncing the targets generated from MDSET.${FILENAME}.suffixes with
  the master target for that ${FILENAME}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2002/04/12 13:52:12 lukem Exp $
d31 1
a31 1
realall: ${KERNELS} ${IMAGE}.gz
d37 1
a37 1
release: check_RELEASEDIR .WAIT ${IMAGE}.gz ${KERNELS}
@


1.25
log
@- use Makefile.mdset to build md kernel and bootable image
- use ${RELINSTALL} instead of ${INSTALL} ...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2002/02/09 13:56:51 lukem Exp $
d12 1
a12 1
IMAGEDEPENDS=	netbsd.gz ${DESTDIR}/usr/mdec/boot
d16 1
a16 1
MDSETTARGETS=	RAMDISK ${RAMDISK} netbsd
d18 3
a20 3
netbsd.post=	${ELF2ECOFF} netbsd.tmp netbsd.ecoff && gzip -9f netbsd.ecoff

CLEANFILES+=	netbsd.ecoff netbsd.ecoff.gz
d37 1
a37 1
release: check_RELEASEDIR .WAIT ${KERNELS} ${IMAGE}.gz
d40 1
a40 2
	${RELINSTALL} netbsd.gz ${KERNBINDIR}/install.gz
	${RELINSTALL} netbsd.ecoff.gz ${KERNBINDIR}/install.ecoff.gz
@


1.24
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,v 1.23 2002/03/28 03:18:56 lukem Exp $
a2 1
.include "${.CURDIR}/../../Makefile.inc"
d4 2
d8 5
a12 2
DISKBINDIR=	/installation/diskimage
KERNBINDIR=	/binary/kernel
a13 1
KERN=		${KERNOBJDIR}/RAMDISK/netbsd
d16 13
a29 3
IMAGE=		diskimage
IMAGESIZE=	4096b
# MAKEFS_FLAGS=	-o density=32k			# XXXDISTRIB
d31 1
a31 3
LISTS=		${.CURDIR}/list
IMAGEENDIAN=	le
IMAGEDEPENDS=	netbsd.gz ${DESTDIR}/usr/mdec/boot.pmax
a32 2
CLEANFILES+=	netbsd netbsd.gz netbsd.ecoff netbsd.ecoff.gz \
		${IMAGE} ${IMAGE}.gz
d34 2
d37 5
a41 24
netbsd.gz: ${KERN} ${RAMDISK}
	cp ${KERN} netbsd
	${MDSETIMAGE} -v netbsd ${RAMDISK}
	elf2ecoff netbsd netbsd.ecoff		# XXXDISTRIB
	rm -f netbsd.ecoff.gz
	gzip -9 netbsd.ecoff
	rm -f netbsd.gz
	gzip -9 netbsd

${IMAGE}.gz:	${IMAGE}
	${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
	rm -f ${IMAGE}.gz
	gzip -9 ${IMAGE}


realall: netbsd.gz ${IMAGE}.gz

release: check_RELEASEDIR .WAIT netbsd.gz ${IMAGE}.gz
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
		${IMAGE}.gz ${RELEASEDIR}${DISKBINDIR}
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
		netbsd.gz ${RELEASEDIR}${KERNBINDIR}/install.gz
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} \
		netbsd.ecoff.gz ${RELEASEDIR}${KERNBINDIR}/install.ecoff.gz
d45 1
@


1.23
log
@fix IMAGEDEPEND
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2002/03/12 06:26:34 lukem Exp $
d16 1
a20 1
# MAKEFS_FLAGS=	-o density=32k			# XXXDISTRIB
d36 1
a36 2
	${DESTDIR}/usr/mdec/installboot ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
						# XXXDISTRIB
@


1.22
log
@convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2002/02/09 13:56:52 lukem Exp $
d19 1
a19 1
IMAGEDEPENDS=	netbsd.gz ${DESTDIR}/usr/mdec/bootxx_ffs
@


1.21
log
@don't set the owner or group when installing into $RELEASEDIR
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2001/10/21 23:23:22 jmc Exp $
d3 2
a4 1
.include "../../../Makefile.inc"
a5 1
.include <bsd.own.mk>
d10 4
d15 1
a15 5
IMAGESIZE=	4096 # 512 byte blocks, update disktab.diskimage if changed
DISKTAB=	${.CURDIR}/disktab.diskimage
DISKTYPE=	"install diskimag"
LABELPROTO=	${.CURDIR}/diskimage.label.proto
NEWFSOPTS?=	-c 32 -B le -i 32768	# don't need many inodes!
d17 4
a20 3
KERN=		${KERNOBJDIR}/RAMDISK/netbsd
RAMDISK!=	cd ${.CURDIR}/../ramdisk; ${MAKE} echoimage
CLEANFILES=	netbsd netbsd.gz netbsd.ecoff netbsd.ecoff.gz ${IMAGE}.gz
d22 2
a23 5
VND?=		vnd0
VND_DEV=	/dev/${VND}c
VND_RDEV=	/dev/r${VND}c
MOUNT_POINT?=	/mnt
MDSETIMAGE?=	mdsetimage
a24 1
all:	netbsd.gz ${IMAGE}.gz
d29 1
a29 1
	elf2ecoff netbsd netbsd.ecoff
d35 3
a37 15
${IMAGE}.gz: netbsd.gz ${DESTDIR}/usr/mdec/boot.pmax
	dd if=/dev/zero of=${IMAGE} count=${IMAGESIZE}
	vnconfig ${DISKTYPEARG} -v -c ${VND} ${IMAGE} ${VND_GEOM}
	disklabel -R -r ${VND}  ${LABELPROTO}
	newfs -B le -m 0 -o space ${NEWFSOPTS} ${VND_RDEV}
	${DESTDIR}/usr/mdec/installboot ${VND_RDEV} \
	    ${DESTDIR}/usr/mdec/bootxx_ffs
	mount ${VND_DEV} ${MOUNT_POINT}
	cp -p ${DESTDIR}/usr/mdec/boot.pmax ${MOUNT_POINT}
	cp -p netbsd.gz ${MOUNT_POINT}/netbsd
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	umount ${MOUNT_POINT}
	vnconfig -u ${VND}
a40 4
unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND}
	-/bin/rm -f ${IMAGE} ${IMAGE}.gz
d42 3
a44 1
realinstall:
a51 2
clean cleandir distclean:
	rm -f ${CLEANFILES}
d53 1
a53 3
# XXX!
depend:
dependall: depend all
d55 1
a55 2
.include <bsd.obj.mk>
.include "../Makefile.inc"
@


1.20
log
@Convert to using ${MDSETIMAGE}.

Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2001/03/24 15:31:23 simonb Exp $
d62 6
a67 7
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${NONBINMODE} ${IMAGE}.gz ${RELEASEDIR}${DISKBINDIR}
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${BINMODE} netbsd.gz ${RELEASEDIR}${KERNBINDIR}/install.gz
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${BINMODE} netbsd.ecoff.gz \
		${RELEASEDIR}${KERNBINDIR}/install.ecoff.gz
@


1.19
log
@Add dummy dependall target, only install bootblocks once.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2000/11/10 19:06:17 mhitch Exp $
d25 1
d31 1
a31 1
	mdsetimage -v netbsd ${RAMDISK}
@


1.18
log
@Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel.  Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2000/06/01 06:54:57 matt Exp $
a25 6
#
# install bootblock, so that we can boot from there
#
BOOTINSTALL= ${DESTDIR}/usr/mdec/installboot ${VND_RDEV} \
	${DESTDIR}/usr/mdec/bootxx_ffs

a43 1
	${BOOTINSTALL}
d74 1
@


1.17
log
@need bsd.own.mk for KERNOBJDIR
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2000/05/02 16:06:53 sjg Exp $
d13 2
a14 1
DISKTYPE=	miniroot
d46 1
a46 1
	disklabel -rw -f ${DISKTAB} ${VND} ${DISKTYPE}
@


1.17.2.1
log
@Pullup 1.18 [mhitch]:
Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel.  Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2000/11/10 19:06:17 mhitch Exp $
d13 1
a13 2
DISKTYPE=	"install diskimag"
LABELPROTO=	${.CURDIR}/diskimage.label.proto
d45 1
a45 1
	disklabel -R -r ${VND}  ${LABELPROTO}
@


1.16
log
@use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2000/01/06 03:47:55 simonb Exp $
d5 1
a80 1
.include <bsd.own.mk>
@


1.15
log
@Tidy up a little and make work.
Now uses like disktab files for disk labels.
@
text
@d1 4
a4 1
#	$NetBSD: Makefile,v 1.14 2000/01/04 01:20:23 simonb Exp $
d15 1
a15 1
KERN=		${.CURDIR}/../../../sys/arch/pmax/compile/RAMDISK/netbsd
@


1.14
log
@Split long line.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2000/01/03 21:59:12 simonb Exp $
d7 4
a10 6
IMAGESIZE=	4096 # 512 byte blocks
DISKTYPE=
LABELPROTO=    ${.CURDIR}/diskimage.label.proto
# Get defaults from minidisk configuration
.include	"../miniroot/Makefile.inc"
NEWFSOPTS+=	-i 32768	# don't need many inodes!
d16 3
a18 2
VND_DEV=	/dev/${VND}
VND_RDEV=	/dev/r${VND}
d21 6
d40 5
a44 3
	vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE} ${VND_GEOM}
	${PRELABEL}
	-newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV}
d53 1
a53 1
	vnconfig -u ${VND_DEV}
d56 5
@


1.13
log
@s/boot/boot.pmax/
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1999/12/28 10:56:54 simonb Exp $
d56 2
a57 1
		-m ${BINMODE} netbsd.ecoff.gz ${RELEASEDIR}${KERNBINDIR}/install.ecoff.gz
@


1.12
log
@Use the "echoimage" target.
Install the ecoff install kernel in the release directory.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1999/10/18 01:35:17 simonb Exp $
d33 1
a33 1
${IMAGE}.gz: netbsd.gz ${DESTDIR}/usr/mdec/boot
d40 1
a40 1
	cp -p ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}
@


1.11
log
@Remove diskimage.gz before trying to do gzip diskimage.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1999/05/06 20:50:13 simonb Exp $
d15 1
a15 3
RAMDISK!=	cd ${.CURDIR}/../ramdisk; \
		printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/ramdisk.fs\n" | \
		${MAKE} -s -f-
d55 2
@


1.10
log
@Add compressed image to CLEANFILES
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1999/05/04 02:44:22 simonb Exp $
d49 1
@


1.10.2.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1999/10/18 01:35:17 simonb Exp $
a48 1
	rm -f ${IMAGE}.gz
@


1.9
log
@Add dummy depend targets so that "make depend" doesn't bomb out.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1999/04/27 12:18:47 simonb Exp $
d18 1
a18 1
CLEANFILES=	netbsd netbsd.gz netbsd.ecoff netbsd.ecoff.gz ${IMAGE}
@


1.8
log
@Install install kernel as install.gz not netbsd.gz.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1999/04/27 12:14:00 simonb Exp $
d59 3
@


1.7
log
@Oops, install both the install kernel and diskimage.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1999/04/27 12:03:39 simonb Exp $
d55 1
a55 1
		-m ${BINMODE} netbsd.gz ${RELEASEDIR}${KERNBINDIR}
@


1.6
log
@Add BINDIR and an install rule to install into ${RELEASEDIR}${BINDIR}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1999/04/27 01:34:49 simonb Exp $
d3 2
a4 1
BINDIR=		/installation/diskimage
d53 3
a55 1
		-m ${NONBINMODE} ${IMAGE}.gz ${RELEASEDIR}${BINDIR}
@


1.5
log
@Gzip the diskimage.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/04/16 16:08:28 simonb Exp $
d3 1
d50 4
d59 1
@


1.4
log
@Fix incorrect pathname in previous.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1999/04/16 16:01:33 simonb Exp $
d22 1
a22 1
all:	netbsd.gz ${IMAGE}
d33 1
a33 1
${IMAGE}: netbsd.gz ${DESTDIR}/usr/mdec/boot
d47 1
@


1.3
log
@After building a ramdisk kernel, build a small (currently 2MB) diskimage
suitable for dd'ing onto the start of a disk.

Duplicates some of the work done by the miniroot Makefiles and will
cleaned up and made MI soon.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1998/12/05 07:33:13 jonathan Exp $
d7 1
a7 1
LABELPROTO=    ${.CURDIR}/ramdiskimage.label.proto
@


1.2
log
@Build an ELF kernel called netbsd instead of an a.out kernel called
netbsd.aout.
@
text
@d4 7
a10 6
KERN=	${.CURDIR}/../../../sys/arch/pmax/compile/RAMDISK/netbsd
RAMDISK!=cd ${.CURDIR}/../ramdisk; \
	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/ramdisk.fs\n" | \
	${MAKE} -s -f-
CLEANFILES= netbsd.tmp netbsd.ecoff netbsd.ecoff.gz \
	    netbsd.aout netbsd.aout.gz
d12 11
a22 1
all:	netbsd.gz
d32 15
@


1.1
log
@Make ramdisk and ne-tbootable ramdisk-based instkernel on pmax.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1997/11/29 21:18:58 perry Exp $
d11 1
a11 1
all:	netbsd.ram.gz
d13 4
a16 4
netbsd.ram.gz: ${KERN} ${RAMDISK}
	cp ${KERN} netbsd.tmp
	mdsetimage -v netbsd.tmp ${RAMDISK}
	elf2ecoff netbsd.tmp netbsd.ecoff
d18 3
a20 4
	gzip netbsd.ecoff
	elf2aout netbsd.tmp netbsd.aout
	rm -f netbsd.aout.gz
	gzip netbsd.aout
@


1.1.2.1
log
@Pull up rev 1.2 from trunk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1998/12/05 07:33:13 jonathan Exp $
d11 1
a11 1
all:	netbsd.gz
d13 4
a16 4
netbsd.gz: ${KERN} ${RAMDISK}
	cp ${KERN} netbsd
	mdsetimage -v netbsd ${RAMDISK}
	elf2ecoff netbsd netbsd.ecoff
d18 4
a21 3
	gzip -9 netbsd.ecoff
	rm -f netbsd.gz
	gzip -9 netbsd
@


1.1.2.2
log
@Pull up revs 1.3 and 1.4 from the trunk:
	After building a ramdisk kernel, build a small (currently 2MB)
	diskimage suitable for dd'ing onto the start of a disk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/04/16 16:08:28 simonb Exp $
d4 6
a9 7
IMAGE=		diskimage
IMAGESIZE=	4096 # 512 byte blocks
DISKTYPE=
LABELPROTO=    ${.CURDIR}/diskimage.label.proto
# Get defaults from minidisk configuration
.include	"../miniroot/Makefile.inc"
NEWFSOPTS+=	-i 32768	# don't need many inodes!
d11 1
a11 11
KERN=		${.CURDIR}/../../../sys/arch/pmax/compile/RAMDISK/netbsd
RAMDISK!=	cd ${.CURDIR}/../ramdisk; \
		printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/ramdisk.fs\n" | \
		${MAKE} -s -f-
CLEANFILES=	netbsd netbsd.gz netbsd.ecoff netbsd.ecoff.gz ${IMAGE}

VND_DEV=	/dev/${VND}
VND_RDEV=	/dev/r${VND}
MOUNT_POINT?=	/mnt

all:	netbsd.gz ${IMAGE}
a20 15

${IMAGE}: netbsd.gz ${DESTDIR}/usr/mdec/boot
	dd if=/dev/zero of=${IMAGE} count=${IMAGESIZE}
	vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE} ${VND_GEOM}
	${PRELABEL}
	-newfs -m 0 -o space ${NEWFSOPTS} ${VND_RDEV}
	${BOOTINSTALL}
	mount ${VND_DEV} ${MOUNT_POINT}
	cp -p ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}
	cp -p netbsd.gz ${MOUNT_POINT}/netbsd
	@@echo ""
	@@df -i ${MOUNT_POINT}
	@@echo ""
	umount ${MOUNT_POINT}
	vnconfig -u ${VND_DEV}
@


1.1.2.3
log
@Pull up revisions 1.5-1.11 (requested by simonb):
  Bring pmax release building machinery up-to-date.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 1999/04/17 11:12:30 simonb Exp $
a2 2
DISKBINDIR=	/installation/diskimage
KERNBINDIR=	/binary/kernel
d16 1
a16 1
CLEANFILES=	netbsd netbsd.gz netbsd.ecoff netbsd.ecoff.gz ${IMAGE}.gz
d22 1
a22 1
all:	netbsd.gz ${IMAGE}.gz
d33 1
a33 1
${IMAGE}.gz: netbsd.gz ${DESTDIR}/usr/mdec/boot
a46 8
	rm -f ${IMAGE}.gz
	gzip -9 ${IMAGE}

realinstall:
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${NONBINMODE} ${IMAGE}.gz ${RELEASEDIR}${DISKBINDIR}
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${BINMODE} netbsd.gz ${RELEASEDIR}${KERNBINDIR}/install.gz
a50 3
# XXX!
depend:

a52 1
.include "../Makefile.inc"
@


1.1.2.4
log
@Pull up parts of revision 1.12 (via patch, requested by simonb):
  Install the ecoff install kernel in the release directory.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.3 1999/10/20 23:05:59 he Exp $
a56 2
	${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
		-m ${BINMODE} netbsd.ecoff.gz ${RELEASEDIR}${KERNBINDIR}/install.ecoff.gz
@


