head	1.11;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.4
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.10.2.1
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.2
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5.14.1
	netbsd-10-0-RELEASE:1.10
	netbsd-10-0-RC6:1.10
	netbsd-10-0-RC5:1.10
	netbsd-10-0-RC4:1.10
	netbsd-10-0-RC3:1.10
	netbsd-10-0-RC2:1.10
	netbsd-10-0-RC1:1.10
	netbsd-10:1.10.0.2
	netbsd-10-base:1.10
	netbsd-9-3-RELEASE:1.5.14.1
	cjep_sun2x-base1:1.8
	cjep_sun2x:1.8.0.4
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	netbsd-9-2-RELEASE:1.5.14.1
	cjep_staticlib_x:1.8.0.2
	cjep_staticlib_x-base:1.8
	netbsd-9-1-RELEASE:1.5.14.1
	phil-wifi-20200421:1.6
	phil-wifi-20200411:1.6
	is-mlppp:1.6.0.2
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	netbsd-8-2-RELEASE:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.14
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.12
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.4
	pgoyette-compat:1.5.0.10
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.4
	matt-nb8-mediatek:1.5.0.8
	matt-nb8-mediatek-base:1.5
	perseant-stdc-iso10646:1.5.0.6
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.4
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.2
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.4.0.20
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.18
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.16
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.14
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.4
	netbsd-7-0:1.4.0.12
	netbsd-7-0-RELEASE:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.4.0.10
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.2.4.4
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.4.0.8
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.4
	riastradh-drm2-base1:1.4
	riastradh-drm2:1.4.0.2
	riastradh-drm2-base:1.4
	netbsd-6-1:1.2.0.10
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	khorben-n900:1.4.0.6
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.4.0.4
	agc-symver-base:1.4
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.4
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.4
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.2.0.8
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.3.0.2
	tls-maxphys-base:1.4
	matt-nb6-plus:1.2.0.6
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.3
	yamt-pagecache:1.2.0.4
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.2
	netbsd-6-base:1.2;
locks; strict;
comment	@# @;


1.11
date	2024.04.25.11.56.51;	author nia;	state Exp;
branches;
next	1.10;
commitid	J5iBEnqKKdPkiw7F;

1.10
date	2021.09.25.21.26.03;	author maya;	state Exp;
branches
	1.10.2.1;
next	1.9;
commitid	ZG5zaK1sNv7ZKnaD;

1.9
date	2021.09.25.08.54.29;	author maya;	state Exp;
branches;
next	1.8;
commitid	BGRNzDrS01VoBjaD;

1.8
date	2020.05.28.19.20.57;	author jmcneill;	state Exp;
branches;
next	1.7;
commitid	eoKVpQ7Jyn9ZE2aC;

1.7
date	2020.05.28.15.12.03;	author jmcneill;	state Exp;
branches;
next	1.6;
commitid	hSzhIikEha7Bh1aC;

1.6
date	2019.11.21.22.29.03;	author joerg;	state Exp;
branches;
next	1.5;
commitid	iULoA7uTNO15MLLB;

1.5
date	2017.02.10.16.43.59;	author christos;	state Exp;
branches
	1.5.12.1
	1.5.14.1;
next	1.4;
commitid	uUOMTOtplR3gsqFz;

1.4
date	2012.11.03.14.25.32;	author tsutsui;	state Exp;
branches
	1.4.14.1
	1.4.18.1;
next	1.3;

1.3
date	2012.04.22.07.23.42;	author tsutsui;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2012.01.22.16.50.00;	author tsutsui;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2012.01.22.03.53.30;	author tsutsui;	state Exp;
branches;
next	;

1.10.2.1
date	2024.05.11.14.31.57;	author martin;	state Exp;
branches;
next	;
commitid	X7ekLHRu1YQ5EA9F;

1.5.12.1
date	2020.04.08.14.03.44;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

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

1.4.14.1
date	2017.03.20.06.52.04;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.4.18.1
date	2017.04.21.16.51.09;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.3.2.1
date	2012.11.20.02.57.41;	author tls;	state Exp;
branches;
next	;

1.2.4.1
date	2012.01.22.16.50.00;	author yamt;	state dead;
branches;
next	1.2.4.2;

1.2.4.2
date	2012.04.17.00.02.32;	author yamt;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	2012.05.23.10.07.08;	author yamt;	state Exp;
branches;
next	1.2.4.4;

1.2.4.4
date	2013.01.16.05.26.01;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.11
log
@remove redundant kernels and floppies from the space-starved i386 ISO
@
text
@#	$NetBSD: Makefile.installimage,v 1.10 2021/09/25 21:26:03 maya Exp $
#
# Common Makefile to create a bootable installation image for USB flash etc.
#

#
# Required variables:
#	INSTIMGBASE
#		Basename of the liveimage
#
# Optional variables:
#	INSTIMAGEMB
#		target image size in MB
#		(if empty default IMAGEMB in Makefile.bootimage is used)
#
# See Makefile.bootimage for other variables.
#

.if !target(check_INSTIMGBASE)
check_INSTIMGBASE: .PHONY .NOTMAIN
.if !defined(INSTIMGBASE)
	@@echo "Error: INSTIMGBASE is not set"
	@@false
.else
	@@true
.endif
.endif

.if defined(INSTIMAGEMB)
IMAGEMB=	${INSTIMAGEMB}
.endif
SWAPMB=		0			# no swap

KERN_SET?=	kern-GENERIC
SETS?=		gpufw modules base etc

FSTAB_IN?=	${NETBSDSRCDIR}/distrib/common/bootimage/fstab.install.in

USE_MBR?=	no

.if ${USE_MBR} != "no"
DISKPROTO_IN?=	${NETBSDSRCDIR}/distrib/common/bootimage/diskproto.noswap.mbr.in
.else
DISKPROTO_IN?=	${NETBSDSRCDIR}/distrib/common/bootimage/diskproto.noswap.in
.endif

# XXX: no permission info for makefs(8)
IMGDIR_EXTRA=	${RELEASEDIR}/${RELEASEMACHINEDIR}	${RELEASEMACHINEDIR}
IMGDIR_EXCLUDE+= 	-s ',./installation/floppy/.*,,gp'
IMGDIR_EXCLUDE+= 	-s ',./installation/cdrom.*,,gp'
IMGDIR_EXCLUDE+=	-s ',./installation/liveimage.*,,gp'
IMGDIR_EXCLUDE+=	-s ',./installation/installimage.*,,gp'
.if defined(MD_IMGDIR_EXCLUDE)
IMGDIR_EXCLUDE+=	${MD_IMGDIR_EXCLUDE}
.endif

IMGBASE=        ${INSTIMGBASE}

.include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.bootimage"

# INSTIMG_RELEASEDIR specifies where to install ${INSTIMGBASE}.img.gz.
# This should be passed from etc/Makefile or etc/etc.${MACHINE}/Makefile.inc
# but also set default here for manual builds.
INSTIMG_RELEASEDIR?=	${RELEASEMACHINEDIR}/installation/installimage

# should be defined elsewhere? 
MKDIR?=		mkdir -p

install_image: check_INSTIMGBASE check_RELEASEDIR ${IMGBASE}.img.gz
	${MKDIR} ${MKDIRPERM} ${INSTIMG_RELEASEDIR}
	${RELEASE_INSTALL} ${IMGBASE}.img.gz ${INSTIMG_RELEASEDIR}
	# note ${MAKESUM} will be calculated in src/etc/Makefile

release:

@


1.10
log
@Restore MKNOUVEAUFIRMWARE and MKRADEONFIRMWARE and make gpufw set unconditional

Simplifies logic.
Restoring MK* requested by mrg on tech-kern discussion
https://mail-index.netbsd.org/tech-kern/2021/09/25/msg027695.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.9 2021/09/25 08:54:29 maya Exp $
d49 2
a50 1
IMGDIR_EXCLUDE= 	-s ',./installation/cdrom.*,,gp'
@


1.10.2.1
log
@Pull up following revision(s) (requested by nia in ticket #682):

	sys/arch/i386/conf/LEGACY: revision 1.3
	distrib/common/Makefile.bootcd: revision 1.48
	share/mk/bsd.own.mk: revision 1.1373
	distrib/i386/cdroms/installcd/Makefile: revision 1.12
	distrib/common/bootimage/Makefile.installimage: revision 1.11

remove redundant kernels and floppies from the space-starved i386 ISO

Turn off MKAMDGPUFIRMWARE on i386

It's too big for the i386 install media and not useful on either
pre-2012 hardware or the kinds of embedded systems where i386 still
thrived after 2012.

(The build of the kernel parts of amdgpu on i386 is nevertheless useful
for finding obscure bugs.)

"go for it" riastradh

i386: disable DRMKMS drivers in LEGACY kernel (this is for ISA)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.10 2021/09/25 21:26:03 maya Exp $
d49 1
a49 2
IMGDIR_EXCLUDE+= 	-s ',./installation/floppy/.*,,gp'
IMGDIR_EXCLUDE+= 	-s ',./installation/cdrom.*,,gp'
@


1.9
log
@Move DRM-driver firmware from base to its own set, gpufw

This set is only installed on amd64,i386,evbarm.
This set is installed on minimal installs and on install media, in
case someone needs it for basic driver functionality.

Comments:
Switched to a single MK tunable for it - that is probably unneeded.

An upcoming DRM update will include even fatter firmware, and we'd
like to minimize the impact of it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.8 2020/05/28 19:20:57 jmcneill Exp $
d35 1
a35 4
SETS?=		modules base etc
.if ${MKGPUFIRMWARE:Uno} != "no"
SETS+=		gpufw
.endif
@


1.8
log
@Shrink the evbarm install image by not including the live images on the install media
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.7 2020/05/28 15:12:03 jmcneill Exp $
d36 3
@


1.7
log
@Default USE_MBR to no
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.6 2019/11/21 22:29:03 joerg Exp $
d52 3
@


1.6
log
@Merge amd64's UEFI logic back into the generic bootimage handling.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.5 2017/02/10 16:43:59 christos Exp $
d39 2
@


1.5
log
@Initial pass to be unaffected by build umask on build artifacts
1. ${MKDIR} -> ${MKDIR} ${MKDIRPERM}
2. ${CP} -> ${INSTALL} ${COPY} -m <perm>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.4 2012/11/03 14:25:32 tsutsui Exp $
a32 1
OMIT_SWAPIMG=	yes			# nothing to write
@


1.5.14.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.installimage,v 1.5 2017/02/10 16:43:59 christos Exp $
d33 1
@


1.5.12.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d33 1
@


1.4
log
@Allow overriding live-image and install-image sizes by
INSTIMAGEMB (for install-images), USBIMAGEMB (for x86 sd0root liveimages),
and EMUIMAGEMB (for other liveimages) variables.
Per discussion on current-users@@:
http://mail-index.NetBSD.org/current-users/2012/10/29/msg021368.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.3 2012/04/22 07:23:42 tsutsui Exp $
d65 1
a65 1
	${MKDIR} ${INSTIMG_RELEASEDIR}
@


1.4.18.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.5 2017/02/10 16:43:59 christos Exp $
d65 1
a65 1
	${MKDIR} ${MKDIRPERM} ${INSTIMG_RELEASEDIR}
@


1.4.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.5 2017/02/10 16:43:59 christos Exp $
d65 1
a65 1
	${MKDIR} ${MKDIRPERM} ${INSTIMG_RELEASEDIR}
@


1.3
log
@Fix typo in comments.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.2 2012/01/22 16:50:00 tsutsui Exp $
d11 5
d29 3
@


1.3.2.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.4 2012/11/03 14:25:32 tsutsui Exp $
a10 5
# Optional variables:
#	INSTIMAGEMB
#		target image size in MB
#		(if empty default IMAGEMB in Makefile.bootimage is used)
#
a23 3
.if defined(INSTIMAGEMB)
IMAGEMB=	${INSTIMAGEMB}
.endif
@


1.2
log
@Fix checks for RELEASEDIR (and xxxxIMGBASE) variables to perform it
only on live_image or install_image targets.  PR toolchain/45864
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.1 2012/01/22 03:53:30 tsutsui Exp $
d38 1
a38 1
# XXX: no permittion info for makefs(8)
@


1.2.4.1
log
@file Makefile.installimage was added on branch yamt-pagecache on 2012-04-17 00:02:32 +0000
@
text
@d1 62
@


1.2.4.2
log
@sync with head
@
text
@a0 62
#	$NetBSD$
#
# Common Makefile to create a bootable installation image for USB flash etc.
#

#
# Required variables:
#	INSTIMGBASE
#		Basename of the liveimage
#
# See Makefile.bootimage for other variables.
#

.if !target(check_INSTIMGBASE)
check_INSTIMGBASE: .PHONY .NOTMAIN
.if !defined(INSTIMGBASE)
	@@echo "Error: INSTIMGBASE is not set"
	@@false
.else
	@@true
.endif
.endif

SWAPMB=		0			# no swap
OMIT_SWAPIMG=	yes			# nothing to write

KERN_SET?=	kern-GENERIC
SETS?=		modules base etc

FSTAB_IN?=	${NETBSDSRCDIR}/distrib/common/bootimage/fstab.install.in

.if ${USE_MBR} != "no"
DISKPROTO_IN?=	${NETBSDSRCDIR}/distrib/common/bootimage/diskproto.noswap.mbr.in
.else
DISKPROTO_IN?=	${NETBSDSRCDIR}/distrib/common/bootimage/diskproto.noswap.in
.endif

# XXX: no permittion info for makefs(8)
IMGDIR_EXTRA=	${RELEASEDIR}/${RELEASEMACHINEDIR}	${RELEASEMACHINEDIR}
IMGDIR_EXCLUDE= 	-s ',./installation/cdrom.*,,gp'
IMGDIR_EXCLUDE+=	-s ',./installation/liveimage.*,,gp'
IMGDIR_EXCLUDE+=	-s ',./installation/installimage.*,,gp'

IMGBASE=        ${INSTIMGBASE}

.include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.bootimage"

# INSTIMG_RELEASEDIR specifies where to install ${INSTIMGBASE}.img.gz.
# This should be passed from etc/Makefile or etc/etc.${MACHINE}/Makefile.inc
# but also set default here for manual builds.
INSTIMG_RELEASEDIR?=	${RELEASEMACHINEDIR}/installation/installimage

# should be defined elsewhere? 
MKDIR?=		mkdir -p

install_image: check_INSTIMGBASE check_RELEASEDIR ${IMGBASE}.img.gz
	${MKDIR} ${INSTIMG_RELEASEDIR}
	${RELEASE_INSTALL} ${IMGBASE}.img.gz ${INSTIMG_RELEASEDIR}
	# note ${MAKESUM} will be calculated in src/etc/Makefile

release:

@


1.2.4.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.2.4.2 2012/04/17 00:02:32 yamt Exp $
d38 1
a38 1
# XXX: no permission info for makefs(8)
@


1.2.4.4
log
@sync with (a bit old) head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.installimage,v 1.2.4.3 2012/05/23 10:07:08 yamt Exp $
a10 5
# Optional variables:
#	INSTIMAGEMB
#		target image size in MB
#		(if empty default IMAGEMB in Makefile.bootimage is used)
#
a23 3
.if defined(INSTIMAGEMB)
IMAGEMB=	${INSTIMAGEMB}
.endif
@


1.1
log
@Add "live-image" and "install-image" target support to build.sh.

"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
 msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@@, riz@@ and christos@@.

Closes PR toolchain/45153 and PR misc/45155.
@
text
@d1 1
a1 1
#	$NetBSD$
d14 3
a16 2
.if empty(INSTIMGBASE)
.BEGIN:
d19 2
a21 4
.if empty(RELEASEDIR)
.BEGIN:
	@@echo "Error: RELEASEDIR is not set"
	@@false
d56 1
a56 1
install_image: ${IMGBASE}.img.gz
@

