head	1.8;
access;
symbols
	perseant-exfatfs-base-20250801:1.8
	perseant-exfatfs-base-20240630:1.8
	perseant-exfatfs:1.8.0.6
	perseant-exfatfs-base:1.8
	netbsd-8-3-RELEASE:1.2
	netbsd-9-4-RELEASE:1.6.2.2
	netbsd-9-3-RELEASE:1.6.2.2
	cjep_sun2x:1.8.0.4
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	netbsd-9-2-RELEASE:1.6.2.2
	cjep_staticlib_x:1.8.0.2
	cjep_staticlib_x-base:1.8
	netbsd-9-1-RELEASE:1.6.2.2
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.7.0.2
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.2
	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.2
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1:1.2
	pgoyette-compat-merge-20190127:1.4.2.2
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.5.0.2
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.2
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	pgoyette-compat:1.4.0.2
	pgoyette-compat-base:1.4
	matt-nb8-mediatek:1.2.0.6
	matt-nb8-mediatek-base:1.2
	perseant-stdc-iso10646:1.2.0.4
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.2
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.1
	prg-localcount2-base1:1.1
	prg-localcount2:1.1.0.6
	prg-localcount2-base:1.1
	pgoyette-localcount-20170426:1.1
	bouyer-socketcan:1.1.0.4
	bouyer-socketcan-base1:1.1
	pgoyette-localcount:1.1.0.2
	pgoyette-localcount-20170320:1.1;
locks; strict;
comment	@# @;


1.8
date	2020.05.27.22.27.58;	author maya;	state dead;
branches;
next	1.7;
commitid	cWiFO3sy6MINIV9C;

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

1.6
date	2018.12.15.18.03.17;	author gson;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	VnJTdkyNfhz4gV3B;

1.5
date	2018.03.28.22.38.47;	author joerg;	state Exp;
branches
	1.5.2.1;
next	1.4;
commitid	mtLLq7ZQXGj7dhwA;

1.4
date	2018.01.05.01.33.11;	author pgoyette;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	g57HCx5vLikkQClA;

1.3
date	2017.09.18.14.42.16;	author joerg;	state Exp;
branches;
next	1.2;
commitid	brv8WIkmW9xbIG7A;

1.2
date	2017.05.11.10.49.18;	author martin;	state Exp;
branches;
next	1.1;
commitid	rWolGeZs3BzMAXQz;

1.1
date	2017.01.24.11.16.50;	author nonaka;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.6.1;
next	;
commitid	lOXT4VXtddWMbdDz;

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

1.6.2.2
date	2020.05.31.10.21.34;	author martin;	state dead;
branches;
next	;
commitid	evmB07wkPEsYznaC;

1.5.2.1
date	2019.06.10.21.42.18;	author christos;	state Exp;
branches;
next	1.5.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.5.2.2
date	2020.04.08.14.03.43;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.4.2.1
date	2018.03.30.06.20.05;	author pgoyette;	state Exp;
branches;
next	1.4.2.2;
commitid	h5ZWTFXyqL8kJrwA;

1.4.2.2
date	2018.12.26.14.01.10;	author pgoyette;	state Exp;
branches;
next	;
commitid	xUhK8IAeBM1azj5B;

1.1.2.1
date	2017.01.24.11.16.50;	author pgoyette;	state dead;
branches;
next	1.1.2.2;
commitid	jjw7cAwgyKq7RfKz;

1.1.2.2
date	2017.03.20.06.52.03;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.1.4.1
date	2017.01.24.11.16.50;	author nonaka;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2017.01.24.11.16.51;	author nonaka;	state Exp;
branches;
next	;

1.1.6.1
date	2017.05.19.00.22.51;	author pgoyette;	state Exp;
branches;
next	;
commitid	QNTxgGjVagwoSVRz;


desc
@@


1.8
log
@rename amd64 uefi-installimage to be just installimage.

Works for both purposes, no confusing name.
@
text
@#	$NetBSD: Makefile,v 1.7 2019/11/21 22:29:03 joerg Exp $

.include <bsd.own.mk>

INSTIMGBASE=	NetBSD-${DISTRIBVER}-amd64-uefi-install	# gives ${IMGBASE}.img

INSTIMAGEMB?=	1550			# for all installation binaries

PRIMARY_BOOT=		bootxx_ffsv1
SECONDARY_BOOT=		boot
SECONDARY_BOOT_ARG=	# unnecessary
EFIBOOT=		${WORKDIR}/usr/mdec/bootx64.efi
EFIBOOT+=		${WORKDIR}/usr/mdec/bootia32.efi
#EFIBOOT=		${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootx64/bootx64.efi
#EFIBOOT+=		${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootia32/bootia32.efi

USE_MBR=		yes
USE_GPT=		yes

CLEANFILES+=	boot.cfg

prepare_md_post:
	${TOOL_SED}							\
	    -e "s/@@@@MACHINE@@@@/${MACHINE}/"				\
	    -e "s/@@@@VERSION@@@@/${DISTRIBVER}/"				\
	    < ${.CURDIR}/boot.cfg.in > boot.cfg

DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd
SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}

SPEC_EXTRA=		${.CURDIR}/spec.inst
IMGFILE_EXTRA=								\
	${.CURDIR}/etc.ttys		etc/ttys			\
	${.CURDIR}/etc.rc		etc/rc				\
	${.CURDIR}/install.sh		.				\
	${.OBJDIR}/boot.cfg		.				\
	${SYSINSTDIR}/sysinstmsgs.de	.				\
	${SYSINSTDIR}/sysinstmsgs.es	.				\
	${SYSINSTDIR}/sysinstmsgs.fr	.				\
	${SYSINSTDIR}/sysinstmsgs.pl	.				\
	${SYSINSTDIR}/sysinst		.

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


1.7
log
@Merge amd64's UEFI logic back into the generic bootimage handling.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2018/12/15 18:03:17 gson Exp $
@


1.6
log
@Use the special device name "ROOT." in /etc/fstab not just on the arm
images, but also on the bootable disk images of other ports, so that
they can be booted from differently named devices.  Merge the i386 and
amd64 -live-sd0root and -live-wd0root images into a single live image
per port, bootable both from usb media and in qemu.  Drop the -xx0root
suffixes from image names as they are no longer meaningful.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2018/03/28 22:38:47 joerg Exp $
d43 1
a43 1
.include "${.CURDIR}/Makefile.installimage"
@


1.6.2.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 2018/12/15 18:03:17 gson Exp $
d43 1
a43 1
.include "${NETBSDSRCDIR}/distrib/common/bootimage//Makefile.installimage"
@


1.6.2.2
log
@Pull up following revision(s) (requested by maya in ticket #933):

	distrib/amd64/uefi-installimage/spec.inst: file removal
	distrib/amd64/uefi-installimage/etc.rc: file removal
	distrib/amd64/uefi-installimage/Makefile.bootimage: file removal
	distrib/amd64/uefi-installimage/Makefile.installimage: file removal
	distrib/amd64/uefi-installimage/install.sh: file removal
	distrib/amd64/uefi-installimage/etc.ttys: file removal
	distrib/amd64/Makefile: revision 1.14
	distrib/amd64/uefi-installimage/boot.cfg.in: file removal
	distrib/amd64/uefi-installimage/Makefile: file removal
	distrib/amd64/installimage/Makefile: revision 1.11

rename amd64 uefi-installimage to be just installimage.

Works for both purposes, no confusing name.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6.2.1 2020/04/24 17:19:49 martin Exp $
@


1.5
log
@Bump image to 1550MB to unbreak the LLVM build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2018/01/05 01:33:11 pgoyette Exp $
a6 1
BOOTDISK=	dk1			# unused (use GUID)
@


1.5.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2018/12/15 18:03:17 gson Exp $
d7 1
@


1.5.2.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d43 1
a43 1
.include "${NETBSDSRCDIR}/distrib/common/bootimage//Makefile.installimage"
@


1.4
log
@Bump size of uefi image - we've outgrown the old size
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2017/09/18 14:42:16 joerg Exp $
d8 1
a8 1
INSTIMAGEMB?=	1500			# for all installation binaries
@


1.4.2.1
log
@Resolve conflicts between branch and HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2018/03/28 22:38:47 joerg Exp $
d8 1
a8 1
INSTIMAGEMB?=	1550			# for all installation binaries
@


1.4.2.2
log
@Sync with HEAD, resolve a few conflicts
@
text
@d1 1
a1 1
#	$NetBSD$
d7 1
@


1.3
log
@Bump install image sizes. Clang alone adds 100MB+ for a full debug build
and that pushes the full MKDEBUG build over the constraints.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2017/05/11 10:49:18 martin Exp $
d8 1
a8 1
INSTIMAGEMB?=	1450			# for all installation binaries
@


1.2
log
@Try to make images big enough for debug sets
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2017/01/24 11:16:50 nonaka Exp $
d8 1
a8 1
INSTIMAGEMB?=	1380			# for all installation binaries
@


1.1
log
@make amd64 EFI install image

XXX merge to installimage?
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
INSTIMAGEMB?=	1280			# for all installation binaries
@


1.1.4.1
log
@file Makefile was added on branch bouyer-socketcan on 2017-01-24 11:16:51 +0000
@
text
@d1 44
@


1.1.4.2
log
@1942630
@
text
@a0 44
#	$NetBSD: Makefile,v 1.1 2017/01/24 11:16:50 nonaka Exp $

.include <bsd.own.mk>

INSTIMGBASE=	NetBSD-${DISTRIBVER}-amd64-uefi-install	# gives ${IMGBASE}.img

BOOTDISK=	dk1			# unused (use GUID)
INSTIMAGEMB?=	1280			# for all installation binaries

PRIMARY_BOOT=		bootxx_ffsv1
SECONDARY_BOOT=		boot
SECONDARY_BOOT_ARG=	# unnecessary
EFIBOOT=		${WORKDIR}/usr/mdec/bootx64.efi
EFIBOOT+=		${WORKDIR}/usr/mdec/bootia32.efi
#EFIBOOT=		${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootx64/bootx64.efi
#EFIBOOT+=		${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootia32/bootia32.efi

USE_MBR=		yes
USE_GPT=		yes

CLEANFILES+=	boot.cfg

prepare_md_post:
	${TOOL_SED}							\
	    -e "s/@@@@MACHINE@@@@/${MACHINE}/"				\
	    -e "s/@@@@VERSION@@@@/${DISTRIBVER}/"				\
	    < ${.CURDIR}/boot.cfg.in > boot.cfg

DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd
SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}

SPEC_EXTRA=		${.CURDIR}/spec.inst
IMGFILE_EXTRA=								\
	${.CURDIR}/etc.ttys		etc/ttys			\
	${.CURDIR}/etc.rc		etc/rc				\
	${.CURDIR}/install.sh		.				\
	${.OBJDIR}/boot.cfg		.				\
	${SYSINSTDIR}/sysinstmsgs.de	.				\
	${SYSINSTDIR}/sysinstmsgs.es	.				\
	${SYSINSTDIR}/sysinstmsgs.fr	.				\
	${SYSINSTDIR}/sysinstmsgs.pl	.				\
	${SYSINSTDIR}/sysinst		.

.include "${.CURDIR}/Makefile.installimage"
@


1.1.6.1
log
@Resolve conflicts from previous merge (all resulting from $NetBSD
keywork expansion)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2017/05/11 10:49:18 martin Exp $
d8 1
a8 1
INSTIMAGEMB?=	1380			# for all installation binaries
@


1.1.2.1
log
@file Makefile was added on branch pgoyette-localcount on 2017-03-20 06:52:03 +0000
@
text
@d1 44
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 44
#	$NetBSD: Makefile,v 1.1 2017/01/24 11:16:50 nonaka Exp $

.include <bsd.own.mk>

INSTIMGBASE=	NetBSD-${DISTRIBVER}-amd64-uefi-install	# gives ${IMGBASE}.img

BOOTDISK=	dk1			# unused (use GUID)
INSTIMAGEMB?=	1280			# for all installation binaries

PRIMARY_BOOT=		bootxx_ffsv1
SECONDARY_BOOT=		boot
SECONDARY_BOOT_ARG=	# unnecessary
EFIBOOT=		${WORKDIR}/usr/mdec/bootx64.efi
EFIBOOT+=		${WORKDIR}/usr/mdec/bootia32.efi
#EFIBOOT=		${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootx64/bootx64.efi
#EFIBOOT+=		${.OBJDIR}/../../../sys/arch/i386/stand/efiboot/bootia32/bootia32.efi

USE_MBR=		yes
USE_GPT=		yes

CLEANFILES+=	boot.cfg

prepare_md_post:
	${TOOL_SED}							\
	    -e "s/@@@@MACHINE@@@@/${MACHINE}/"				\
	    -e "s/@@@@VERSION@@@@/${DISTRIBVER}/"				\
	    < ${.CURDIR}/boot.cfg.in > boot.cfg

DISTRIBDIR!= cd ${.CURDIR}/../.. ; pwd
SYSINSTDIR!= cd ${.CURDIR}/../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}

SPEC_EXTRA=		${.CURDIR}/spec.inst
IMGFILE_EXTRA=								\
	${.CURDIR}/etc.ttys		etc/ttys			\
	${.CURDIR}/etc.rc		etc/rc				\
	${.CURDIR}/install.sh		.				\
	${.OBJDIR}/boot.cfg		.				\
	${SYSINSTDIR}/sysinstmsgs.de	.				\
	${SYSINSTDIR}/sysinstmsgs.es	.				\
	${SYSINSTDIR}/sysinstmsgs.fr	.				\
	${SYSINSTDIR}/sysinstmsgs.pl	.				\
	${SYSINSTDIR}/sysinst		.

.include "${.CURDIR}/Makefile.installimage"
@


