head	1.43;
access;
symbols
	netbsd-11-0-RC6:1.43
	netbsd-11-0-RC5:1.43
	netbsd-11-0-RC4:1.43
	netbsd-11-0-RC3:1.43
	netbsd-11-0-RC2:1.43
	netbsd-11-0-RC1:1.43
	perseant-exfatfs-base-20250801:1.43
	netbsd-11:1.43.0.48
	netbsd-11-base:1.43
	netbsd-10-1-RELEASE:1.43
	perseant-exfatfs-base-20240630:1.43
	perseant-exfatfs:1.43.0.46
	perseant-exfatfs-base:1.43
	netbsd-8-3-RELEASE:1.43
	netbsd-9-4-RELEASE:1.43
	netbsd-10-0-RELEASE:1.43
	netbsd-10-0-RC6:1.43
	netbsd-10-0-RC5:1.43
	netbsd-10-0-RC4:1.43
	netbsd-10-0-RC3:1.43
	netbsd-10-0-RC2:1.43
	netbsd-10-0-RC1:1.43
	netbsd-10:1.43.0.44
	netbsd-10-base:1.43
	netbsd-9-3-RELEASE:1.43
	cjep_sun2x-base1:1.43
	cjep_sun2x:1.43.0.42
	cjep_sun2x-base:1.43
	cjep_staticlib_x-base1:1.43
	netbsd-9-2-RELEASE:1.43
	cjep_staticlib_x:1.43.0.40
	cjep_staticlib_x-base:1.43
	netbsd-9-1-RELEASE:1.43
	phil-wifi-20200421:1.43
	phil-wifi-20200411:1.43
	is-mlppp:1.43.0.38
	is-mlppp-base:1.43
	phil-wifi-20200406:1.43
	netbsd-8-2-RELEASE:1.43
	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.36
	netbsd-9-base:1.43
	phil-wifi-20190609:1.43
	netbsd-8-1-RELEASE:1.43
	netbsd-8-1-RC1:1.43
	pgoyette-compat-merge-20190127:1.43
	pgoyette-compat-20190127:1.43
	pgoyette-compat-20190118:1.43
	pgoyette-compat-1226:1.43
	pgoyette-compat-1126:1.43
	pgoyette-compat-1020:1.43
	pgoyette-compat-0930:1.43
	pgoyette-compat-0906:1.43
	netbsd-7-2-RELEASE:1.43
	pgoyette-compat-0728:1.43
	netbsd-8-0-RELEASE:1.43
	phil-wifi:1.43.0.34
	phil-wifi-base:1.43
	pgoyette-compat-0625:1.43
	netbsd-8-0-RC2:1.43
	pgoyette-compat-0521:1.43
	pgoyette-compat-0502:1.43
	pgoyette-compat-0422:1.43
	netbsd-8-0-RC1:1.43
	pgoyette-compat-0415:1.43
	pgoyette-compat-0407:1.43
	pgoyette-compat-0330:1.43
	pgoyette-compat-0322:1.43
	pgoyette-compat-0315:1.43
	netbsd-7-1-2-RELEASE:1.43
	pgoyette-compat:1.43.0.32
	pgoyette-compat-base:1.43
	netbsd-7-1-1-RELEASE:1.43
	matt-nb8-mediatek:1.43.0.30
	matt-nb8-mediatek-base:1.43
	perseant-stdc-iso10646:1.43.0.28
	perseant-stdc-iso10646-base:1.43
	netbsd-8:1.43.0.26
	netbsd-8-base:1.43
	prg-localcount2-base3:1.43
	prg-localcount2-base2:1.43
	prg-localcount2-base1:1.43
	prg-localcount2:1.43.0.24
	prg-localcount2-base:1.43
	pgoyette-localcount-20170426:1.43
	bouyer-socketcan-base1:1.43
	pgoyette-localcount-20170320:1.43
	netbsd-7-1:1.43.0.22
	netbsd-7-1-RELEASE:1.43
	netbsd-7-1-RC2:1.43
	netbsd-7-nhusb-base-20170116:1.43
	bouyer-socketcan:1.43.0.20
	bouyer-socketcan-base:1.43
	pgoyette-localcount-20170107:1.43
	netbsd-7-1-RC1:1.43
	pgoyette-localcount-20161104:1.43
	netbsd-7-0-2-RELEASE:1.43
	localcount-20160914:1.43
	netbsd-7-nhusb:1.43.0.18
	netbsd-7-nhusb-base:1.43
	pgoyette-localcount-20160806:1.43
	pgoyette-localcount-20160726:1.43
	pgoyette-localcount:1.43.0.16
	pgoyette-localcount-base:1.43
	netbsd-7-0-1-RELEASE:1.43
	netbsd-7-0:1.43.0.14
	netbsd-7-0-RELEASE:1.43
	netbsd-7-0-RC3:1.43
	netbsd-7-0-RC2:1.43
	netbsd-7-0-RC1:1.43
	netbsd-5-2-3-RELEASE:1.41
	netbsd-5-1-5-RELEASE:1.41
	netbsd-6-0-6-RELEASE:1.42.2.1
	netbsd-6-1-5-RELEASE:1.42.2.1
	netbsd-7:1.43.0.12
	netbsd-7-base:1.43
	yamt-pagecache-base9:1.43
	yamt-pagecache-tag8:1.41.22.1
	netbsd-6-1-4-RELEASE:1.42.2.1
	netbsd-6-0-5-RELEASE:1.42.2.1
	tls-earlyentropy:1.43.0.10
	tls-earlyentropy-base:1.43
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.43
	riastradh-drm2-base3:1.43
	netbsd-6-1-3-RELEASE:1.42.2.1
	netbsd-6-0-4-RELEASE:1.42.2.1
	netbsd-5-2-2-RELEASE:1.41
	netbsd-5-1-4-RELEASE:1.41
	netbsd-6-1-2-RELEASE:1.42.2.1
	netbsd-6-0-3-RELEASE:1.42.2.1
	netbsd-5-2-1-RELEASE:1.41
	netbsd-5-1-3-RELEASE:1.41
	netbsd-6-1-1-RELEASE:1.42.2.1
	riastradh-drm2-base2:1.43
	riastradh-drm2-base1:1.43
	riastradh-drm2:1.43.0.4
	riastradh-drm2-base:1.43
	netbsd-6-1:1.42.2.1.0.6
	netbsd-6-0-2-RELEASE:1.42.2.1
	netbsd-6-1-RELEASE:1.42.2.1
	khorben-n900:1.43.0.8
	netbsd-6-1-RC4:1.42.2.1
	netbsd-6-1-RC3:1.42.2.1
	agc-symver:1.43.0.6
	agc-symver-base:1.43
	netbsd-6-1-RC2:1.42.2.1
	netbsd-6-1-RC1:1.42.2.1
	yamt-pagecache-base8:1.43
	netbsd-5-2:1.41.0.24
	netbsd-6-0-1-RELEASE:1.42.2.1
	yamt-pagecache-base7:1.43
	netbsd-5-2-RELEASE:1.41
	netbsd-5-2-RC1:1.41
	matt-nb6-plus-nbase:1.42.2.1
	yamt-pagecache-base6:1.43
	netbsd-6-0:1.42.2.1.0.4
	netbsd-6-0-RELEASE:1.42.2.1
	netbsd-6-0-RC2:1.42.2.1
	tls-maxphys:1.43.0.2
	tls-maxphys-base:1.43
	matt-nb6-plus:1.42.2.1.0.2
	matt-nb6-plus-base:1.42.2.1
	netbsd-6-0-RC1:1.42.2.1
	yamt-pagecache-base5:1.43
	yamt-pagecache-base4:1.43
	netbsd-6:1.42.0.2
	netbsd-6-base:1.42
	netbsd-5-1-2-RELEASE:1.41
	netbsd-5-1-1-RELEASE:1.41
	yamt-pagecache-base3:1.41
	yamt-pagecache-base2:1.41
	yamt-pagecache:1.41.0.22
	yamt-pagecache-base:1.41
	cherry-xenmp:1.41.0.20
	cherry-xenmp-base:1.41
	bouyer-quota2-nbase:1.41
	bouyer-quota2:1.41.0.18
	bouyer-quota2-base:1.41
	matt-mips64-premerge-20101231:1.41
	matt-nb5-mips64-premerge-20101231:1.41
	matt-nb5-pq3:1.41.0.16
	matt-nb5-pq3-base:1.41
	netbsd-5-1:1.41.0.14
	netbsd-5-1-RELEASE:1.41
	netbsd-5-1-RC4:1.41
	matt-nb5-mips64-k15:1.41
	netbsd-5-1-RC3:1.41
	netbsd-5-1-RC2:1.41
	netbsd-5-1-RC1:1.41
	netbsd-5-0-2-RELEASE:1.41
	matt-nb5-mips64-premerge-20091211:1.41
	matt-premerge-20091211:1.41
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.41
	matt-nb4-mips64-k7-u2a-k9b:1.41
	matt-nb5-mips64-u1-k1-k5:1.41
	matt-nb5-mips64:1.41.0.12
	netbsd-5-0-1-RELEASE:1.41
	jym-xensuspend-nbase:1.41
	netbsd-5-0:1.41.0.10
	netbsd-5-0-RELEASE:1.41
	netbsd-5-0-RC4:1.41
	netbsd-5-0-RC3:1.41
	netbsd-5-0-RC2:1.41
	jym-xensuspend:1.41.0.8
	jym-xensuspend-base:1.41
	netbsd-5-0-RC1:1.41
	mjf-devfs2-base2:1.41
	netbsd-5:1.41.0.6
	netbsd-5-base:1.41
	matt-mips64-base2:1.41
	matt-mips64:1.40.0.14
	netbsd-4-0-1-RELEASE:1.39
	wrstuden-revivesa-base-3:1.41
	wrstuden-revivesa-base-2:1.41
	wrstuden-fixsa-newbase:1.39
	wrstuden-revivesa-base-1:1.41
	yamt-pf42-base4:1.41
	yamt-pf42-base3:1.41
	hpcarm-cleanup-nbase:1.41
	yamt-pf42-baseX:1.41
	yamt-pf42-base2:1.41
	wrstuden-revivesa:1.41.0.4
	wrstuden-revivesa-base:1.41
	yamt-pf42:1.41.0.2
	yamt-pf42-base:1.41
	mjf-devfs2:1.40.0.12
	mjf-devfs2-base:1.41
	keiichi-mipv6:1.40.0.10
	keiichi-mipv6-base:1.41
	mjf-devfs:1.40.0.8
	mjf-devfs-base:1.40
	matt-armv6-nbase:1.41
	matt-armv6-prevmlocking:1.40
	wrstuden-fixsa-base-1:1.39
	netbsd-4-0:1.39.0.20
	netbsd-4-0-RELEASE:1.39
	cube-autoconf:1.40.0.6
	cube-autoconf-base:1.40
	netbsd-4-0-RC5:1.39
	netbsd-4-0-RC4:1.39
	netbsd-4-0-RC3:1.39
	netbsd-4-0-RC2:1.39
	netbsd-4-0-RC1:1.39
	matt-armv6:1.40.0.4
	matt-armv6-base:1.40
	matt-mips64-base:1.40
	hpcarm-cleanup:1.40.0.2
	hpcarm-cleanup-base:1.40
	netbsd-3-1-1-RELEASE:1.39
	netbsd-3-0-3-RELEASE:1.39
	wrstuden-fixsa:1.39.0.18
	wrstuden-fixsa-base:1.39
	abandoned-netbsd-4-base:1.39
	abandoned-netbsd-4:1.39.0.12
	netbsd-3-1:1.39.0.14
	netbsd-3-1-RELEASE:1.39
	netbsd-3-0-2-RELEASE:1.39
	netbsd-3-1-RC4:1.39
	netbsd-3-1-RC3:1.39
	netbsd-3-1-RC2:1.39
	netbsd-3-1-RC1:1.39
	netbsd-4:1.39.0.16
	netbsd-4-base:1.39
	netbsd-3-0-1-RELEASE:1.39
	netbsd-3-0:1.39.0.10
	netbsd-3-0-RELEASE:1.39
	netbsd-3-0-RC6:1.39
	netbsd-3-0-RC5:1.39
	netbsd-3-0-RC4:1.39
	netbsd-3-0-RC3:1.39
	netbsd-3-0-RC2:1.39
	netbsd-3-0-RC1:1.39
	netbsd-2-0-3-RELEASE:1.39
	netbsd-2-1:1.39.0.8
	netbsd-2-1-RELEASE:1.39
	netbsd-2-1-RC6:1.39
	netbsd-2-1-RC5:1.39
	netbsd-2-1-RC4:1.39
	netbsd-2-1-RC3:1.39
	netbsd-2-1-RC2:1.39
	netbsd-2-1-RC1:1.39
	netbsd-2-0-2-RELEASE:1.39
	netbsd-3:1.39.0.6
	netbsd-3-base:1.39
	netbsd-2-0-1-RELEASE:1.39
	netbsd-2:1.39.0.4
	netbsd-2-base:1.39
	netbsd-2-0-RELEASE:1.39
	netbsd-2-0-RC5:1.39
	netbsd-2-0-RC4:1.39
	netbsd-2-0-RC3:1.39
	netbsd-2-0-RC2:1.39
	netbsd-2-0-RC1:1.39
	netbsd-2-0:1.39.0.2
	netbsd-2-0-base:1.39
	netbsd-1-6-PATCH002-RELEASE:1.26
	netbsd-1-6-PATCH002:1.26
	netbsd-1-6-PATCH002-RC4:1.26
	netbsd-1-6-PATCH002-RC3:1.26
	netbsd-1-6-PATCH002-RC2:1.26
	netbsd-1-6-PATCH002-RC1:1.26
	unifiedMKDEV-pre:1.36
	netbsd-1-6-PATCH001:1.26
	netbsd-1-6-PATCH001-RELEASE:1.26
	netbsd-1-6-PATCH001-RC3:1.26
	netbsd-1-6-PATCH001-RC2:1.26
	netbsd-1-6-PATCH001-RC1:1.26
	fvdl_fs64_base:1.30
	netbsd-1-6-RELEASE:1.26
	netbsd-1-6-RC3:1.26
	netbsd-1-6-RC2:1.26
	netbsd-1-6-RC1:1.26
	netbsd-1-6:1.26.0.2
	netbsd-1-6-base:1.26
	netbsd-1-5-PATCH003:1.15.4.3
	netbsd-1-5-PATCH002:1.15.4.3
	netbsd-1-5-PATCH001:1.15.4.3
	netbsd-1-5-RELEASE:1.15.4.3
	netbsd-1-5-BETA2:1.15.4.3
	netbsd-1-5-BETA:1.15.4.2
	netbsd-1-4-PATCH003:1.13.2.1
	netbsd-1-5-ALPHA2:1.15
	netbsd-1-5:1.15.0.4
	netbsd-1-5-base:1.15
	minoura-xpg4dl:1.15.0.2
	minoura-xpg4dl-base:1.15
	netbsd-1-4-PATCH002:1.13
	wrstuden-devbsize-19991221:1.15
	wrstuden-devbsize:1.13.0.4
	wrstuden-devbsize-base:1.15
	comdex-fall-1999:1.14.0.2
	comdex-fall-1999-base:1.14
	netbsd-1-4-PATCH001:1.13
	netbsd-1-4-RELEASE:1.13
	netbsd-1-4:1.13.0.2
	netbsd-1-4-base:1.13
	netbsd-1-3-PATCH003:1.9
	netbsd-1-3-PATCH003-CANDIDATE2:1.9
	netbsd-1-3-PATCH003-CANDIDATE1:1.9
	netbsd-1-3-PATCH003-CANDIDATE0:1.9
	netbsd-1-3-PATCH002:1.9
	netbsd-1-3-PATCH001:1.9
	netbsd-1-3-RELEASE:1.9
	netbsd-1-3-BETA:1.9
	netbsd-1-3:1.9.0.2
	netbsd-1-3-base:1.9
	netbsd-1-2-PATCH001:1.7
	netbsd-1-2-RELEASE:1.7
	netbsd-1-2-BETA:1.7
	netbsd-1-2-base:1.7
	netbsd-1-2:1.7.0.6
	netbsd-1-1-PATCH001:1.7
	netbsd-1-1-RELEASE:1.7
	netbsd-1-1:1.7.0.2
	netbsd-1-1-base:1.7
	netbsd-1-0-PATCH06:1.4.2.2
	netbsd-1-0-PATCH05:1.4.2.2
	netbsd-1-0-PATCH04:1.4.2.2
	netbsd-1-0-PATCH03:1.4.2.2
	netbsd-1-0-PATCH02:1.4.2.2
	netbsd-1-0-PATCH1:1.4.2.2
	netbsd-1-0-PATCH0:1.4.2.2
	netbsd-1-0-RELEASE:1.4.2.2
	netbsd-1-0:1.4.0.2
	netbsd-1-0-base:1.4;
locks; strict;
comment	@# @;


1.43
date	2012.03.14.13.26.43;	author martin;	state Exp;
branches;
next	1.42;

1.42
date	2012.01.15.17.36.55;	author joerg;	state Exp;
branches
	1.42.2.1;
next	1.41;

1.41
date	2008.03.18.04.20.37;	author lukem;	state Exp;
branches
	1.41.22.1;
next	1.40;

1.40
date	2007.07.24.10.49.28;	author pavel;	state Exp;
branches
	1.40.4.1
	1.40.10.1
	1.40.12.1
	1.40.14.1;
next	1.39;

1.39
date	2003.12.15.19.36.16;	author martin;	state Exp;
branches;
next	1.38;

1.38
date	2003.12.15.17.35.33;	author martin;	state Exp;
branches;
next	1.37;

1.37
date	2003.12.14.12.17.44;	author martin;	state Exp;
branches;
next	1.36;

1.36
date	2003.07.10.10.34.18;	author lukem;	state Exp;
branches;
next	1.35;

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

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

1.33
date	2003.01.13.07.11.42;	author matt;	state Exp;
branches;
next	1.32;

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

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

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

1.29
date	2002.12.02.13.18.13;	author lukem;	state Exp;
branches;
next	1.28;

1.28
date	2002.10.10.17.09.32;	author jdolecek;	state Exp;
branches;
next	1.27;

1.27
date	2002.10.10.16.58.07;	author jdolecek;	state Exp;
branches;
next	1.26;

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

1.25
date	2002.03.31.16.07.56;	author bjh21;	state Exp;
branches;
next	1.24;

1.24
date	2002.03.05.19.53.19;	author thorpej;	state Exp;
branches;
next	1.23;

1.23
date	2001.11.29.22.46.00;	author thorpej;	state Exp;
branches;
next	1.22;

1.22
date	2001.03.04.10.14.55;	author mrg;	state Exp;
branches;
next	1.21;

1.21
date	2000.10.31.21.18.36;	author pk;	state Exp;
branches;
next	1.20;

1.20
date	2000.10.22.14.22.08;	author pk;	state Exp;
branches;
next	1.19;

1.19
date	2000.10.20.14.13.12;	author pk;	state Exp;
branches;
next	1.18;

1.18
date	2000.10.20.14.12.01;	author pk;	state Exp;
branches;
next	1.17;

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

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

1.15
date	99.11.14.16.23.36;	author pk;	state Exp;
branches
	1.15.4.1;
next	1.14;

1.14
date	99.10.18.20.39.01;	author pk;	state Exp;
branches;
next	1.13;

1.13
date	99.02.05.03.01.53;	author cjs;	state Exp;
branches
	1.13.2.1
	1.13.4.1;
next	1.12;

1.12
date	98.10.09.10.41.34;	author itohy;	state Exp;
branches;
next	1.11;

1.11
date	98.06.28.09.38.43;	author fair;	state Exp;
branches;
next	1.10;

1.10
date	98.06.24.08.15.47;	author fair;	state Exp;
branches;
next	1.9;

1.9
date	97.09.20.03.09.18;	author mikel;	state Exp;
branches;
next	1.8;

1.8
date	97.08.31.23.22.02;	author pk;	state Exp;
branches;
next	1.7;

1.7
date	95.05.12.08.51.55;	author pk;	state Exp;
branches;
next	1.6;

1.6
date	94.08.12.01.19.31;	author deraadt;	state Exp;
branches;
next	1.5;

1.5
date	94.07.27.05.26.15;	author deraadt;	state Exp;
branches;
next	1.4;

1.4
date	94.04.27.05.14.46;	author deraadt;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	94.04.20.12.44.53;	author deraadt;	state Exp;
branches;
next	1.2;

1.2
date	94.04.18.10.48.48;	author deraadt;	state Exp;
branches;
next	1.1;

1.1
date	94.04.12.07.48.20;	author deraadt;	state Exp;
branches;
next	;

1.42.2.1
date	2012.03.24.16.55.31;	author bouyer;	state Exp;
branches;
next	;

1.41.22.1
date	2012.04.17.00.02.58;	author yamt;	state Exp;
branches;
next	;

1.40.4.1
date	2008.03.23.00.23.49;	author matt;	state Exp;
branches;
next	;

1.40.10.1
date	2008.03.24.07.14.42;	author keiichi;	state Exp;
branches;
next	;

1.40.12.1
date	2008.04.03.13.54.12;	author mjf;	state Exp;
branches;
next	;

1.40.14.1
date	2007.07.24.10.49.28;	author pavel;	state dead;
branches;
next	1.40.14.2;

1.40.14.2
date	2007.07.24.10.49.29;	author pavel;	state Exp;
branches;
next	;

1.15.4.1
date	2000.10.20.17.22.09;	author tv;	state Exp;
branches;
next	1.15.4.2;

1.15.4.2
date	2000.10.22.19.03.07;	author tv;	state Exp;
branches;
next	1.15.4.3;

1.15.4.3
date	2000.11.01.03.18.05;	author tv;	state Exp;
branches;
next	;

1.13.2.1
date	2000.07.13.16.51.32;	author he;	state Exp;
branches;
next	;

1.13.4.1
date	99.12.27.18.28.56;	author wrstuden;	state Exp;
branches;
next	;

1.4.2.1
date	94.07.28.09.00.34;	author cgd;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	94.08.12.06.34.39;	author mycroft;	state Exp;
branches;
next	;


desc
@@


1.43
log
@Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
@
text
@#	$NetBSD: Makefile.inc,v 1.42 2012/01/15 17:36:55 joerg Exp $
#
#	etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
#

# If you change the list of distributed kernels, don't forget
# to update the release documentation in distrib/notes/common/contents

KERNEL_SETS=		GENERIC GENERIC_SCSI3 GENERIC_SUN4U GENERIC.MP	\
			MRCOFFEE_OFW MRCOFFEE KRUPS

BUILD_KERNELS=		INSTALL

MD_INSTALLATION_DIRS=	installation/miniroot	\
			installation/netboot	\
			installation/bootfs	\
			installation/tape

# XXX floppy overflows, see below (add to above list to re-enable)
#			installation/floppy

INSTALLATION_DIRS+=	${MD_INSTALLATION_DIRS}


INSTALLATION_SYMLINKS=	\
		tape/tapefile1.gz	../bootfs/netbsd.ram.aout.gz	\
		tape/tapefile2		../bootfs/instfs.tgz		\
		netboot/rootfs.tgz	../bootfs/instfs.tgz

# XXX - floppy overflows on boot.fs.gz - so disabled for now,
# add the following to above list to re-enable
#		floppy/disk1.gz		../bootfs/boot.fs.gz
#		floppy/disk2		../bootfs/instfs.tgz

#
# Install miniroot images and auxiliary scripts to the release tree
#
snap_md_post:
	# install boot images in netboot directory
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/boot.net \
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/bootjs.net \
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot

	# install links to boot and installation utilities for various media
.for linkdst linksrc in ${INSTALLATION_SYMLINKS} 
	rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
	ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
.endfor

	# compute checksums
.for dir in ${MD_INSTALLATION_DIRS}
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
.endfor

CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR}
CDBOOTIMAGE=	${CDBOOTIMAGEDIR}/boot.fs

iso-image-md-post:
	SUNLABEL=${TOOL_SUNLABEL:Q} \
	    ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
	    ${CDROM_IMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
@


1.42
log
@Now that the name of the ISO image is no longer stable, rename the
variable to make it possible to overwrite the default with
build.sh -V CDROM_IMAGE=...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.41 2008/03/18 04:20:37 lukem Exp $
d17 5
a21 2
			installation/tape	\
			installation/floppy
a27 2
		floppy/disk1.gz		../bootfs/boot.fs.gz		\
		floppy/disk2		../bootfs/instfs.tgz		\
d30 5
@


1.42.2.1
log
@Pull up following revision(s) (requested by martin in ticket #139):
	distrib/sparc/bootfs/Makefile: revision 1.40
	etc/etc.sparc/Makefile.inc: revision 1.43
Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
@
text
@d1 1
a1 1
#	$NetBSD$
d17 2
a18 5
			installation/tape

# XXX floppy overflows, see below (add to above list to re-enable)
#			installation/floppy

d25 2
a28 5
# XXX - floppy overflows on boot.fs.gz - so disabled for now,
# add the following to above list to re-enable
#		floppy/disk1.gz		../bootfs/boot.fs.gz
#		floppy/disk2		../bootfs/instfs.tgz

@


1.41
log
@Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.40 2007/07/24 10:49:28 pavel Exp $
d56 1
a56 1
	    ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
@


1.41.22.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.41 2008/03/18 04:20:37 lukem Exp $
d17 2
a18 5
			installation/tape

# XXX floppy overflows, see below (add to above list to re-enable)
#			installation/floppy

d25 2
a28 5
# XXX - floppy overflows on boot.fs.gz - so disabled for now,
# add the following to above list to re-enable
#		floppy/disk1.gz		../bootfs/boot.fs.gz
#		floppy/disk2		../bootfs/instfs.tgz

d56 1
a56 1
	    ${CDROM_IMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
@


1.40
log
@Add a comment reminding to update the release notes if the list of
kernels change.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.39 2003/12/15 19:36:16 martin Exp $
d35 1
a35 1
	    ${RELEASEDIR}/${MACHINE}/installation/netboot
d37 1
a37 1
	    ${RELEASEDIR}/${MACHINE}/installation/netboot
d41 2
a42 2
	rm -f ${RELEASEDIR}/${MACHINE}/installation/${linkdst}
	ln -s ${linksrc} ${RELEASEDIR}/${MACHINE}/installation/${linkdst}
d47 1
a47 1
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/${dir} '*'
@


1.40.14.1
log
@file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:29 +0000
@
text
@d1 56
@


1.40.14.2
log
@Add a comment reminding to update the release notes if the list of
kernels change.
@
text
@a0 56
#	$NetBSD: Makefile.inc,v 1.40 2007/07/24 10:49:28 pavel Exp $
#
#	etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
#

# If you change the list of distributed kernels, don't forget
# to update the release documentation in distrib/notes/common/contents

KERNEL_SETS=		GENERIC GENERIC_SCSI3 GENERIC_SUN4U GENERIC.MP	\
			MRCOFFEE_OFW MRCOFFEE KRUPS

BUILD_KERNELS=		INSTALL

MD_INSTALLATION_DIRS=	installation/miniroot	\
			installation/netboot	\
			installation/bootfs	\
			installation/tape	\
			installation/floppy
INSTALLATION_DIRS+=	${MD_INSTALLATION_DIRS}


INSTALLATION_SYMLINKS=	\
		tape/tapefile1.gz	../bootfs/netbsd.ram.aout.gz	\
		tape/tapefile2		../bootfs/instfs.tgz		\
		floppy/disk1.gz		../bootfs/boot.fs.gz		\
		floppy/disk2		../bootfs/instfs.tgz		\
		netboot/rootfs.tgz	../bootfs/instfs.tgz

#
# Install miniroot images and auxiliary scripts to the release tree
#
snap_md_post:
	# install boot images in netboot directory
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/boot.net \
	    ${RELEASEDIR}/${MACHINE}/installation/netboot
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/bootjs.net \
	    ${RELEASEDIR}/${MACHINE}/installation/netboot

	# install links to boot and installation utilities for various media
.for linkdst linksrc in ${INSTALLATION_SYMLINKS} 
	rm -f ${RELEASEDIR}/${MACHINE}/installation/${linkdst}
	ln -s ${linksrc} ${RELEASEDIR}/${MACHINE}/installation/${linkdst}
.endfor

	# compute checksums
.for dir in ${MD_INSTALLATION_DIRS}
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/${dir} '*'
.endfor

CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc/bootfs && ${PRINTOBJDIR}
CDBOOTIMAGE=	${CDBOOTIMAGEDIR}/boot.fs

iso-image-md-post:
	SUNLABEL=${TOOL_SUNLABEL:Q} \
	    ${HOST_SH} ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
	    ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
@


1.40.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d35 1
a35 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
d37 1
a37 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
d41 2
a42 2
	rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
	ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
d47 1
a47 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
@


1.40.10.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.41 2008/03/18 04:20:37 lukem Exp $
d35 1
a35 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
d37 1
a37 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
d41 2
a42 2
	rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
	ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
d47 1
a47 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
@


1.40.4.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	Makefile.inc,v 1.40 2007/07/24 10:49:28 pavel Exp
d35 1
a35 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
d37 1
a37 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/netboot
d41 2
a42 2
	rm -f ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
	ln -s ${linksrc} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/${linkdst}
d47 1
a47 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} '*'
@


1.39
log
@Add JavaStation kernels to KERNEL_SETS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.38 2003/12/15 17:35:33 martin Exp $
d6 3
@


1.38
log
@bootjs.elf -> bootjs.net
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.37 2003/12/14 12:17:44 martin Exp $
d6 2
a7 1
KERNEL_SETS=		GENERIC GENERIC_SCSI3 GENERIC_SUN4U GENERIC.MP
@


1.37
log
@Place bootjs.elf in .../installation/netboot too (boot.net can't be used
for JavaStations)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.36 2003/07/10 10:34:18 lukem Exp $
d32 1
a32 1
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${DESTDIR}/usr/mdec/bootjs.elf \
@


1.36
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.35 2003/03/08 00:22:30 lukem Exp $
d29 1
a29 1
	# install boot image in netboot directory
d31 2
@


1.35
log
@- rename 'iso-image_*' -> 'iso-image-*'
- run MAKESUMS in iso-image, *after* the MD iso-image-md-post has run,
  since the latter might actually modify the generated image...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.34 2003/03/07 09:46:51 lukem Exp $
d48 3
a50 2
	SUNLABEL=${SUNLABEL:Q} sh ${NETBSDSRCDIR}/distrib/common/sunbootcd.sh \
		${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
@


1.34
log
@use distrib/common/sunbootcd.sh instead of building the
non-cross-friendly distrib/utils/mksunbootcd/mksunbootcd
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.33 2003/01/13 07:11:42 matt Exp $
d47 1
a47 1
iso-image_md_post:
@


1.33
log
@Build and supply a GENERIC.MP now that SMP works.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.32 2003/01/04 15:49:31 lukem Exp $
d48 2
a49 1
	mksunbootcd ${CDROM.image} ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
@


1.32
log
@- Enable OBJ support for etc/; a scratch dir is needed for iso-image.
- Add ${.CURDIR} to various rules.
- Remove the ${KERNOBJDIR} (sys/arch/${MACHINE}/compile) objdir creation
  from here.
- Rework iso-image to copy temporary files (such as kernels or boot files)
  into a temporary directory instead of stomping over ${RELEASEDIR}, and
  use mkisofs -graft-points to merge the temporary directory and
  ${RELEASEDIR}/${MACHINE}.
	NOTE: mkisofs 2.0 is highly recommended for functioning -graft-points
- Add some more comments
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.31 2003/01/03 15:34:40 lukem Exp $
d6 1
a6 1
KERNEL_SETS=		GENERIC GENERIC_SCSI3 GENERIC_SUN4U
@


1.31
log
@Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.30 2002/12/02 13:31:22 lukem Exp $
d48 1
a48 3
	mksunbootcd \
	    ${RELEASEDIR}/${MACHINE}/installation/cdrom/netbsd-${MACHINE}.iso \
	    ${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
@


1.30
log
@consistency tweaks
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.29 2002/12/02 13:18:13 lukem Exp $
d17 8
d30 2
a31 1
	cp -p ${DESTDIR}/usr/mdec/boot.net ${RELEASEDIR}/installation/netboot
d34 4
a37 15
	rm -f ${RELEASEDIR}/installation/tape/tapefile1.gz
	rm -f ${RELEASEDIR}/installation/tape/tapefile2
	rm -f ${RELEASEDIR}/installation/floppy/disk1.gz
	rm -f ${RELEASEDIR}/installation/floppy/disk2
	rm -f ${RELEASEDIR}/installation/netboot/rootfs.tgz
	ln -s ../bootfs/netbsd.ram.aout.gz \
			${RELEASEDIR}/installation/tape/tapefile1.gz
	ln -s ../bootfs/instfs.tgz \
			${RELEASEDIR}/installation/tape/tapefile2
	ln -s ../bootfs/boot.fs.gz \
			${RELEASEDIR}/installation/floppy/disk1.gz
	ln -s ../bootfs/instfs.tgz \
			${RELEASEDIR}/installation/floppy/disk2
	ln -s ../bootfs/instfs.tgz \
			${RELEASEDIR}/installation/netboot/rootfs.tgz
d41 1
a41 1
	${MAKESUMS} -t ${RELEASEDIR}/${dir} '*'
d48 3
a50 2
	mksunbootcd ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \
		${CDBOOTIMAGE} ${CDBOOTIMAGE} ${CDBOOTIMAGE}
@


1.29
log
@- add snap_post, which makes "clean depend all release" in ../distrib/
  for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.28 2002/10/10 17:09:32 jdolecek Exp $
a5 2
TOP= $(.CURDIR)/..

d22 1
a22 1
	cp -p $(DESTDIR)/usr/mdec/boot.net $(RELEASEDIR)/installation/netboot
d46 1
a46 1
CDBOOTIMAGEDIR!= cd ${TOP}/distrib/sparc/bootfs && ${PRINTOBJDIR}
d51 1
a51 1
		$(CDBOOTIMAGE) $(CDBOOTIMAGE) $(CDBOOTIMAGE)
@


1.28
log
@back previous off; as pointed out by Jason, MP doesn't work on sparc yet
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.27 2002/10/10 16:58:07 jdolecek Exp $
a18 5
snap_pre_md:
.ifndef UPDATE
	cd $(TOP)/distrib && ${MAKE} clean 
.endif

a22 8
	# make boot/miniroot images
	(cd $(TOP)/distrib; ${MAKE})

	# transfer images to release hierarchy
.for dir in notes miniroot sparc/bootfs sparc/instfs
	(cd $(TOP)/distrib/$(dir); ${MAKE} release)
.endfor

@


1.27
log
@add GENERIC.MP to KERNEL_SETS on architectures with MP support
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.26 2002/05/02 15:09:48 lukem Exp $
d8 1
a8 1
KERNEL_SETS=		GENERIC GENERIC_SCSI3 GENERIC_SUN4U GENERIC.MP
@


1.26
log
@- consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
  for a given platform
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.25 2002/03/31 16:07:56 bjh21 Exp $
d8 1
a8 1
KERNEL_SETS=		GENERIC GENERIC_SCSI3 GENERIC_SUN4U
@


1.25
log
@Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.24 2002/03/05 19:53:19 thorpej Exp $
d12 6
a17 5
# Add sparc installation directories
MD_INSTALLATION_DIRS= \
	installation/miniroot installation/netboot installation/bootfs \
	installation/tape installation/floppy
INSTALLATION_DIRS+=$(MD_INSTALLATION_DIRS) 
@


1.24
log
@Use ${PRINTOBJDIR}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.23 2001/11/29 22:46:00 thorpej Exp $
d57 1
a57 1
	sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*'
@


1.23
log
@Change the way kernel sets are specified, and make them
more consistent.  To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port.  A port may
# specify the following kernels:
#
#       KERNEL_SETS             The list of kernels that will be
#                               packaged into sets, named
#                               kern-${kernel}.tgz.  These kernels
#                               are also placed in the binary/kernels
#                               area of the release package as
#                               netbsd-${kernel}.gz.
#
#       EXTRA_KERNELS           Additional kernels to place in the
#                               binary/kernels area of the release
#                               package as netbsd-${kernel}.gz, but
#                               which are not placed into sets. This
#                               allows a port to provide e.g. a netbootable
#                               installation kernel containing a ramdisk.
#
#       BUILD_KERNELS           Additional kernels to build which are
#                               not placed into sets nor into the
#                               binary/kernels area of the release
#                               package.  These are typically kernels
#                               that are built for inclusion only in
#                               installation disk/CD-ROM/tape images.
#
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.22 2001/03/04 10:14:55 mrg Exp $
d60 2
a61 3
CDBOOTIMAGE!=	cd ${TOP}/distrib/sparc/bootfs; \
		printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/boot.fs\n" | \
		${MAKE} -s -f-
@


1.22
log
@build GENERIC_SUN4U kernel.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.21 2000/10/31 21:18:36 pk Exp $
d8 3
a10 4
# Set this for any kernels beyond GENERIC you want to include
# in the distribution.
EXTRA_KERNELS+= GENERIC_SCSI3 GENERIC_SUN4U
BUILD_KERNELS+= INSTALL
@


1.21
log
@* Add `installation/floppy' and `installation/tape' directories to the
  release(7) hierarchy and populate them with links to images in `bootfs'

* Remove miniroot scripts from `installation/netboot'; these are contained
  in the instfs.tgz which can be used to setup an NFS root directory (for
  installation purposes).

* Make the bootable cd-rom image using the `bootfs' filesystem, since a bug
  in the cd driver prevents us from running directly from a CD filesystem.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.20 2000/10/22 14:22:08 pk Exp $
d10 1
a10 1
EXTRA_KERNELS+= GENERIC_SCSI3
@


1.20
log
@Do `make release' in distrib/sparc/instfs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.19 2000/10/20 14:13:12 pk Exp $
d15 2
a16 1
	installation/miniroot installation/netboot installation/bootfs
d32 1
a32 1
.for dir in notes miniroot sparc/ramdisk sparc/bootfs sparc/instfs
d36 1
a36 1
	# install boot image and installation scripts in netboot directory
d38 17
a54 3
.for f in install.sh upgrade.sh install.sub ../sparc/install.md
	cp -p $(TOP)/distrib/miniroot/$f $(RELEASEDIR)/installation/netboot
.endfor
d61 2
a62 2
CDBOOTIMAGE!=	cd ${TOP}/distrib/miniroot; \
		printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/miniroot.fs\n" | \
@


1.19
log
@Add target to make a bootable CD-R image.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.17 2000/09/28 12:46:43 abs Exp $
d31 1
a31 1
.for dir in notes miniroot sparc/ramdisk sparc/bootfs
@


1.18
log
@Remove references to {bootfs,ramdisk}.sysinst.
@
text
@d45 8
@


1.17
log
@Prior art in naming would suggest INSTALL_SYSINST rather than INSTALL-SYSINST.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.16 2000/09/04 16:34:13 abs Exp $
d11 1
a11 1
BUILD_KERNELS+= INSTALL INSTALL_SYSINST
d31 1
a31 1
.for dir in notes miniroot sparc/ramdisk sparc/bootfs sparc/ramdisk.sysinst sparc/bootfs.sysinst
@


1.16
log
@Run 'make release' in sysinst distrib dirs
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15 1999/11/14 16:23:36 pk Exp $
d11 1
a11 1
BUILD_KERNELS+= INSTALL
@


1.15
log
@Remove unnecessary inclusion.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.14 1999/10/18 20:39:01 pk Exp $
d31 1
a31 1
.for dir in notes miniroot sparc/bootfs sparc/ramdisk
@


1.15.4.1
log
@Pullup 1.17-1.19 by patch [pk]:
Add target for bootable CD-ROM.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15 1999/11/14 16:23:36 pk Exp $
d31 1
a31 1
.for dir in notes miniroot sparc/ramdisk sparc/bootfs
a44 8

CDBOOTIMAGE!=	cd ${TOP}/distrib/miniroot; \
		printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/miniroot.fs\n" | \
		${MAKE} -s -f-

iso-image_md_post:
	mksunbootcd ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \
		$(CDBOOTIMAGE) $(CDBOOTIMAGE) $(CDBOOTIMAGE)
@


1.15.4.2
log
@Pullup 1.20 [pk]:
Do `make release' in distrib/sparc/instfs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15.4.1 2000/10/20 17:22:09 tv Exp $
d31 1
a31 1
.for dir in notes miniroot sparc/ramdisk sparc/bootfs sparc/instfs
@


1.15.4.3
log
@Pullup 1.21 [pk]:
* Add `installation/floppy' and `installation/tape' directories to the
  release(7) hierarchy and populate them with links to images in `bootfs'

* Remove miniroot scripts from `installation/netboot'; these are contained
  in the instfs.tgz which can be used to setup an NFS root directory (for
  installation purposes).

* Make the bootable cd-rom image using the `bootfs' filesystem, since a bug
  in the cd driver prevents us from running directly from a CD filesystem.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15.4.2 2000/10/22 19:03:07 tv Exp $
d15 1
a15 2
	installation/miniroot installation/netboot installation/bootfs \
	installation/tape installation/floppy
d31 1
a31 1
.for dir in notes miniroot sparc/bootfs sparc/instfs
d35 1
a35 1
	# install boot image in netboot directory
d37 3
a39 17

	# install links to boot and installation utilities for various media
	rm -f ${RELEASEDIR}/installation/tape/tapefile1.gz
	rm -f ${RELEASEDIR}/installation/tape/tapefile2
	rm -f ${RELEASEDIR}/installation/floppy/disk1.gz
	rm -f ${RELEASEDIR}/installation/floppy/disk2
	rm -f ${RELEASEDIR}/installation/netboot/rootfs.tgz
	ln -s ../bootfs/netbsd.ram.aout.gz \
			${RELEASEDIR}/installation/tape/tapefile1.gz
	ln -s ../bootfs/instfs.tgz \
			${RELEASEDIR}/installation/tape/tapefile2
	ln -s ../bootfs/boot.fs.gz \
			${RELEASEDIR}/installation/floppy/disk1.gz
	ln -s ../bootfs/instfs.tgz \
			${RELEASEDIR}/installation/floppy/disk2
	ln -s ../bootfs/instfs.tgz \
			${RELEASEDIR}/installation/netboot/rootfs.tgz
d46 2
a47 2
CDBOOTIMAGE!=	cd ${TOP}/distrib/sparc/bootfs; \
		printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/boot.fs\n" | \
@


1.14
log
@Add sparc MD parts to `make release'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.13 1999/02/05 03:01:53 cjs Exp $
a6 1
.include "$(TOP)/distrib/sparc/Makefile.inc"
@


1.13
log
@Update all this crap so that `make snapshot' makes snapshots in release(7)
format, rather than in some unknown format. Also clean up the code a bit,
remove some code duplication, and add documentation to the Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.12 1998/10/09 10:41:34 itohy Exp $
d6 3
d12 34
@


1.13.2.1
log
@Apply patch (requested by he):
  Enhance the "make release" process:
   o Make installation directories
   o Build the distrib bits
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.13 1999/02/05 03:01:53 cjs Exp $
a8 13

INSTALLATION_DIRS+= \
	installation/bootfs \
	installation/ramdisk

# Build the boot media and install them
snap_md_post:
.ifndef UPDATE
	cd ${.CURDIR}/../distrib && ${MAKE} cleandir
.endif
	cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
	cd ${.CURDIR}/../distrib/sparc && ${MAKE} release

@


1.13.4.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15 1999/11/14 16:23:36 pk Exp $
a5 2
TOP= $(.CURDIR)/..

a8 34
BUILD_KERNELS+= INSTALL

# Add sparc installation directories
MD_INSTALLATION_DIRS= \
	installation/miniroot installation/netboot installation/bootfs
INSTALLATION_DIRS+=$(MD_INSTALLATION_DIRS) 

snap_pre_md:
.ifndef UPDATE
	cd $(TOP)/distrib && ${MAKE} clean 
.endif

#
# Install miniroot images and auxiliary scripts to the release tree
#
snap_md_post:
	# make boot/miniroot images
	(cd $(TOP)/distrib; ${MAKE})

	# transfer images to release hierarchy
.for dir in notes miniroot sparc/bootfs sparc/ramdisk
	(cd $(TOP)/distrib/$(dir); ${MAKE} release)
.endfor

	# install boot image and installation scripts in netboot directory
	cp -p $(DESTDIR)/usr/mdec/boot.net $(RELEASEDIR)/installation/netboot
.for f in install.sh upgrade.sh install.sub ../sparc/install.md
	cp -p $(TOP)/distrib/miniroot/$f $(RELEASEDIR)/installation/netboot
.endfor

	# compute checksums
.for dir in ${MD_INSTALLATION_DIRS}
	sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*'
.endfor
@


1.12
log
@Use "${MAKE}" instead of "make" for cross compilation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.11 1998/06/28 09:38:43 fair Exp $
d6 3
a8 21
.ifdef DESTDIR

# the regular expression does a basename(1) on .CURDIR so that we don't
# have to keep looking up .. at compile time.

KERNSRCDIR?=	${.CURDIR:C/[^\/]+$//}sys
KERNOBJDIR?=	${KERNSRCDIR}/arch/${MACHINE}/compile
KERNCONFDIR?=	${KERNSRCDIR}/arch/${MACHINE}/conf

snap_md:
.for kernel in GENERIC GENERIC_SCSI3
	cd ${KERNCONFDIR} && config \
		-b ${KERNOBJDIR}/${kernel} \
		-s ${KERNSRCDIR} \
		${kernel}
	cd ${KERNOBJDIR}/${kernel} &&	\
		${MAKE} clean && ${MAKE} depend && ${MAKE} &&	\
		cp netbsd ${DESTDIR}/snapshot/netbsd.${kernel}
.endfor

.endif	# DESTDIR check
@


1.11
log
@These commits do two things:

1. Provide a consistent and extensible framework for compiling
kernels for the "make snapshot" target.

2. Add OBJDIR support for the "make snapshot" target, in the form
of three new make variables: KERNOBJDIR, KERNSRCDIR, and KERNCONFDIR.
Default values are in the Makefile.inc, and for OBJDIR they should
be defined in /etc/mk.conf as

	KERNSRCDIR=${BSDSRCDIR}/sys
	KERNOBJDIR=${BSDOBJDIR}/sys/arch/${MACHINE}/compile

The next step is to make a new target in the src/etc/Makefile for "release"
(or something like that) to make release(7) format files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 1998/06/24 08:15:47 fair Exp $
d21 2
a22 1
	cd ${KERNOBJDIR}/${kernel} && make clean && make depend && make && \
@


1.10
log
@an experiment in OBJDIR support for "make snapshot" for sparc
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.9 1997/09/20 03:09:18 mikel Exp $
d21 2
a22 1
	cd ${KERNOBJDIR}/${kernel} && make clean && make depend && make
a23 4
	cp ${KERNOBJDIR}/GENERIC/netbsd \
		${DESTDIR}/snapshot/netbsd
	cp ${KERNOBJDIR}/GENERIC_SCSI3/netbsd \
		${DESTDIR}/snapshot/netbsd.scsi3
@


1.9
log
@RCSid police
@
text
@d1 1
a1 1
#	$NetBSD$
a6 5
snap_md: netbsd netbsd.scsi3
	cp ${.CURDIR}/../sys/arch/sparc/compile/GENERIC/netbsd \
	    ${DESTDIR}/snapshot/netbsd
	cp ${.CURDIR}/../sys/arch/sparc/compile/GENERIC_SCSI3/netbsd \
	    ${DESTDIR}/snapshot/netbsd.scsi3
d8 2
a9 4
netbsd:
	cd ${.CURDIR}/../sys/arch/sparc/conf && config GENERIC
	cd ${.CURDIR}/../sys/arch/sparc/compile/GENERIC && \
	    make clean && make depend && make
d11 16
a26 4
netbsd.scsi3:
	cd ${.CURDIR}/../sys/arch/sparc/conf && config GENERIC_SCSI3
	cd ${.CURDIR}/../sys/arch/sparc/compile/GENERIC_SCSI3 && \
	    make clean && make depend && make
@


1.8
log
@Don't copy files which are no longer here.
@
text
@d1 1
a4 1
#	$Id: Makefile.inc,v 1.7 1995/05/12 08:51:55 pk Exp $
@


1.7
log
@config.new => config; use GENERIC kernels.
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.6 1994/08/12 01:19:31 deraadt Exp $
d7 1
a7 1
snap_md: netbsd netbsd.scsi3 inst
a21 4

inst:
	cp ${.CURDIR}/etc.sparc/README ${DESTDIR}/snapshot/README
	cp ${.CURDIR}/etc.sparc/install.sh ${DESTDIR}/snapshot/install.sh
@


1.6
log
@build netbsd.scsi3 kernel too
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.4.2.1 1994/07/28 09:00:34 cgd Exp $
d8 1
a8 1
	cp ${.CURDIR}/../sys/arch/sparc/compile/SPARC/netbsd \
d10 1
a10 1
	cp ${.CURDIR}/../sys/arch/sparc/compile/SPARC_SCSI3/netbsd \
d14 2
a15 2
	cd ${.CURDIR}/../sys/arch/sparc/conf && config.new SPARC
	cd ${.CURDIR}/../sys/arch/sparc/compile/SPARC && \
d19 2
a20 2
	cd ${.CURDIR}/../sys/arch/sparc/conf && config.new SPARC_SCSI3
	cd ${.CURDIR}/../sys/arch/sparc/compile/SPARC_SCSI3 && \
@


1.5
log
@cleanup
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.4 1994/04/27 05:14:46 deraadt Exp $
d7 1
a7 1
snap_md: netbsd inst
d10 2
d16 5
@


1.4
log
@ship a dev.cpio.gz that has devices built in it
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.3 1994/04/20 12:44:53 deraadt Exp $
d7 3
a9 5
snap_md: netbsd-sd0 netbsd-sd1 inst
	cp ${.CURDIR}/../sys/arch/sparc/compile/TDR/netbsd \
	    ${DESTDIR}/snapshot/netbsd-sd1
	cp ${.CURDIR}/../sys/arch/sparc/compile/TDR2/netbsd \
	    ${DESTDIR}/snapshot/netbsd-sd0
d11 3
a13 8
netbsd-sd1:
	cd ${.CURDIR}/../sys/arch/sparc/conf && config.new TDR
	cd ${.CURDIR}/../sys/arch/sparc/compile/TDR && \
	    make clean && make depend && make

netbsd-sd0:
	cd ${.CURDIR}/../sys/arch/sparc/conf && config.new TDR2
	cd ${.CURDIR}/../sys/arch/sparc/compile/TDR2 && \
a18 2
	cd ${DESTDIR} ./MAKEDEV all && \
	    find dev -print | cpio -o | gzip -9 > snapshot/dev.cpio.gz
@


1.4.2.1
log
@from trunk.
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.5 1994/07/27 05:26:15 deraadt Exp $
d7 5
a11 3
snap_md: netbsd inst
	cp ${.CURDIR}/../sys/arch/sparc/compile/SPARC/netbsd \
	    ${DESTDIR}/snapshot/netbsd
d13 8
a20 3
netbsd:
	cd ${.CURDIR}/../sys/arch/sparc/conf && config.new SPARC
	cd ${.CURDIR}/../sys/arch/sparc/compile/SPARC && \
d26 2
@


1.4.2.2
log
@update from trunk
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.6 1994/08/12 01:19:31 deraadt Exp $
d7 1
a7 1
snap_md: netbsd netbsd.scsi3 inst
a9 2
	cp ${.CURDIR}/../sys/arch/sparc/compile/SPARC_SCSI3/netbsd \
	    ${DESTDIR}/snapshot/netbsd.scsi3
a13 5
	    make clean && make depend && make

netbsd.scsi3:
	cd ${.CURDIR}/../sys/arch/sparc/conf && config.new SPARC_SCSI3
	cd ${.CURDIR}/../sys/arch/sparc/compile/SPARC_SCSI3 && \
@


1.3
log
@duh
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.2 1994/04/18 10:48:48 deraadt Exp $
d26 2
a27 1
	cd ${DESTDIR} && find dev -print | cpio -o | gzip -9 > snapshot/dev.cpio.gz
@


1.2
log
@my life is now easier
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.1 1994/04/12 07:48:20 deraadt Exp $
d24 2
a25 2
	cp README ${DESTDIR}/snapshot/README
	cp install.sh ${DESTDIR}/snapshot/install.sh
@


1.1
log
@build two needed kernels
@
text
@d4 1
a4 1
#	$Id: Makefile.inc,v 1.3 1994/03/31 10:27:17 cgd Exp $
d7 1
a7 1
snap_md: netbsd-sd0 netbsd-sd1
d22 6
@
