head	1.22;
access;
symbols
	netbsd-11-0-RC5:1.22
	netbsd-11-0-RC4:1.22
	netbsd-11-0-RC3:1.22
	netbsd-11-0-RC2:1.22
	netbsd-11-0-RC1:1.22
	perseant-exfatfs-base-20250801:1.22
	netbsd-11:1.22.0.4
	netbsd-11-base:1.22
	netbsd-10-1-RELEASE:1.21
	perseant-exfatfs-base-20240630:1.22
	perseant-exfatfs:1.22.0.2
	perseant-exfatfs-base:1.22
	netbsd-8-3-RELEASE:1.21
	netbsd-9-4-RELEASE:1.21
	netbsd-10-0-RELEASE:1.21
	netbsd-10-0-RC6:1.21
	netbsd-10-0-RC5:1.21
	netbsd-10-0-RC4:1.21
	netbsd-10-0-RC3:1.21
	netbsd-10-0-RC2:1.21
	netbsd-10-0-RC1:1.21
	netbsd-10:1.21.0.76
	netbsd-10-base:1.21
	netbsd-9-3-RELEASE:1.21
	cjep_sun2x-base1:1.21
	cjep_sun2x:1.21.0.74
	cjep_sun2x-base:1.21
	cjep_staticlib_x-base1:1.21
	netbsd-9-2-RELEASE:1.21
	cjep_staticlib_x:1.21.0.72
	cjep_staticlib_x-base:1.21
	netbsd-9-1-RELEASE:1.21
	phil-wifi-20200421:1.21
	phil-wifi-20200411:1.21
	is-mlppp:1.21.0.70
	is-mlppp-base:1.21
	phil-wifi-20200406:1.21
	netbsd-8-2-RELEASE:1.21
	netbsd-9-0-RELEASE:1.21
	netbsd-9-0-RC2:1.21
	netbsd-9-0-RC1:1.21
	phil-wifi-20191119:1.21
	netbsd-9:1.21.0.68
	netbsd-9-base:1.21
	phil-wifi-20190609:1.21
	netbsd-8-1-RELEASE:1.21
	netbsd-8-1-RC1:1.21
	pgoyette-compat-merge-20190127:1.21
	pgoyette-compat-20190127:1.21
	pgoyette-compat-20190118:1.21
	pgoyette-compat-1226:1.21
	pgoyette-compat-1126:1.21
	pgoyette-compat-1020:1.21
	pgoyette-compat-0930:1.21
	pgoyette-compat-0906:1.21
	netbsd-7-2-RELEASE:1.21
	pgoyette-compat-0728:1.21
	netbsd-8-0-RELEASE:1.21
	phil-wifi:1.21.0.66
	phil-wifi-base:1.21
	pgoyette-compat-0625:1.21
	netbsd-8-0-RC2:1.21
	pgoyette-compat-0521:1.21
	pgoyette-compat-0502:1.21
	pgoyette-compat-0422:1.21
	netbsd-8-0-RC1:1.21
	pgoyette-compat-0415:1.21
	pgoyette-compat-0407:1.21
	pgoyette-compat-0330:1.21
	pgoyette-compat-0322:1.21
	pgoyette-compat-0315:1.21
	netbsd-7-1-2-RELEASE:1.21
	pgoyette-compat:1.21.0.64
	pgoyette-compat-base:1.21
	netbsd-7-1-1-RELEASE:1.21
	matt-nb8-mediatek:1.21.0.62
	matt-nb8-mediatek-base:1.21
	perseant-stdc-iso10646:1.21.0.60
	perseant-stdc-iso10646-base:1.21
	netbsd-8:1.21.0.58
	netbsd-8-base:1.21
	prg-localcount2-base3:1.21
	prg-localcount2-base2:1.21
	prg-localcount2-base1:1.21
	prg-localcount2:1.21.0.56
	prg-localcount2-base:1.21
	pgoyette-localcount-20170426:1.21
	bouyer-socketcan-base1:1.21
	pgoyette-localcount-20170320:1.21
	netbsd-7-1:1.21.0.54
	netbsd-7-1-RELEASE:1.21
	netbsd-7-1-RC2:1.21
	netbsd-7-nhusb-base-20170116:1.21
	bouyer-socketcan:1.21.0.52
	bouyer-socketcan-base:1.21
	pgoyette-localcount-20170107:1.21
	netbsd-7-1-RC1:1.21
	pgoyette-localcount-20161104:1.21
	netbsd-7-0-2-RELEASE:1.21
	localcount-20160914:1.21
	netbsd-7-nhusb:1.21.0.50
	netbsd-7-nhusb-base:1.21
	pgoyette-localcount-20160806:1.21
	pgoyette-localcount-20160726:1.21
	pgoyette-localcount:1.21.0.48
	pgoyette-localcount-base:1.21
	netbsd-7-0-1-RELEASE:1.21
	netbsd-7-0:1.21.0.46
	netbsd-7-0-RELEASE:1.21
	netbsd-7-0-RC3:1.21
	netbsd-7-0-RC2:1.21
	netbsd-7-0-RC1:1.21
	netbsd-5-2-3-RELEASE:1.21
	netbsd-5-1-5-RELEASE:1.21
	netbsd-6-0-6-RELEASE:1.21
	netbsd-6-1-5-RELEASE:1.21
	netbsd-7:1.21.0.44
	netbsd-7-base:1.21
	yamt-pagecache-base9:1.21
	yamt-pagecache-tag8:1.21
	netbsd-6-1-4-RELEASE:1.21
	netbsd-6-0-5-RELEASE:1.21
	tls-earlyentropy:1.21.0.42
	tls-earlyentropy-base:1.21
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.21
	riastradh-drm2-base3:1.21
	netbsd-6-1-3-RELEASE:1.21
	netbsd-6-0-4-RELEASE:1.21
	netbsd-5-2-2-RELEASE:1.21
	netbsd-5-1-4-RELEASE:1.21
	netbsd-6-1-2-RELEASE:1.21
	netbsd-6-0-3-RELEASE:1.21
	netbsd-5-2-1-RELEASE:1.21
	netbsd-5-1-3-RELEASE:1.21
	netbsd-6-1-1-RELEASE:1.21
	riastradh-drm2-base2:1.21
	riastradh-drm2-base1:1.21
	riastradh-drm2:1.21.0.34
	riastradh-drm2-base:1.21
	netbsd-6-1:1.21.0.40
	netbsd-6-0-2-RELEASE:1.21
	netbsd-6-1-RELEASE:1.21
	khorben-n900:1.21.0.38
	netbsd-6-1-RC4:1.21
	netbsd-6-1-RC3:1.21
	agc-symver:1.21.0.36
	agc-symver-base:1.21
	netbsd-6-1-RC2:1.21
	netbsd-6-1-RC1:1.21
	yamt-pagecache-base8:1.21
	netbsd-5-2:1.21.0.32
	netbsd-6-0-1-RELEASE:1.21
	yamt-pagecache-base7:1.21
	netbsd-5-2-RELEASE:1.21
	netbsd-5-2-RC1:1.21
	matt-nb6-plus-nbase:1.21
	yamt-pagecache-base6:1.21
	netbsd-6-0:1.21.0.30
	netbsd-6-0-RELEASE:1.21
	netbsd-6-0-RC2:1.21
	tls-maxphys:1.21.0.28
	tls-maxphys-base:1.21
	matt-nb6-plus:1.21.0.26
	matt-nb6-plus-base:1.21
	netbsd-6-0-RC1:1.21
	yamt-pagecache-base5:1.21
	yamt-pagecache-base4:1.21
	netbsd-6:1.21.0.24
	netbsd-6-base:1.21
	netbsd-5-1-2-RELEASE:1.21
	netbsd-5-1-1-RELEASE:1.21
	yamt-pagecache-base3:1.21
	yamt-pagecache-base2:1.21
	yamt-pagecache:1.21.0.22
	yamt-pagecache-base:1.21
	cherry-xenmp:1.21.0.20
	cherry-xenmp-base:1.21
	bouyer-quota2-nbase:1.21
	bouyer-quota2:1.21.0.18
	bouyer-quota2-base:1.21
	matt-mips64-premerge-20101231:1.21
	matt-nb5-mips64-premerge-20101231:1.21
	matt-nb5-pq3:1.21.0.16
	matt-nb5-pq3-base:1.21
	netbsd-5-1:1.21.0.14
	netbsd-5-1-RELEASE:1.21
	netbsd-5-1-RC4:1.21
	matt-nb5-mips64-k15:1.21
	netbsd-5-1-RC3:1.21
	netbsd-5-1-RC2:1.21
	netbsd-5-1-RC1:1.21
	netbsd-5-0-2-RELEASE:1.21
	matt-nb5-mips64-premerge-20091211:1.21
	matt-premerge-20091211:1.21
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.21
	matt-nb4-mips64-k7-u2a-k9b:1.21
	matt-nb5-mips64-u1-k1-k5:1.21
	matt-nb5-mips64:1.21.0.12
	netbsd-5-0-1-RELEASE:1.21
	jym-xensuspend-nbase:1.21
	netbsd-5-0:1.21.0.10
	netbsd-5-0-RELEASE:1.21
	netbsd-5-0-RC4:1.21
	netbsd-5-0-RC3:1.21
	netbsd-5-0-RC2:1.21
	jym-xensuspend:1.21.0.8
	jym-xensuspend-base:1.21
	netbsd-5-0-RC1:1.21
	mjf-devfs2-base2:1.21
	netbsd-5:1.21.0.6
	netbsd-5-base:1.21
	matt-mips64-base2:1.21
	matt-mips64:1.20.0.14
	netbsd-4-0-1-RELEASE:1.19
	wrstuden-revivesa-base-3:1.21
	wrstuden-revivesa-base-2:1.21
	wrstuden-fixsa-newbase:1.19
	wrstuden-revivesa-base-1:1.21
	yamt-pf42-base4:1.21
	yamt-pf42-base3:1.21
	hpcarm-cleanup-nbase:1.21
	yamt-pf42-baseX:1.21
	yamt-pf42-base2:1.21
	wrstuden-revivesa:1.21.0.4
	wrstuden-revivesa-base:1.21
	yamt-pf42:1.21.0.2
	yamt-pf42-base:1.21
	mjf-devfs2:1.20.0.12
	mjf-devfs2-base:1.21
	keiichi-mipv6:1.20.0.10
	keiichi-mipv6-base:1.21
	mjf-devfs:1.20.0.8
	mjf-devfs-base:1.20
	matt-armv6-nbase:1.21
	matt-armv6-prevmlocking:1.20
	wrstuden-fixsa-base-1:1.19
	netbsd-4-0:1.19.0.8
	netbsd-4-0-RELEASE:1.19
	cube-autoconf:1.20.0.6
	cube-autoconf-base:1.20
	netbsd-4-0-RC5:1.19
	netbsd-4-0-RC4:1.19
	netbsd-4-0-RC3:1.19
	netbsd-4-0-RC2:1.19
	netbsd-4-0-RC1:1.19
	matt-armv6:1.20.0.4
	matt-armv6-base:1.20
	matt-mips64-base:1.20
	hpcarm-cleanup:1.20.0.2
	hpcarm-cleanup-base:1.20
	netbsd-3-1-1-RELEASE:1.18
	netbsd-3-0-3-RELEASE:1.18
	wrstuden-fixsa:1.19.0.6
	wrstuden-fixsa-base:1.19
	abandoned-netbsd-4-base:1.19
	abandoned-netbsd-4:1.19.0.2
	netbsd-3-1:1.18.0.12
	netbsd-3-1-RELEASE:1.18
	netbsd-3-0-2-RELEASE:1.18
	netbsd-3-1-RC4:1.18
	netbsd-3-1-RC3:1.18
	netbsd-3-1-RC2:1.18
	netbsd-3-1-RC1:1.18
	netbsd-4:1.19.0.4
	netbsd-4-base:1.19
	netbsd-3-0-1-RELEASE:1.18
	netbsd-3-0:1.18.0.10
	netbsd-3-0-RELEASE:1.18
	netbsd-3-0-RC6:1.18
	netbsd-3-0-RC5:1.18
	netbsd-3-0-RC4:1.18
	netbsd-3-0-RC3:1.18
	netbsd-3-0-RC2:1.18
	netbsd-3-0-RC1:1.18
	netbsd-2-0-3-RELEASE:1.18
	netbsd-2-1:1.18.0.8
	netbsd-2-1-RELEASE:1.18
	netbsd-2-1-RC6:1.18
	netbsd-2-1-RC5:1.18
	netbsd-2-1-RC4:1.18
	netbsd-2-1-RC3:1.18
	netbsd-2-1-RC2:1.18
	netbsd-2-1-RC1:1.18
	netbsd-2-0-2-RELEASE:1.18
	netbsd-3:1.18.0.6
	netbsd-3-base:1.18
	netbsd-2-0-1-RELEASE:1.18
	netbsd-2:1.18.0.4
	netbsd-2-base:1.18
	netbsd-2-0-RELEASE:1.18
	netbsd-2-0-RC5:1.18
	netbsd-2-0-RC4:1.18
	netbsd-2-0-RC3:1.18
	netbsd-2-0-RC2:1.18
	netbsd-2-0-RC1:1.18
	netbsd-2-0:1.18.0.2
	netbsd-2-0-base:1.18
	netbsd-1-6-PATCH002-RELEASE:1.16
	netbsd-1-6-PATCH002:1.16
	netbsd-1-6-PATCH002-RC4:1.16
	netbsd-1-6-PATCH002-RC3:1.16
	netbsd-1-6-PATCH002-RC2:1.16
	netbsd-1-6-PATCH002-RC1:1.16
	unifiedMKDEV-pre:1.18
	netbsd-1-6-PATCH001:1.16
	netbsd-1-6-PATCH001-RELEASE:1.16
	netbsd-1-6-PATCH001-RC3:1.16
	netbsd-1-6-PATCH001-RC2:1.16
	netbsd-1-6-PATCH001-RC1:1.16
	fvdl_fs64_base:1.17
	netbsd-1-6-RELEASE:1.16
	netbsd-1-6-RC3:1.16
	netbsd-1-6-RC2:1.16
	netbsd-1-6-RC1:1.16
	netbsd-1-6:1.16.0.2
	netbsd-1-6-base:1.16
	netbsd-1-5-PATCH003:1.7.2.1
	netbsd-1-5-PATCH002:1.7.2.1
	netbsd-1-5-PATCH001:1.7.2.1
	netbsd-1-5-RELEASE:1.7
	netbsd-1-5-BETA2:1.7
	netbsd-1-5-BETA:1.7
	netbsd-1-4-PATCH003:1.6.2.1
	netbsd-1-5-ALPHA2:1.7
	netbsd-1-5:1.7.0.2
	netbsd-1-5-base:1.7
	minoura-xpg4dl:1.6.0.8
	minoura-xpg4dl-base:1.6
	netbsd-1-4-PATCH002:1.6
	wrstuden-devbsize-19991221:1.6
	wrstuden-devbsize:1.6.0.6
	wrstuden-devbsize-base:1.6
	comdex-fall-1999:1.6.0.4
	comdex-fall-1999-base:1.6
	netbsd-1-4-PATCH001:1.6
	netbsd-1-4-RELEASE:1.6
	netbsd-1-4:1.6.0.2
	netbsd-1-4-base:1.6
	netbsd-1-3-PATCH003:1.3
	netbsd-1-3-PATCH003-CANDIDATE2:1.3
	netbsd-1-3-PATCH003-CANDIDATE1:1.3
	netbsd-1-3-PATCH003-CANDIDATE0:1.3
	netbsd-1-3-PATCH002:1.3
	netbsd-1-3-PATCH001:1.3
	netbsd-1-3-RELEASE:1.3
	netbsd-1-3-BETA:1.3
	netbsd-1-3:1.3.0.2
	netbsd-1-3-base:1.3
	netbsd-1-2-PATCH001:1.2
	netbsd-1-2-RELEASE:1.2
	netbsd-1-2-BETA:1.2
	netbsd-1-2-base:1.2
	netbsd-1-2:1.2.0.4
	netbsd-1-1-PATCH001:1.1
	netbsd-1-1-RELEASE:1.1
	netbsd-1-1:1.1.0.2
	netbsd-1-1-base:1.1;
locks; strict;
comment	@# @;


1.22
date	2023.06.02.14.25.35;	author lukem;	state Exp;
branches;
next	1.21;
commitid	Xx0PHFZyWjCtFnrE;

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

1.20
date	2007.07.24.10.49.25;	author pavel;	state Exp;
branches
	1.20.4.1
	1.20.10.1
	1.20.12.1
	1.20.14.1;
next	1.19;

1.19
date	2006.01.22.14.46.45;	author tsutsui;	state Exp;
branches;
next	1.18;

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

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

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

1.15
date	2002.04.22.03.37.13;	author gmcgarry;	state Exp;
branches;
next	1.14;

1.14
date	2002.04.19.07.32.08;	author gmcgarry;	state Exp;
branches;
next	1.13;

1.13
date	2002.04.14.20.50.20;	author gmcgarry;	state Exp;
branches;
next	1.12;

1.12
date	2002.03.31.16.07.55;	author bjh21;	state Exp;
branches;
next	1.11;

1.11
date	2002.02.13.06.30.46;	author gmcgarry;	state Exp;
branches;
next	1.10;

1.10
date	2002.02.10.01.09.54;	author gmcgarry;	state Exp;
branches;
next	1.9;

1.9
date	2001.11.29.22.45.56;	author thorpej;	state Exp;
branches;
next	1.8;

1.8
date	2001.04.21.17.58.21;	author he;	state Exp;
branches;
next	1.7;

1.7
date	2000.05.31.14.33.11;	author he;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	99.02.05.03.01.52;	author cjs;	state Exp;
branches
	1.6.2.1
	1.6.8.1;
next	1.5;

1.5
date	98.10.09.10.41.27;	author itohy;	state Exp;
branches;
next	1.4;

1.4
date	98.06.28.09.38.42;	author fair;	state Exp;
branches;
next	1.3;

1.3
date	97.03.06.23.41.26;	author mikel;	state Exp;
branches;
next	1.2;

1.2
date	96.03.22.05.14.27;	author scottr;	state Exp;
branches;
next	1.1;

1.1
date	95.09.06.16.17.41;	author thorpej;	state Exp;
branches;
next	;

1.20.4.1
date	2008.03.23.00.23.48;	author matt;	state Exp;
branches;
next	;

1.20.10.1
date	2008.03.24.07.14.41;	author keiichi;	state Exp;
branches;
next	;

1.20.12.1
date	2008.04.03.13.54.11;	author mjf;	state Exp;
branches;
next	;

1.20.14.1
date	2007.07.24.10.49.25;	author pavel;	state dead;
branches;
next	1.20.14.2;

1.20.14.2
date	2007.07.24.10.49.26;	author pavel;	state Exp;
branches;
next	;

1.7.2.1
date	2001.04.21.17.59.29;	author he;	state Exp;
branches;
next	;

1.6.2.1
date	2000.07.13.21.23.15;	author he;	state Exp;
branches;
next	;

1.6.8.1
date	2000.06.23.15.45.59;	author minoura;	state Exp;
branches;
next	;


desc
@@


1.22
log
@etc.hp300, etc.sparc64: fix MKUPDATE handling

UPDATE was replaced with MKUPDATE 20 years ago,
but these directories were missed in the conversion.
@
text
@#	$NetBSD: Makefile.inc,v 1.21 2008/03/18 04:20:37 lukem Exp $
#
#	etc.hp300/Makefile.inc -- hp300-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

BUILD_KERNELS=		INSTALL RAMDISK

INSTALLATION_DIRS+=	installation/miniroot	\
			installation/misc

snap_md_post:
.if ${MKUPDATE} == "no"
	cd ${KERNSRCDIR}/arch/hp300/stand && ${MAKE} cleandir
.endif
	cd ${KERNSRCDIR}/arch/hp300/stand && \
	    ${MAKE} depend && ${MAKE} && ${MAKE} release
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/miniroot '*.fs*'
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc 'SYS*'
@


1.21
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.20 2007/07/24 10:49:25 pavel Exp $
d17 1
a17 1
.ifndef UPDATE
@


1.20
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.19 2006/01/22 14:46:45 tsutsui Exp $
d22 2
a23 2
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/miniroot '*.fs*'
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/misc 'SYS*'
@


1.20.14.1
log
@file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:26 +0000
@
text
@d1 23
@


1.20.14.2
log
@Add a comment reminding to update the release notes if the list of
kernels change.
@
text
@a0 23
#	$NetBSD: Makefile.inc,v 1.20 2007/07/24 10:49:25 pavel Exp $
#
#	etc.hp300/Makefile.inc -- hp300-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

BUILD_KERNELS=		INSTALL RAMDISK

INSTALLATION_DIRS+=	installation/miniroot	\
			installation/misc

snap_md_post:
.ifndef UPDATE
	cd ${KERNSRCDIR}/arch/hp300/stand && ${MAKE} cleandir
.endif
	cd ${KERNSRCDIR}/arch/hp300/stand && \
	    ${MAKE} depend && ${MAKE} && ${MAKE} release
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/miniroot '*.fs*'
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/misc 'SYS*'
@


1.20.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d22 2
a23 2
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/miniroot '*.fs*'
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc 'SYS*'
@


1.20.10.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.21 2008/03/18 04:20:37 lukem Exp $
d22 2
a23 2
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/miniroot '*.fs*'
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc 'SYS*'
@


1.20.4.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	Makefile.inc,v 1.20 2007/07/24 10:49:25 pavel Exp
d22 2
a23 2
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/miniroot '*.fs*'
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc 'SYS*'
@


1.19
log
@Do ${MAKESUMS} for miniroot image.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.18 2003/01/03 15:34:38 lukem Exp $
d6 3
@


1.18
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.17 2002/12/02 13:18:07 lukem Exp $
d19 1
@


1.17
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.16 2002/05/02 15:09:43 lukem Exp $
d19 1
a19 1
	${MAKESUMS} -t ${RELEASEDIR}/installation/misc 'SYS*'
@


1.16
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.15 2002/04/22 03:37:13 gmcgarry Exp $
a12 1
# Build the boot media and install notes and install them
d15 1
a15 2
	cd ${.CURDIR}/../distrib && ${MAKE} cleandir
	cd ${.CURDIR}/../sys/arch/hp300/stand && ${MAKE} cleandir
d17 2
a18 6
	cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
	cd ${.CURDIR}/../distrib/notes && ${MAKE} release
	cd ${.CURDIR}/../distrib/${MACHINE} && ${MAKE} release
	cd ${.CURDIR}/../distrib/miniroot && ${MAKE} release
	cd ${.CURDIR}/../sys/arch/hp300/stand && \
	  ${MAKE} depend && ${MAKE} && ${MAKE} release
@


1.15
log
@Use INSTALLATION_DIRS for directory creation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.14 2002/04/19 07:32:08 gmcgarry Exp $
d10 2
a11 1
INSTALLATION_DIRS+=	installation/misc
@


1.14
log
@Make the install notes before trying to install them.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.13 2002/04/14 20:50:20 gmcgarry Exp $
d9 2
@


1.13
log
@Drop into ${.CURDIR}/../distrib/${MACHINE} and make release.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.12 2002/03/31 16:07:55 bjh21 Exp $
d16 1
a17 1
	cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
@


1.12
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.11 2002/02/13 06:30:46 gmcgarry Exp $
d18 1
@


1.11
log
@EXTRA_KERNELS -> BUILD_KERNELS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 2002/02/10 01:09:54 gmcgarry Exp $
d21 1
a21 1
	sh ${.CURDIR}/../distrib/sets/makesums -t ${RELEASEDIR}/installation/misc 'SYS*'
@


1.10
log
@Compile new installation kernel.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.9 2001/11/29 22:45:56 thorpej Exp $
d8 1
a8 1
EXTRA_KERNELS=		INSTALL RAMDISK
@


1.9
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.8 2001/04/21 17:58:21 he Exp $
d8 1
a8 1
EXTRA_KERNELS=		DISKLESS
d16 1
a18 1
	cd ${.CURDIR}/../distrib/notes && ${MAKE} release
@


1.8
log
@Make sure to depend and build in hp300/stand before doing ``make release''.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 2000/05/31 14:33:11 he Exp $
d6 3
a8 3
# Set this for any kernels beyond GENERIC you want to include
# in the distribution.
EXTRA_KERNELS+= DISKLESS
@


1.7
log
@Build boot media and release notes under "snap_md_post", to complete
the "make release".  Largely copied from the i386 port, and adapted.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6 1999/02/05 03:01:52 cjs Exp $
d19 2
a20 1
	cd ${.CURDIR}/../sys/arch/hp300/stand && ${MAKE} release
@


1.7.2.1
log
@Pull up revision 1.8 (requested by he):
  Make sure to depend and build before doing ``make release'' in
  sys/arch/hp300/stand.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 2000/05/31 14:33:11 he Exp $
d19 1
a19 2
	cd ${.CURDIR}/../sys/arch/hp300/stand && \
	  ${MAKE} depend && ${MAKE} && ${MAKE} release
@


1.6
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.5 1998/10/09 10:41:27 itohy Exp $
d9 12
@


1.6.2.1
log
@Pull up revision 1.7 (requested by he):
  Enhance the ``make release'' process:
   o Make installation directories
   o Build and install the distrib and boot bits
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.6 1999/02/05 03:01:52 cjs Exp $
a8 14

INSTALLATION_DIRS+= installation/miniroot

# Build the boot media and install notes and install them
snap_md_post:
.ifndef UPDATE
	cd ${.CURDIR}/../distrib && ${MAKE} cleandir
	cd ${.CURDIR}/../sys/arch/hp300/stand && ${MAKE} cleandir
.endif
	cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
	cd ${.CURDIR}/../distrib/miniroot && ${MAKE} release
	cd ${.CURDIR}/../distrib/notes && ${MAKE} release
	cd ${.CURDIR}/../sys/arch/hp300/stand && ${MAKE} release
	sh ${.CURDIR}/../distrib/sets/makesums -t ${RELEASEDIR}/installation/misc 'SYS*'
@


1.6.8.1
log
@Sync w/ netbsd-1-5-base.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.7 2000/05/31 14:33:11 he Exp $
a8 12

# Build the boot media and install notes and install them
snap_md_post:
.ifndef UPDATE
	cd ${.CURDIR}/../distrib && ${MAKE} cleandir
	cd ${.CURDIR}/../sys/arch/hp300/stand && ${MAKE} cleandir
.endif
	cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
	cd ${.CURDIR}/../distrib/miniroot && ${MAKE} release
	cd ${.CURDIR}/../distrib/notes && ${MAKE} release
	cd ${.CURDIR}/../sys/arch/hp300/stand && ${MAKE} release
	sh ${.CURDIR}/../distrib/sets/makesums -t ${RELEASEDIR}/installation/misc 'SYS*'
@


1.5
log
@Use "${MAKE}" instead of "make" for cross compilation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.4 1998/06/28 09:38:42 fair Exp $
d4 1
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 DISKLESS
	cd ${KERNCONFDIR} && config \
		-b ${KERNOBJDIR}/${kernel} \
		-s ${KERNSRCDIR} \
		${kernel}
	cd ${KERNOBJDIR}/${kernel} &&	\
		${MAKE} clean && ${MAKE} depend && ${MAKE} &&	\
		gzip -c -9 netbsd > ${DESTDIR}/snapshot/netbsd.${kernel}.gz
.endfor

.endif	# DESTDIR check
@


1.4
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.3 1997/03/06 23:41:26 mikel Exp $
d20 2
a21 1
	cd ${KERNOBJDIR}/${kernel} && make clean && make depend && make && \
@


1.3
log
@eliminate dangling references to config.old;
  from Klaus Klein in PR misc/3295.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 1996/03/22 05:14:27 scottr Exp $
a5 1
snap_md: netbsd-gen.gz netbsd-dl.gz
d7 2
a8 6
netbsd-gen:
	cd ${.CURDIR}/../sys/arch/hp300/conf && config GENERIC
	cd ${.CURDIR}/../sys/arch/hp300/compile/GENERIC && \
	    make clean && make depend && make
	cp ${.CURDIR}/../sys/arch/hp300/compile/GENERIC/netbsd \
	    ${DESTDIR}/snapshot/netbsd-gen
d10 3
a12 6
netbsd-dl:
	cd ${.CURDIR}/../sys/arch/hp300/conf && config DISKLESS
	cd ${.CURDIR}/../sys/arch/hp300/compile/DISKLESS && \
	    make clean && make depend && make
	cp ${.CURDIR}/../sys/arch/hp300/compile/DISKLESS/netbsd \
	    ${DESTDIR}/snapshot/netbsd-dl
d14 9
a22 5
netbsd-gen.gz: netbsd-gen
	gzip -f9 ${DESTDIR}/snapshot/netbsd-gen

netbsd-dl.gz: netbsd-dl
	gzip -f9 ${DESTDIR}/snapshot/netbsd-dl
@


1.2
log
@Overwrite existing snapshot kernel files when gzip'ing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 1995/09/06 16:17:41 thorpej Exp $
d9 1
a9 1
	cd ${.CURDIR}/../sys/arch/hp300/conf && config.old GENERIC
d16 1
a16 1
	cd ${.CURDIR}/../sys/arch/hp300/conf && config.old DISKLESS
@


1.1
log
@hp300-specific `etc' targets
@
text
@d1 1
a1 1
#	$NetBSD: $
d23 1
a23 1
	gzip -9 ${DESTDIR}/snapshot/netbsd-gen
d26 1
a26 1
	gzip -9 ${DESTDIR}/snapshot/netbsd-dl
@
