head	1.17;
access;
symbols
	netbsd-11-0-RC4:1.17
	netbsd-11-0-RC3:1.17
	netbsd-11-0-RC2:1.17
	netbsd-11-0-RC1:1.17
	perseant-exfatfs-base-20250801:1.17
	netbsd-11:1.17.0.4
	netbsd-11-base:1.17
	netbsd-10-1-RELEASE:1.16.2.1
	perseant-exfatfs-base-20240630:1.17
	perseant-exfatfs:1.17.0.2
	perseant-exfatfs-base:1.17
	netbsd-8-3-RELEASE:1.11.8.1
	netbsd-9-4-RELEASE:1.14.2.2
	netbsd-10-0-RELEASE:1.16.2.1
	netbsd-10-0-RC6:1.16
	netbsd-10-0-RC5:1.16
	netbsd-10-0-RC4:1.16
	netbsd-10-0-RC3:1.16
	netbsd-10-0-RC2:1.16
	netbsd-10-0-RC1:1.16
	netbsd-10:1.16.0.2
	netbsd-10-base:1.16
	netbsd-9-3-RELEASE:1.14.2.1
	cjep_sun2x-base1:1.15
	cjep_sun2x:1.15.0.6
	cjep_sun2x-base:1.15
	cjep_staticlib_x-base1:1.15
	netbsd-9-2-RELEASE:1.14
	cjep_staticlib_x:1.15.0.4
	cjep_staticlib_x-base:1.15
	netbsd-9-1-RELEASE:1.14
	phil-wifi-20200421:1.15
	phil-wifi-20200411:1.15
	is-mlppp:1.15.0.2
	is-mlppp-base:1.15
	phil-wifi-20200406:1.15
	netbsd-8-2-RELEASE:1.11
	netbsd-9-0-RELEASE:1.14
	netbsd-9-0-RC2:1.14
	netbsd-9-0-RC1:1.14
	phil-wifi-20191119:1.14
	netbsd-9:1.14.0.2
	netbsd-9-base:1.14
	phil-wifi-20190609:1.14
	netbsd-8-1-RELEASE:1.11
	netbsd-8-1-RC1:1.11
	pgoyette-compat-merge-20190127:1.11.14.1
	pgoyette-compat-20190127:1.12
	pgoyette-compat-20190118:1.12
	pgoyette-compat-1226:1.12
	pgoyette-compat-1126:1.12
	pgoyette-compat-1020:1.12
	pgoyette-compat-0930:1.12
	pgoyette-compat-0906:1.12
	netbsd-7-2-RELEASE:1.10.10.1
	pgoyette-compat-0728:1.12
	netbsd-8-0-RELEASE:1.11
	phil-wifi:1.12.0.2
	phil-wifi-base:1.12
	pgoyette-compat-0625:1.12
	netbsd-8-0-RC2:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.10.10.1
	pgoyette-compat:1.11.0.14
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.10.10.1
	matt-nb8-mediatek:1.11.0.12
	matt-nb8-mediatek-base:1.11
	perseant-stdc-iso10646:1.11.0.10
	perseant-stdc-iso10646-base:1.11
	netbsd-8:1.11.0.8
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.6
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.10.10.1.0.4
	netbsd-7-1-RELEASE:1.10.10.1
	netbsd-7-1-RC2:1.10.10.1
	netbsd-7-nhusb-base-20170116:1.10.10.1
	bouyer-socketcan:1.11.0.4
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	netbsd-7-1-RC1:1.10.10.1
	pgoyette-localcount-20161104:1.11
	netbsd-7-0-2-RELEASE:1.10.12.1
	localcount-20160914:1.11
	netbsd-7-nhusb:1.10.10.1.0.2
	netbsd-7-nhusb-base:1.10.10.1
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.2
	pgoyette-localcount-base:1.11
	netbsd-7-0-1-RELEASE:1.10.12.1
	netbsd-7-0:1.10.0.12
	netbsd-7-0-RELEASE:1.10
	netbsd-7-0-RC3:1.10
	netbsd-7-0-RC2:1.10
	netbsd-7-0-RC1:1.10
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	netbsd-6-0-6-RELEASE:1.9
	netbsd-6-1-5-RELEASE:1.9
	netbsd-7:1.10.0.10
	netbsd-7-base:1.10
	yamt-pagecache-base9:1.10
	yamt-pagecache-tag8:1.9.6.1
	netbsd-6-1-4-RELEASE:1.9
	netbsd-6-0-5-RELEASE:1.9
	tls-earlyentropy:1.10.0.8
	tls-earlyentropy-base:1.10
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.10
	riastradh-drm2-base3:1.10
	netbsd-6-1-3-RELEASE:1.9
	netbsd-6-0-4-RELEASE:1.9
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.9
	netbsd-6-0-3-RELEASE:1.9
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	netbsd-6-1-1-RELEASE:1.9
	riastradh-drm2-base2:1.10
	riastradh-drm2-base1:1.10
	riastradh-drm2:1.10.0.2
	riastradh-drm2-base:1.10
	netbsd-6-1:1.9.0.16
	netbsd-6-0-2-RELEASE:1.9
	netbsd-6-1-RELEASE:1.9
	khorben-n900:1.10.0.6
	netbsd-6-1-RC4:1.9
	netbsd-6-1-RC3:1.9
	agc-symver:1.10.0.4
	agc-symver-base:1.10
	netbsd-6-1-RC2:1.9
	netbsd-6-1-RC1:1.9
	yamt-pagecache-base8:1.10
	netbsd-5-2:1.3.0.22
	netbsd-6-0-1-RELEASE:1.9
	yamt-pagecache-base7:1.10
	netbsd-5-2-RELEASE:1.3
	netbsd-5-2-RC1:1.3
	matt-nb6-plus-nbase:1.9
	yamt-pagecache-base6:1.10
	netbsd-6-0:1.9.0.14
	netbsd-6-0-RELEASE:1.9
	netbsd-6-0-RC2:1.9
	tls-maxphys:1.9.0.12
	tls-maxphys-base:1.10
	matt-nb6-plus:1.9.0.10
	matt-nb6-plus-base:1.9
	netbsd-6-0-RC1:1.9
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-6:1.9.0.8
	netbsd-6-base:1.9
	netbsd-5-1-2-RELEASE:1.3
	netbsd-5-1-1-RELEASE:1.3
	yamt-pagecache-base3:1.9
	yamt-pagecache-base2:1.9
	yamt-pagecache:1.9.0.6
	yamt-pagecache-base:1.9
	cherry-xenmp:1.9.0.4
	cherry-xenmp-base:1.9
	bouyer-quota2-nbase:1.9
	bouyer-quota2:1.9.0.2
	bouyer-quota2-base:1.9
	matt-mips64-premerge-20101231:1.9
	matt-nb5-mips64-premerge-20101231:1.3
	matt-nb5-pq3:1.3.0.20
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.18
	netbsd-5-1-RELEASE:1.3
	netbsd-5-1-RC4:1.3
	matt-nb5-mips64-k15:1.3
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	netbsd-5-1-RC1:1.3
	netbsd-5-0-2-RELEASE:1.3
	matt-nb5-mips64-premerge-20091211:1.3
	matt-premerge-20091211:1.7
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3
	matt-nb4-mips64-k7-u2a-k9b:1.3
	matt-nb5-mips64-u1-k1-k5:1.3
	matt-nb5-mips64:1.3.0.16
	netbsd-5-0-1-RELEASE:1.3
	jym-xensuspend-nbase:1.5
	netbsd-5-0:1.3.0.14
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.4.0.2
	jym-xensuspend-base:1.5
	netbsd-5-0-RC1:1.3
	netbsd-5:1.3.0.12
	netbsd-5-base:1.3
	matt-mips64-base2:1.3
	matt-mips64:1.2.0.8
	netbsd-4-0-1-RELEASE:1.1
	wrstuden-revivesa-base-3:1.3
	wrstuden-revivesa-base-2:1.3
	wrstuden-fixsa-newbase:1.1
	wrstuden-revivesa-base-1:1.3
	yamt-pf42-base4:1.3
	yamt-pf42-base3:1.3
	hpcarm-cleanup-nbase:1.3
	yamt-pf42-baseX:1.3
	yamt-pf42-base2:1.3
	wrstuden-revivesa:1.3.0.10
	wrstuden-revivesa-base:1.3
	yamt-pf42:1.3.0.8
	yamt-pf42-base:1.3
	mjf-devfs2:1.3.0.6
	mjf-devfs2-base:1.3
	keiichi-mipv6:1.3.0.4
	keiichi-mipv6-base:1.3
	mjf-devfs:1.3.0.2
	mjf-devfs-base:1.3
	matt-armv6-nbase:1.3
	matt-armv6-prevmlocking:1.2
	wrstuden-fixsa-base-1:1.1
	netbsd-4-0:1.1.0.8
	netbsd-4-0-RELEASE:1.1
	cube-autoconf:1.2.0.6
	cube-autoconf-base:1.2
	netbsd-4-0-RC5:1.1
	netbsd-4-0-RC4:1.1
	netbsd-4-0-RC3:1.1
	netbsd-4-0-RC2:1.1
	netbsd-4-0-RC1:1.1
	matt-armv6:1.2.0.4
	matt-armv6-base:1.2
	matt-mips64-base:1.2
	hpcarm-cleanup:1.2.0.2
	hpcarm-cleanup-base:1.3
	wrstuden-fixsa:1.1.0.6
	wrstuden-fixsa-base:1.1
	abandoned-netbsd-4-base:1.1
	abandoned-netbsd-4:1.1.0.2
	netbsd-4:1.1.0.4
	netbsd-4-base:1.1;
locks; strict;
comment	@# @;


1.17
date	2024.03.20.13.51.35;	author riastradh;	state Exp;
branches;
next	1.16;
commitid	aBlEDxyiJu5S5U2F;

1.16
date	2022.04.10.11.56.28;	author martin;	state Exp;
branches
	1.16.2.1;
next	1.15;
commitid	v8GPNIvsYR72hEzD;

1.15
date	2019.12.29.18.26.16;	author christos;	state Exp;
branches;
next	1.14;
commitid	QaphWvAMkPXycDQB;

1.14
date	2019.01.27.04.22.46;	author dholland;	state Exp;
branches
	1.14.2.1;
next	1.13;
commitid	gVo08ltYpp9pln9B;

1.13
date	2019.01.27.02.08.33;	author pgoyette;	state Exp;
branches;
next	1.12;
commitid	ipPva1Pj3xTcBm9B;

1.12
date	2018.06.21.11.48.05;	author kamil;	state Exp;
branches
	1.12.2.1;
next	1.11;
commitid	MoX6Xjm9ZT9VR8HA;

1.11
date	2015.10.07.14.09.04;	author martin;	state Exp;
branches
	1.11.8.1
	1.11.14.1;
next	1.10;
commitid	glLntdx6folQpbEy;

1.10
date	2012.10.16.08.23.20;	author apb;	state Exp;
branches
	1.10.10.1
	1.10.12.1;
next	1.9;

1.9
date	2010.02.11.09.06.47;	author roy;	state Exp;
branches
	1.9.6.1
	1.9.12.1;
next	1.8;

1.8
date	2010.02.05.10.01.17;	author roy;	state Exp;
branches;
next	1.7;

1.7
date	2009.09.20.23.19.51;	author abs;	state Exp;
branches;
next	1.6;

1.6
date	2009.09.20.19.49.07;	author abs;	state Exp;
branches;
next	1.5;

1.5
date	2009.04.07.11.49.16;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	2009.01.25.22.08.37;	author abs;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2008.02.01.13.43.12;	author tsutsui;	state Exp;
branches
	1.3.2.1
	1.3.6.1;
next	1.2;

1.2
date	2007.05.10.23.22.28;	author dogcow;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2006.06.02.22.11.52;	author hubertf;	state Exp;
branches;
next	;

1.16.2.1
date	2024.03.25.15.18.22;	author martin;	state Exp;
branches;
next	;
commitid	D974HGH3j5FGpy3F;

1.14.2.1
date	2022.04.13.03.39.23;	author snj;	state Exp;
branches;
next	1.14.2.2;
commitid	VsyCK8SCdZqHqZzD;

1.14.2.2
date	2024.03.25.15.19.44;	author martin;	state Exp;
branches;
next	;
commitid	cAoZvWWXOyB9qy3F;

1.12.2.1
date	2019.06.10.21.42.18;	author christos;	state Exp;
branches;
next	1.12.2.2;
commitid	jtc8rnCzWiEEHGqB;

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

1.11.8.1
date	2024.03.25.15.21.04;	author martin;	state Exp;
branches;
next	;
commitid	YctfyFOs3GWBqy3F;

1.11.14.1
date	2018.06.25.07.25.05;	author pgoyette;	state Exp;
branches;
next	;
commitid	8PtAu9af7VvhiDHA;

1.10.10.1
date	2015.10.15.20.30.57;	author snj;	state Exp;
branches;
next	;
commitid	bLfitFp7lApXgfFy;

1.10.12.1
date	2015.10.15.20.31.50;	author snj;	state Exp;
branches;
next	;
commitid	gr5rduNn5i8fhfFy;

1.9.6.1
date	2012.10.30.18.48.28;	author yamt;	state Exp;
branches;
next	;

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

1.4.2.1
date	2009.05.13.19.17.39;	author jym;	state Exp;
branches;
next	;

1.3.2.1
date	2008.02.01.13.43.12;	author tsutsui;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2008.02.01.13.43.13;	author tsutsui;	state Exp;
branches;
next	;

1.3.6.1
date	2008.10.05.20.10.12;	author mjf;	state dead;
branches;
next	;

1.2.4.1
date	2008.03.23.00.21.00;	author matt;	state Exp;
branches;
next	;


desc
@@


1.17
log
@x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.

PR misc/57534
@
text
@#	$NetBSD: Makefile.ramdisk,v 1.16 2022/04/10 11:56:28 martin Exp $

NOSANITIZER=	# defined

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

AMD64COMMON=	${.CURDIR}/../common

.PATH:		${AMD64COMMON}

WARNS=		1
DBG=		-Os -fno-asynchronous-unwind-tables

CRUNCHBIN=	ramdiskbin

# Use ${.CURDIR}/list only if LISTS was not already defined by the caller.
LISTS?=		${.CURDIR}/list
LISTS+=		${AMD64COMMON}/list.ramdisk
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	le
IMAGEDEPENDS+= 	${CRUNCHBIN} \
		dot.profile \
		${DESTDIR}/usr/mdec/boot \
		${DESTDIR}/usr/mdec/bootxx_ffsv1 \
		${DESTDIR}/usr/mdec/mbr \
		${DESTDIR}/usr/mdec/mbr_ext \
		${DESTDIR}/usr/mdec/mbr_bootsel \
		${DESTDIR}/usr/mdec/gptmbr.bin \
		${DESTDIR}/usr/mdec/bootia32.efi \
		${DESTDIR}/usr/mdec/bootx64.efi \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services
PARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}

.if defined(USE_SYSINST)
LISTS+=		${DISTRIBDIR}/common/list.sysinst
MAKEFS_FLAGS+=	-f 14
.endif

# Use stubs to eliminate some large stuff from libc
HACKSRC=	${DISTRIBDIR}/utils/libhack
.include	"${HACKSRC}/Makefile.inc"
${CRUNCHBIN}:	libhack.o

.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

release:	${IMAGE}
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${IMAGE} \
		${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/

.include <bsd.prog.mk>
@


1.16
log
@Add missing EFI bootloaders to the install kernel ramdisk,
noticed by Lloyd Parkes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.15 2019/12/29 18:26:16 christos Exp $
d52 3
a54 1
release:
@


1.16.2.1
log
@Pull up following revision(s) (requested by riastradh in ticket #642):

	etc/etc.amd64/Makefile.inc: revision 1.17
	distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.17
	etc/etc.i386/Makefile.inc: revision 1.70
	distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.16

x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.16 2022/04/10 11:56:28 martin Exp $
d52 1
a52 3
release:	${IMAGE}
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${IMAGE} \
		${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/
@


1.15
log
@1. Remove all the special handling of variables (-d -p -P -s -S) that
   were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
   disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
   and LDSTATIC used to be passed before) instead of appending them
   to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
   flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.14 2019/01/27 04:22:46 dholland Exp $
d30 2
@


1.14
log
@fix duplicated chunk from merge
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.13 2019/01/27 02:08:33 pgoyette Exp $
a13 1
CRUNCHGEN_FLAGS= -d "${DBG}"
@


1.14.2.1
log
@Pull up following revision(s) (requested by martin in ticket #1436):
	distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.16
	distrib/amd64/ramdisks/common/list.ramdisk: revision 1.22
Add missing EFI bootloaders to the install kernel ramdisk,
noticed by Lloyd Parkes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.14 2019/01/27 04:22:46 dholland Exp $
a30 2
		${DESTDIR}/usr/mdec/bootia32.efi \
		${DESTDIR}/usr/mdec/bootx64.efi \
@


1.14.2.2
log
@Pull up following revision(s) (requested by riastradh in ticket #1820):

	etc/etc.amd64/Makefile.inc: revision 1.17
	distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.17
	etc/etc.i386/Makefile.inc: revision 1.70
	distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.16

x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.14.2.1 2022/04/13 03:39:23 snj Exp $
d53 1
a53 3
release:	${IMAGE}
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${IMAGE} \
		${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/
@


1.13
log
@Merge the [pgoyette-compat] branch
@
text
@d1 1
a1 3
#	$NetBSD: Makefile.ramdisk,v 1.12 2018/06/21 11:48:05 kamil Exp $

NOSANITIZER=	# defined
@


1.12
log
@Specify NOSANITIZER in distrib/amd64/ramdisks/common

This option cannot be set in distrib/common/Makefile.distrib as it's too
late, after including <bsd.own.mk> that will set MKSANITIZER.

This makes generation of ramdisk for amd64 with MKSANITIZER=yes successful.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile.ramdisk,v 1.11 2015/10/07 14:09:04 martin Exp $
@


1.12.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.14 2019/01/27 04:22:46 dholland Exp $
@


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


1.11
log
@PR install/50311: missing gptmbr.bin on ramdisk based installs.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile.ramdisk,v 1.10 2012/10/16 08:23:20 apb Exp $
@


1.11.8.1
log
@Pull up following revision(s) (requested by riastradh in ticket #1949):

	etc/etc.amd64/Makefile.inc: revision 1.17
	distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.17
	etc/etc.i386/Makefile.inc: revision 1.70
	distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.16

x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.11 2015/10/07 14:09:04 martin Exp $
d49 1
a49 3
release:	${IMAGE}
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${IMAGE} \
		${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/
@


1.11.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 3
#	$NetBSD: Makefile.ramdisk,v 1.12 2018/06/21 11:48:05 kamil Exp $

NOSANITIZER=	# defined
@


1.10
log
@In distrib/*/ramdisks/common/Makefile.ramdisk, allow the caller to
pre-define the LISTS variable if they do not want it to include
${.CURDIR}/lists.  This opens the possibility of making some of the
many distrib/*/ramdisks/*/lists files shared in the future.

XXX: Some of the differences between these files seem to be unnecessary.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.9 2010/02/11 09:06:47 roy Exp $
d28 1
@


1.10.12.1
log
@Pull up following revision(s) (requested by martin in ticket #992):
	distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.11
	distrib/amd64/ramdisks/common/list.ramdisk: revision 1.20
	distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.12
	distrib/i386/ramdisks/common/list.ramdisk: revision 1.26
PR install/50311: missing gptmbr.bin on ramdisk based installs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.10 2012/10/16 08:23:20 apb Exp $
a27 1
		${DESTDIR}/usr/mdec/gptmbr.bin \
@


1.10.10.1
log
@Pull up following revision(s) (requested by martin in ticket #992):
	distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.11
	distrib/amd64/ramdisks/common/list.ramdisk: revision 1.20
	distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.12
	distrib/i386/ramdisks/common/list.ramdisk: revision 1.26
PR install/50311: missing gptmbr.bin on ramdisk based installs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.10 2012/10/16 08:23:20 apb Exp $
a27 1
		${DESTDIR}/usr/mdec/gptmbr.bin \
@


1.9
log
@Remove terminfo.db as it's now embedded in libterminfo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.8 2010/02/05 10:01:17 roy Exp $
d15 4
a18 1
LISTS=		${.CURDIR}/list ${AMD64COMMON}/list.ramdisk
@


1.9.12.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.10 2012/10/16 08:23:20 apb Exp $
d15 1
a15 4

# Use ${.CURDIR}/list only if LISTS was not already defined by the caller.
LISTS?=		${.CURDIR}/list
LISTS+=		${AMD64COMMON}/list.ramdisk
@


1.9.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.9 2010/02/11 09:06:47 roy Exp $
d15 1
a15 4

# Use ${.CURDIR}/list only if LISTS was not already defined by the caller.
LISTS?=		${.CURDIR}/list
LISTS+=		${AMD64COMMON}/list.ramdisk
@


1.8
log
@Use the rescue terminfo.db in our images instead of termcap.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.7 2009/09/20 23:19:51 abs Exp $
d27 1
a27 2
		${DISTRIBDIR}/common/services \
		${DESTDIR}/rescue/terminfo.db
@


1.7
log
@34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.6 2009/09/20 19:49:07 abs Exp $
d28 1
a28 1
		${DISTRIBDIR}/common/termcap
@


1.6
log
@${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.5 2009/04/07 11:49:16 joerg Exp $
d28 1
a28 1
		${NETBSDSRCDIR}/distrib/common/termcap.mini
@


1.5
log
@Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.4 2009/01/25 22:08:37 abs Exp $
d26 2
a27 2
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/distrib/common/protocols \
		${NETBSDSRCDIR}/distrib/common/services \
@


1.4
log
@Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.3 2008/02/01 13:43:12 tsutsui Exp $
d42 1
@


1.4.2.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.5 2009/04/07 11:49:16 joerg Exp $
a41 1
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
@


1.3
log
@Move and share a common termcap.mini file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.2 2007/05/10 23:22:28 dogcow Exp $
d26 1
a26 1
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
@


1.3.2.1
log
@file Makefile.ramdisk was added on branch mjf-devfs on 2008-02-01 13:43:13 +0000
@
text
@d1 47
@


1.3.2.2
log
@Move and share a common termcap.mini file.
@
text
@a0 47
#	$NetBSD: Makefile.ramdisk,v 1.3 2008/02/01 13:43:12 tsutsui Exp $

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

AMD64COMMON=	${.CURDIR}/../common

.PATH:		${AMD64COMMON}

WARNS=		1
DBG=		-Os -fno-asynchronous-unwind-tables
CRUNCHGEN_FLAGS= -d "${DBG}"

CRUNCHBIN=	ramdiskbin
LISTS=		${.CURDIR}/list ${AMD64COMMON}/list.ramdisk
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	le
IMAGEDEPENDS+= 	${CRUNCHBIN} \
		dot.profile \
		${DESTDIR}/usr/mdec/boot \
		${DESTDIR}/usr/mdec/bootxx_ffsv1 \
		${DESTDIR}/usr/mdec/mbr \
		${DESTDIR}/usr/mdec/mbr_ext \
		${DESTDIR}/usr/mdec/mbr_bootsel \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
		${NETBSDSRCDIR}/distrib/common/services \
		${NETBSDSRCDIR}/distrib/common/termcap.mini
PARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}

.if defined(USE_SYSINST)
LISTS+=		${DISTRIBDIR}/common/list.sysinst
MAKEFS_FLAGS+=	-f 14
.endif

# Use stubs to eliminate some large stuff from libc
HACKSRC=	${DISTRIBDIR}/utils/libhack
.include	"${HACKSRC}/Makefile.inc"
${CRUNCHBIN}:	libhack.o

.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

release:

.include <bsd.prog.mk>
@


1.3.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.3 2008/02/01 13:43:12 tsutsui Exp $
@


1.2
log
@Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.1 2006/06/02 22:11:52 hubertf Exp $
d19 1
a19 1
		dot.profile termcap.mini \
d27 2
a28 1
		${NETBSDSRCDIR}/distrib/common/services
@


1.2.4.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	Makefile.ramdisk,v 1.2 2007/05/10 23:22:28 dogcow Exp
d19 1
a19 1
		dot.profile \
d27 1
a27 2
		${NETBSDSRCDIR}/distrib/common/services \
		${NETBSDSRCDIR}/distrib/common/termcap.mini
@


1.1
log
@Prepare creation of boot CDs:

 * Move files in distrib/amd64:

floppies/instkernel/Makefile -> instkernel/Makefile
floppies/ramdisk/Makefile -> ramdisks/ramdisk/Makefile
floppies/ramdisk/disktab.preinstall -> ramdisks/ramdisk/disktab.preinstall
floppies/ramdisk/list -> ramdisks/ramdisk/list
floppies/ramdisk/list.inet6 -> ramdisks/ramdisk/list.inet6
floppies/common/Makefile.ramdisk -> ramdisks/common/Makefile.ramdisk
floppies/common/dot.profile -> ramdisks/common/dot.profile
floppies/common/list.ramdisk -> ramdisks/common/list.ramdisk
floppies/common/termcap.mini -> ramdisks/common/termcap.mini

 * Adjust paths
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.5 2006/05/07 13:54:53 hubertf Exp $
d27 1
a27 1
		${NETBSDSRCDIR}/etc/services
@

