head	1.8;
access;
symbols
	perseant-exfatfs-base-20261102:1.8
	netbsd-11-1-RELEASE:1.7
	netbsd-10-2-RELEASE:1.7
	netbsd-9-5-RELEASE:1.6.64.1
	netbsd-11-0-RELEASE:1.7
	netbsd-11-0-RC7:1.7
	netbsd-11-0-RC6:1.7
	netbsd-11-0-RC5:1.7
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.10
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.8
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.6
	netbsd-9-4-RELEASE:1.6.64.1
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.6
	netbsd-10-base:1.7
	netbsd-9-3-RELEASE:1.6.64.1
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.4
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.6.64.1
	cjep_staticlib_x:1.7.0.2
	cjep_staticlib_x-base:1.7
	netbsd-9-1-RELEASE:1.6.64.1
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.6.0.66
	is-mlppp-base:1.6
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.6
	netbsd-9-0-RELEASE:1.6
	netbsd-9-0-RC2:1.6
	netbsd-9-0-RC1:1.6
	phil-wifi-20191119:1.6
	netbsd-9:1.6.0.64
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.6
	netbsd-8-1-RC1:1.6
	pgoyette-compat-merge-20190127:1.6
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.6
	pgoyette-compat-1020:1.6
	pgoyette-compat-0930:1.6
	pgoyette-compat-0906:1.6
	netbsd-7-2-RELEASE:1.6
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.6
	phil-wifi:1.6.0.62
	phil-wifi-base:1.6
	pgoyette-compat-0625:1.6
	netbsd-8-0-RC2:1.6
	pgoyette-compat-0521:1.6
	pgoyette-compat-0502:1.6
	pgoyette-compat-0422:1.6
	netbsd-8-0-RC1:1.6
	pgoyette-compat-0415:1.6
	pgoyette-compat-0407:1.6
	pgoyette-compat-0330:1.6
	pgoyette-compat-0322:1.6
	pgoyette-compat-0315:1.6
	netbsd-7-1-2-RELEASE:1.6
	pgoyette-compat:1.6.0.60
	pgoyette-compat-base:1.6
	netbsd-7-1-1-RELEASE:1.6
	matt-nb8-mediatek:1.6.0.58
	matt-nb8-mediatek-base:1.6
	perseant-stdc-iso10646:1.6.0.56
	perseant-stdc-iso10646-base:1.6
	netbsd-8:1.6.0.54
	netbsd-8-base:1.6
	prg-localcount2-base3:1.6
	prg-localcount2-base2:1.6
	prg-localcount2-base1:1.6
	prg-localcount2:1.6.0.52
	prg-localcount2-base:1.6
	pgoyette-localcount-20170426:1.6
	bouyer-socketcan-base1:1.6
	pgoyette-localcount-20170320:1.6
	netbsd-7-1:1.6.0.50
	netbsd-7-1-RELEASE:1.6
	netbsd-7-1-RC2:1.6
	netbsd-7-nhusb-base-20170116:1.6
	bouyer-socketcan:1.6.0.48
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	netbsd-7-1-RC1:1.6
	pgoyette-localcount-20161104:1.6
	netbsd-7-0-2-RELEASE:1.6
	localcount-20160914:1.6
	netbsd-7-nhusb:1.6.0.46
	netbsd-7-nhusb-base:1.6
	pgoyette-localcount-20160806:1.6
	pgoyette-localcount-20160726:1.6
	pgoyette-localcount:1.6.0.44
	pgoyette-localcount-base:1.6
	netbsd-7-0-1-RELEASE:1.6
	netbsd-7-0:1.6.0.42
	netbsd-7-0-RELEASE:1.6
	netbsd-7-0-RC3:1.6
	netbsd-7-0-RC2:1.6
	netbsd-7-0-RC1:1.6
	netbsd-5-2-3-RELEASE:1.6
	netbsd-5-1-5-RELEASE:1.6
	netbsd-6-0-6-RELEASE:1.6
	netbsd-6-1-5-RELEASE:1.6
	netbsd-7:1.6.0.40
	netbsd-7-base:1.6
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.6
	netbsd-6-1-4-RELEASE:1.6
	netbsd-6-0-5-RELEASE:1.6
	tls-earlyentropy:1.6.0.38
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	netbsd-6-1-3-RELEASE:1.6
	netbsd-6-0-4-RELEASE:1.6
	netbsd-5-2-2-RELEASE:1.6
	netbsd-5-1-4-RELEASE:1.6
	netbsd-6-1-2-RELEASE:1.6
	netbsd-6-0-3-RELEASE:1.6
	netbsd-5-2-1-RELEASE:1.6
	netbsd-5-1-3-RELEASE:1.6
	netbsd-6-1-1-RELEASE:1.6
	riastradh-drm2-base2:1.6
	riastradh-drm2-base1:1.6
	riastradh-drm2:1.6.0.30
	riastradh-drm2-base:1.6
	netbsd-6-1:1.6.0.36
	netbsd-6-0-2-RELEASE:1.6
	netbsd-6-1-RELEASE:1.6
	khorben-n900:1.6.0.34
	netbsd-6-1-RC4:1.6
	netbsd-6-1-RC3:1.6
	agc-symver:1.6.0.32
	agc-symver-base:1.6
	netbsd-6-1-RC2:1.6
	netbsd-6-1-RC1:1.6
	yamt-pagecache-base8:1.6
	netbsd-5-2:1.6.0.28
	netbsd-6-0-1-RELEASE:1.6
	yamt-pagecache-base7:1.6
	netbsd-5-2-RELEASE:1.6
	netbsd-5-2-RC1:1.6
	matt-nb6-plus-nbase:1.6
	yamt-pagecache-base6:1.6
	netbsd-6-0:1.6.0.26
	netbsd-6-0-RELEASE:1.6
	netbsd-6-0-RC2:1.6
	tls-maxphys:1.6.0.24
	tls-maxphys-base:1.6
	matt-nb6-plus:1.6.0.22
	matt-nb6-plus-base:1.6
	netbsd-6-0-RC1:1.6
	yamt-pagecache-base5:1.6
	yamt-pagecache-base4:1.6
	netbsd-6:1.6.0.20
	netbsd-6-base:1.6
	netbsd-5-1-2-RELEASE:1.6
	netbsd-5-1-1-RELEASE:1.6
	yamt-pagecache-base3:1.6
	yamt-pagecache-base2:1.6
	yamt-pagecache:1.6.0.18
	yamt-pagecache-base:1.6
	cherry-xenmp:1.6.0.16
	cherry-xenmp-base:1.6
	bouyer-quota2-nbase:1.6
	bouyer-quota2:1.6.0.14
	bouyer-quota2-base:1.6
	matt-mips64-premerge-20101231:1.6
	matt-nb5-mips64-premerge-20101231:1.6
	matt-nb5-pq3:1.6.0.12
	matt-nb5-pq3-base:1.6
	netbsd-5-1:1.6.0.10
	netbsd-5-1-RELEASE:1.6
	netbsd-5-1-RC4:1.6
	matt-nb5-mips64-k15:1.6
	netbsd-5-1-RC3:1.6
	netbsd-5-1-RC2:1.6
	netbsd-5-1-RC1:1.6
	netbsd-5-0-2-RELEASE:1.6
	matt-nb5-mips64-premerge-20091211:1.6
	matt-premerge-20091211:1.6
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.6
	matt-nb4-mips64-k7-u2a-k9b:1.6
	matt-nb5-mips64-u1-k1-k5:1.6
	matt-nb5-mips64:1.6.0.8
	netbsd-5-0-1-RELEASE:1.6
	jym-xensuspend-nbase:1.6
	netbsd-5-0:1.6.0.6
	netbsd-5-0-RELEASE:1.6
	netbsd-5-0-RC4:1.6
	netbsd-5-0-RC3:1.6
	netbsd-5-0-RC2:1.6
	jym-xensuspend:1.6.0.4
	jym-xensuspend-base:1.6
	netbsd-5-0-RC1:1.6
	netbsd-5:1.6.0.2
	netbsd-5-base:1.6
	matt-mips64-base2:1.6
	matt-mips64:1.3.0.16
	netbsd-4-0-1-RELEASE:1.2.4.1.4.1
	wrstuden-revivesa-base-3:1.5
	wrstuden-revivesa-base-2:1.5
	wrstuden-fixsa-newbase:1.2.4.1
	wrstuden-revivesa-base-1:1.4
	yamt-pf42-base4:1.4
	yamt-pf42-base3:1.4
	hpcarm-cleanup-nbase:1.4
	yamt-pf42-baseX:1.3
	yamt-pf42-base2:1.4
	wrstuden-revivesa:1.4.0.2
	wrstuden-revivesa-base:1.4
	yamt-pf42:1.3.0.14
	yamt-pf42-base:1.3
	mjf-devfs2:1.3.0.12
	mjf-devfs2-base:1.6
	keiichi-mipv6:1.3.0.10
	keiichi-mipv6-base:1.3
	mjf-devfs:1.3.0.8
	mjf-devfs-base:1.3
	matt-armv6-nbase:1.3
	matt-armv6-prevmlocking:1.3
	wrstuden-fixsa-base-1:1.2.4.1
	netbsd-4-0:1.2.4.1.0.4
	netbsd-4-0-RELEASE:1.2.4.1
	cube-autoconf:1.3.0.6
	cube-autoconf-base:1.3
	netbsd-4-0-RC5:1.2.4.1
	netbsd-4-0-RC4:1.2.4.1
	netbsd-4-0-RC3:1.2.4.1
	netbsd-4-0-RC2:1.2.4.1
	netbsd-4-0-RC1:1.2.4.1
	matt-armv6:1.3.0.4
	matt-armv6-base:1.3
	matt-mips64-base:1.3
	hpcarm-cleanup:1.3.0.2
	hpcarm-cleanup-base:1.3
	netbsd-3-1-1-RELEASE:1.1
	netbsd-3-0-3-RELEASE:1.1
	wrstuden-fixsa:1.2.4.1.0.2
	wrstuden-fixsa-base:1.2.4.1
	abandoned-netbsd-4-base:1.2
	abandoned-netbsd-4:1.2.0.2
	netbsd-3-1:1.1.0.14
	netbsd-3-1-RELEASE:1.1
	netbsd-3-0-2-RELEASE:1.1
	netbsd-3-1-RC4:1.1
	netbsd-3-1-RC3:1.1
	netbsd-3-1-RC2:1.1
	netbsd-3-1-RC1:1.1
	netbsd-4:1.2.0.4
	netbsd-4-base:1.2
	netbsd-3-0-1-RELEASE:1.1
	netbsd-3-0:1.1.0.12
	netbsd-3-0-RELEASE:1.1
	netbsd-3-0-RC6:1.1
	netbsd-3-0-RC5:1.1
	netbsd-3-0-RC4:1.1
	netbsd-3-0-RC3:1.1
	netbsd-3-0-RC2:1.1
	netbsd-3-0-RC1:1.1
	netbsd-2-0-3-RELEASE:1.1
	netbsd-2-1:1.1.0.10
	netbsd-2-1-RELEASE:1.1
	netbsd-2-1-RC6:1.1
	netbsd-2-1-RC5:1.1
	netbsd-2-1-RC4:1.1
	netbsd-2-1-RC3:1.1
	netbsd-2-1-RC2:1.1
	netbsd-2-1-RC1:1.1
	netbsd-2-0-2-RELEASE:1.1
	netbsd-3:1.1.0.8
	netbsd-3-base:1.1
	netbsd-2-0-1-RELEASE:1.1
	netbsd-2:1.1.0.6
	netbsd-2-base:1.1
	netbsd-2-0-RELEASE:1.1
	netbsd-2-0-RC5:1.1
	netbsd-2-0-RC4:1.1
	netbsd-2-0-RC3:1.1
	netbsd-2-0-RC2:1.1
	netbsd-2-0-RC1:1.1
	netbsd-2-0:1.1.0.4
	netbsd-2-0-base:1.1
	netbsd-1-6-PATCH002-RELEASE:1.1
	netbsd-1-6-PATCH002:1.1
	netbsd-1-6-PATCH002-RC4:1.1
	netbsd-1-6-PATCH002-RC3:1.1
	netbsd-1-6-PATCH002-RC2:1.1
	netbsd-1-6-PATCH002-RC1:1.1
	netbsd-1-6-PATCH001:1.1
	netbsd-1-6-PATCH001-RELEASE:1.1
	netbsd-1-6-PATCH001-RC3:1.1
	netbsd-1-6-PATCH001-RC2:1.1
	netbsd-1-6-PATCH001-RC1:1.1
	fvdl_fs64_base:1.1
	netbsd-1-6-RELEASE:1.1
	netbsd-1-6-RC3:1.1
	netbsd-1-6-RC2:1.1
	netbsd-1-6-RC1:1.1
	netbsd-1-6:1.1.0.2
	netbsd-1-6-base:1.1;
locks; strict;
comment	@# @;


1.8
date	2025.09.23.20.12.07;	author rillig;	state Exp;
branches;
next	1.7;
commitid	c5UJlo9eju75sSbG;

1.7
date	2020.03.21.14.25.49;	author tsutsui;	state Exp;
branches;
next	1.6;
commitid	0Ic3yRWktFogdh1C;

1.6
date	2008.09.19.17.38.43;	author tsutsui;	state Exp;
branches
	1.6.62.1
	1.6.64.1;
next	1.5;

1.5
date	2008.06.23.02.16.53;	author matt;	state Exp;
branches;
next	1.4;

1.4
date	2008.04.27.02.39.04;	author tsutsui;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2007.03.06.21.57.02;	author bouyer;	state Exp;
branches
	1.3.12.1
	1.3.14.1;
next	1.2;

1.2
date	2005.12.30.11.48.15;	author rjs;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2002.05.17.16.22.59;	author toshii;	state Exp;
branches;
next	;

1.6.62.1
date	2020.04.08.14.03.45;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.6.64.1
date	2020.04.24.17.19.49;	author martin;	state Exp;
branches;
next	;
commitid	2GTF2Je9FYVb5F5C;

1.4.2.1
date	2008.09.18.04.41.09;	author wrstuden;	state Exp;
branches;
next	;

1.3.12.1
date	2008.06.02.13.21.13;	author mjf;	state Exp;
branches;
next	1.3.12.2;

1.3.12.2
date	2008.06.29.08.25.12;	author mjf;	state Exp;
branches;
next	1.3.12.3;

1.3.12.3
date	2008.09.28.11.09.16;	author mjf;	state Exp;
branches;
next	1.3.12.4;

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

1.3.14.1
date	2008.05.18.12.29.35;	author yamt;	state Exp;
branches;
next	;

1.2.4.1
date	2007.03.09.06.59.45;	author riz;	state Exp;
branches
	1.2.4.1.4.1;
next	1.2.4.2;

1.2.4.2
date	2008.09.22.18.14.43;	author bouyer;	state Exp;
branches;
next	;

1.2.4.1.4.1
date	2008.09.22.18.15.00;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.8
log
@all: fix "Invalid internal option" warning from make
@
text
@#	$NetBSD: Makefile,v 1.7 2020/03/21 14:25:49 tsutsui Exp $

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

SUBDIR=		instkernel stand cdroms
SUBDIR+=	liveimage
TARGETS+=	release

iso_image: .MAKE
	${MAKEDIRTARGET} cdroms iso_image

live_image: .MAKE
	${MAKEDIRTARGET} liveimage live_image

.include <bsd.subdir.mk>
@


1.7
log
@Add "build.sh live-image" support for hpcarm.

Tested on WS003SH.
See also PR/55075 for live-image with FAT partition support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2008/09/19 17:38:43 tsutsui Exp $
d10 1
a10 1
iso_image:
d13 1
a13 1
live_image:
@


1.6
log
@Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.

XXX: maybe ramdisk kernels should be installed into binary/kernel dir
XXX: as other ports rather than installation dir, and
XXX: kernel config names should be preserved in their filenames.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2008/06/23 02:16:53 matt Exp $
d7 1
d13 3
@


1.6.64.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #846):

	distrib/hpcarm/Makefile: revision 1.7
	distrib/amd64/uefi-installimage/Makefile: revision 1.7
	distrib/common/bootimage/Makefile.installimage: revision 1.6
	distrib/hpcarm/liveimage/spec.in: revision 1.1
	distrib/common/bootimage/Makefile.bootimage: revision 1.23
	distrib/common/bootimage/Makefile.bootimage: revision 1.24
	distrib/zaurus/liveimage/Makefile: revision 1.1
	distrib/amd64/uefi-installimage/Makefile.installimage: revision 1.3
	distrib/zaurus/Makefile: revision 1.3
	distrib/hpcarm/liveimage/Makefile: revision 1.1
	distrib/zaurus/liveimage/spec.in: revision 1.1
	distrib/common/bootimage/diskproto.mbrfat.in: revision 1.1
	distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.13
	distrib/hpcarm/liveimage/fstab.in: revision 1.1
	distrib/zaurus/liveimage/fstab.in: revision 1.1

Merge amd64's UEFI logic back into the generic bootimage handling.

Add "live-image with a FAT partition for bootstrap files" support.
See PR/55075 for more details.

Add "build.sh live-image" support for zaurus.
Tested on SL-C3000 and SL-C700.
See also PR/55075 for live-image with FAT partition support.

Add "build.sh live-image" support for hpcarm.
Tested on WS003SH.
See also PR/55075 for live-image with FAT partition support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2008/09/19 17:38:43 tsutsui Exp $
a6 1
SUBDIR+=	liveimage
a11 3
live_image:
	${MAKEDIRTARGET} liveimage live_image

@


1.6.62.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
a6 1
SUBDIR+=	liveimage
a11 3
live_image:
	${MAKEDIRTARGET} liveimage live_image

@


1.5
log
@Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2008/04/27 02:39:04 tsutsui Exp $
d7 1
a7 5

release: check_RELEASEDIR
	${MAKEDIRTARGET} instkernel release
	${MAKEDIRTARGET} stand release
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation '*.gz' '*.exe'
@


1.4
log
@Build install kernels and standalone bootloaders in their own directories
so that parallel build works properly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2007/03/06 21:57:02 bouyer Exp $
d11 1
a11 1
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
@


1.4.2.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2008/04/27 02:39:04 tsutsui Exp $
d11 1
a11 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation '*.gz' '*.exe'
@


1.3
log
@Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2005/12/30 11:48:15 rjs Exp $
d6 6
a11 1
SUBDIR=		cdroms
a16 26
.include <bsd.kernobj.mk>

MINIROOTOBJ!=	cd ${.CURDIR}/../miniroot && ${PRINTOBJDIR}
MINIROOT=	${MINIROOTOBJ}/miniroot.fs

MDSETTARGETS=		INSTALL_IPAQ	${MINIROOT}	netbsd-IPAQ
MDSET_RELEASEDIR=	installation

HPCBOOTDIR=	${KERNSRCDIR}/arch/hpc/stand/binary/ARM
HPCBOOT=	hpcboot.exe

.PATH: ${HPCBOOTDIR}

UUDECODE_FILES=	${HPCBOOT}
UUDECODE_FILES_RENAME_${HPCBOOT}= ${HPCBOOT}

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

release:: check_RELEASEDIR .WAIT ${HPCBOOT}
	${MAKEDIRTARGET} cdroms release
	${INSTALL} -c -m ${NONBINMODE} \
		hpcboot.exe ${RELEASEDIR}/${MACHINE}/installation
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'

.include <bsd.files.mk>
.include <bsd.prog.mk>
@


1.3.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d6 1
a6 6
SUBDIR=		instkernel stand cdroms

release: check_RELEASEDIR
	${MAKEDIRTARGET} instkernel release
	${MAKEDIRTARGET} stand release
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
d12 26
@


1.3.12.2
log
@Sync with HEAD.
@
text
@d11 1
a11 1
	${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation '*.gz' '*.exe'
@


1.3.12.3
log
@Sync with HEAD.
@
text
@d7 5
a11 1
TARGETS+=	release
@


1.3.12.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.12.3 2008/09/28 11:09:16 mjf Exp $
@


1.3.14.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2007/03/06 21:57:02 bouyer Exp $
d6 1
a6 6
SUBDIR=		instkernel stand cdroms

release: check_RELEASEDIR
	${MAKEDIRTARGET} instkernel release
	${MAKEDIRTARGET} stand release
	${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
d12 26
@


1.2
log
@Add INSTALL_IPAQ kernel and copy hpcboot.exe to correct place.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2002/05/17 16:22:59 toshii Exp $
d6 6
d31 1
a37 1

@


1.2.4.1
log
@Pull up following revision(s) (requested by bouyer in ticket #494):
	sys/arch/i386/conf/GENERIC.MP: revision 1.9
	distrib/pc532/cdroms/installcd/Makefile: revision 1.1
	distrib/macppc/Makefile: revision 1.15
	distrib/ofppc/Makefile: revision 1.2
	distrib/ibmnws/Makefile: revision 1.2
	distrib/acorn32/Makefile: revision 1.18
	distrib/x68k/cdroms/installcd/Makefile: revision 1.1
	distrib/sparc/Makefile: revision 1.7
	distrib/sparc64/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/Makefile: revision 1.1
	distrib/hpcsh/Makefile: revision 1.6
	distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/Makefile: revision 1.13
	distrib/news68k/cdroms/installcd/Makefile: revision 1.1
	distrib/amiga/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/cdroms/Makefile: revision 1.1
	distrib/amiga/cdroms/Makefile: revision 1.1
	etc/etc.mac68k/Makefile.inc: revision 1.18
	distrib/shark/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/Makefile: revision 1.28
	distrib/hpcmips/cdroms/Makefile: revision 1.1
	distrib/amd64/floppies/Makefile: revision 1.3
	sys/arch/amd64/conf/INSTALL_ACPI: file removal
	distrib/i386/cdroms/Makefile: revision 1.4
	distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcsh/cdroms/Makefile: revision 1.1
	distrib/prep/cdroms/Makefile: revision 1.1
	distrib/pc532/Makefile: revision 1.4
	distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
	distrib/sun2/Makefile: revision 1.8
	distrib/vax/Makefile: revision 1.17
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/cdroms/Makefile: revision 1.1
	distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
	distrib/sun3/cdroms/installcd/Makefile: revision 1.1
	distrib/vax/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
	distrib/mvme68k/Makefile: revision 1.4
	distrib/mvmeppc/cdroms/Makefile: revision 1.1
	distrib/newsmips/Makefile: revision 1.4
	sys/arch/i386/conf/GENERIC.MPACPI: file removal
	distrib/hpcarm/cdroms/Makefile: revision 1.1
	distrib/evbppc/cdroms/Makefile: revision 1.1
	sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
	distrib/i386/cdroms/installcd/Makefile: revision 1.2
	distrib/i386/cdroms/installcd/Makefile: revision 1.3
	doc/CHANGES: revision 1.804
	distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.2
	distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.3
	distrib/evbarm/Makefile: revision 1.8
	distrib/mvmeppc/Makefile: revision 1.3
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
	distrib/macppc/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/cdroms/Makefile: revision 1.1
	distrib/alpha/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/installcd/Makefile: revision 1.1
	distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
	distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/Makefile: revision 1.2
	distrib/pmppc/Makefile: revision 1.2
	distrib/arc/cdroms/Makefile: revision 1.1
	sys/arch/amd64/conf/INSTALL: revision 1.66
	distrib/sun3/cdroms/Makefile: revision 1.1
	distrib/mipsco/Makefile: revision 1.4
	distrib/sun3/Makefile: revision 1.9
	distrib/vax/cdroms/Makefile: revision 1.1
	distrib/pmppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
	distrib/atari/cdroms/installcd/Makefile: revision 1.1
	distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/Makefile: revision 1.4
	Makefile: revision 1.247
	distrib/cats/cdroms/installcd/Makefile: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.130
	sys/arch/amd64/conf/GENERIC: revision 1.131
	distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/Makefile: revision 1.1
	distrib/cats/cdroms/Makefile: revision 1.1
	distrib/evbmips/Makefile: revision 1.3
	distrib/evbmips/Makefile: revision 1.4
	sys/arch/amd64/conf/GENERIC_ACPI: file removal
	distrib/ews4800mips/Makefile: revision 1.2
	distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/Makefile: revision 1.5
	distrib/amd64/cdroms/installcd/Makefile: revision 1.2
	distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/cdroms/installcd/Makefile: revision 1.1
	etc/etc.amd64/Makefile.inc: revision 1.7
	distrib/i386/instkernel/Makefile: revision 1.6
	distrib/x68k/cdroms/Makefile: revision 1.1
	distrib/i386/cdroms/Makefile.cdrom: revision 1.1
	distrib/sandpoint/Makefile: revision 1.4
	distrib/i386/cdroms/Makefile.cdrom: revision 1.2
	distrib/amiga/Makefile: revision 1.3
	distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
	distrib/news68k/Makefile: revision 1.4
	distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
	distrib/news68k/cdroms/Makefile: revision 1.1
	distrib/sparc/cdroms/Makefile: revision 1.1
	distrib/shark/cdroms/Makefile: revision 1.1
	etc/Makefile: revision 1.341
	distrib/amd64/instkernel/Makefile: revision 1.2
	distrib/sparc64/Makefile: revision 1.7
	distrib/dreamcast/cdroms/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.3
	distrib/ews4800mips/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/installcd/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.4
	distrib/macppc/cdroms/Makefile: revision 1.1
	distrib/mvme68k/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/Makefile: revision 1.1
	distrib/hpcarm/Makefile: revision 1.3
	distrib/arc/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
	distrib/mipsco/cdroms/Makefile: revision 1.1
	distrib/Makefile.inc: revision 1.9
	distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
	distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/Makefile: revision 1.1
	distrib/arc/Makefile: revision 1.3
	distrib/sparc/cdroms/installcd/Makefile: revision 1.1
	distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
	distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
	distrib/prep/Makefile: revision 1.3
	distrib/ibmnws/cdroms/Makefile: revision 1.1
	distrib/sandpoint/cdroms/Makefile: revision 1.1
	distrib/atari/Makefile: revision 1.6
	distrib/sgimips/cdroms/Makefile: revision 1.1
	distrib/amd64/Makefile: revision 1.4
	distrib/atari/cdroms/Makefile: revision 1.1
	distrib/x68k/Makefile: revision 1.5
	distrib/x68k/Makefile: revision 1.6
	distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
	distrib/evbarm/cdroms/Makefile: revision 1.1
	distrib/acorn32/cdroms/Makefile: revision 1.1
	distrib/cats/Makefile: revision 1.3
	distrib/evbmips/cdroms/Makefile: revision 1.1
	distrib/pc532/cdroms/Makefile: revision 1.1
	distrib/Makefile: revision 1.14
	distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
	distrib/ofppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile: revision 1.3
	distrib/common/Makefile.bootcd: revision 1.8
	distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
	sys/arch/i386/conf/GENERIC: revision 1.813
	distrib/hp300/Makefile: revision 1.17
	sys/arch/i386/conf/GENERIC: revision 1.814
	distrib/evbppc/Makefile: revision 1.2
	distrib/pmax/cdroms/installcd/Makefile: revision 1.1
	etc/etc.i386/Makefile.inc: revision 1.49
	distrib/sgimips/Makefile: revision 1.2
	distrib/prep/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/Makefile: revision 1.4
	distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/Makefile: revision 1.22
	distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
  kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
  usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
  make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
  non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
@
text
@d1 1
a1 1
#	$NetBSD$
a5 6
SUBDIR=		cdroms

iso_image:
	${MAKEDIRTARGET} cdroms iso_image

.include <bsd.subdir.mk>
a24 1
	${MAKEDIRTARGET} cdroms release
d31 1
@


1.2.4.1.4.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #1204):
	distrib/hpcarm/Makefile				1.4 - 1.6
	distrib/hpcarm/instkernel/Makefile		1.1
	distrib/hpcarm/stand/Makefile			1.1 - 1.2
	distrib/hpcmips/Makefile			1.29 - 1.33
	distrib/hpcmips/instkernel/Makefile		1.1
	distrib/hpcmips/stand/Makefile			1.1 - 1.2
	distrib/hpcsh/Makefile				1.7 - 1.9
	distrib/hpcsh/instkernel/Makefile		1.1
	distrib/hpcsh/stand/Makefile			1.1 - 1.2
	distrib/miniroot/Makefile			1.65 - 1.66
	etc/etc.hpcarm/Makefile.inc			1.6 - 1.8
	etc/etc.hpcmips/Makefile.inc			1.9 - 1.10
	etc/etc.hpcsh/Makefile.inc			1.4 - 1.5
Build install kernels and standalone bootloaders in their own directories
so that parallel build works properly.
Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
Add ${IMAGE}.gz to dependency list of release:: target as well as the one
in src/distrib/common/Makefile.image so that ${MAKESUMS} will be invoked
after the target image is installed into the releasedir, not before,
even if make -jN is specified.
XXX some ports do ${MAKESUMS} for installation/miniroot files
XXX in etc/etc.${MACHINE}/Makefile.inc later again.
- add INSTALLATION_DIRS+=installation/miniroot so that miniroot.fs.gz
  image is installed properly
- INSTALL_IPAQ should be in BUILD_KERNELS rather than KERNEL_SETS
  since it requires ramdisk image by mdsetimage(8) in src/distrib
Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.
@
text
@d6 1
a6 2
SUBDIR=		instkernel stand cdroms
TARGETS+=	release
d12 26
@


1.2.4.2
log
@Pull up following revision(s) (requested by tsutsui in ticket #1204):
	distrib/hpcarm/Makefile				1.4 - 1.6
	distrib/hpcarm/instkernel/Makefile		1.1
	distrib/hpcarm/stand/Makefile			1.1 - 1.2
	distrib/hpcmips/Makefile			1.29 - 1.33
	distrib/hpcmips/instkernel/Makefile		1.1
	distrib/hpcmips/stand/Makefile			1.1 - 1.2
	distrib/hpcsh/Makefile				1.7 - 1.9
	distrib/hpcsh/instkernel/Makefile		1.1
	distrib/hpcsh/stand/Makefile			1.1 - 1.2
	distrib/miniroot/Makefile			1.65 - 1.66
	etc/etc.hpcarm/Makefile.inc			1.6 - 1.8
	etc/etc.hpcmips/Makefile.inc			1.9 - 1.10
	etc/etc.hpcsh/Makefile.inc			1.4 - 1.5
Build install kernels and standalone bootloaders in their own directories
so that parallel build works properly.
Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
Add ${IMAGE}.gz to dependency list of release:: target as well as the one
in src/distrib/common/Makefile.image so that ${MAKESUMS} will be invoked
after the target image is installed into the releasedir, not before,
even if make -jN is specified.
XXX some ports do ${MAKESUMS} for installation/miniroot files
XXX in etc/etc.${MACHINE}/Makefile.inc later again.
- add INSTALLATION_DIRS+=installation/miniroot so that miniroot.fs.gz
  image is installed properly
- INSTALL_IPAQ should be in BUILD_KERNELS rather than KERNEL_SETS
  since it requires ramdisk image by mdsetimage(8) in src/distrib
Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.
@
text
@d6 1
a6 2
SUBDIR=		instkernel stand cdroms
TARGETS+=	release
d12 26
@


1.1
log
@Add a dummy Makefile so that `make release' succeeds.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2002/04/09 16:46:16 bjh21 Exp $
d3 2
a4 1
# No install stuff yet.
d6 25
a30 1
release:
a31 1
.include <bsd.subdir.mk>
@

