head	1.10;
access;
symbols
	netbsd-11-0-RC4:1.10
	netbsd-11-0-RC3:1.10
	netbsd-11-0-RC2:1.10
	netbsd-11-0-RC1:1.10
	perseant-exfatfs-base-20250801:1.10
	netbsd-11:1.10.0.12
	netbsd-11-base:1.10
	netbsd-10-1-RELEASE:1.10
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.10
	perseant-exfatfs-base:1.10
	netbsd-8-3-RELEASE:1.8
	netbsd-9-4-RELEASE:1.9
	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.8
	netbsd-10-base:1.10
	netbsd-9-3-RELEASE:1.9
	cjep_sun2x-base1:1.10
	cjep_sun2x:1.10.0.6
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	netbsd-9-2-RELEASE:1.9
	cjep_staticlib_x:1.10.0.4
	cjep_staticlib_x-base:1.10
	netbsd-9-1-RELEASE:1.9
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	is-mlppp:1.10.0.2
	is-mlppp-base:1.10
	phil-wifi-20200406:1.10
	netbsd-8-2-RELEASE:1.8
	netbsd-9-0-RELEASE:1.9
	netbsd-9-0-RC2:1.9
	netbsd-9-0-RC1:1.9
	phil-wifi-20191119:1.9
	netbsd-9:1.9.0.2
	netbsd-9-base:1.9
	phil-wifi-20190609:1.9
	netbsd-8-1-RELEASE:1.8
	netbsd-8-1-RC1:1.8
	pgoyette-compat-merge-20190127:1.8.30.1
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.8
	pgoyette-compat-1020:1.8
	pgoyette-compat-0930:1.8
	pgoyette-compat-0906:1.8
	netbsd-7-2-RELEASE:1.8
	pgoyette-compat-0728:1.8
	netbsd-8-0-RELEASE:1.8
	phil-wifi:1.8.0.32
	phil-wifi-base:1.8
	pgoyette-compat-0625:1.8
	netbsd-8-0-RC2:1.8
	pgoyette-compat-0521:1.8
	pgoyette-compat-0502:1.8
	pgoyette-compat-0422:1.8
	netbsd-8-0-RC1:1.8
	pgoyette-compat-0415:1.8
	pgoyette-compat-0407:1.8
	pgoyette-compat-0330:1.8
	pgoyette-compat-0322:1.8
	pgoyette-compat-0315:1.8
	netbsd-7-1-2-RELEASE:1.8
	pgoyette-compat:1.8.0.30
	pgoyette-compat-base:1.8
	netbsd-7-1-1-RELEASE:1.8
	matt-nb8-mediatek:1.8.0.28
	matt-nb8-mediatek-base:1.8
	perseant-stdc-iso10646:1.8.0.26
	perseant-stdc-iso10646-base:1.8
	netbsd-8:1.8.0.24
	netbsd-8-base:1.8
	prg-localcount2-base3:1.8
	prg-localcount2-base2:1.8
	prg-localcount2-base1:1.8
	prg-localcount2:1.8.0.22
	prg-localcount2-base:1.8
	pgoyette-localcount-20170426:1.8
	bouyer-socketcan-base1:1.8
	pgoyette-localcount-20170320:1.8
	netbsd-7-1:1.8.0.20
	netbsd-7-1-RELEASE:1.8
	netbsd-7-1-RC2:1.8
	netbsd-7-nhusb-base-20170116:1.8
	bouyer-socketcan:1.8.0.18
	bouyer-socketcan-base:1.8
	pgoyette-localcount-20170107:1.8
	netbsd-7-1-RC1:1.8
	pgoyette-localcount-20161104:1.8
	netbsd-7-0-2-RELEASE:1.8
	localcount-20160914:1.8
	netbsd-7-nhusb:1.8.0.16
	netbsd-7-nhusb-base:1.8
	pgoyette-localcount-20160806:1.8
	pgoyette-localcount-20160726:1.8
	pgoyette-localcount:1.8.0.14
	pgoyette-localcount-base:1.8
	netbsd-7-0-1-RELEASE:1.8
	netbsd-7-0:1.8.0.12
	netbsd-7-0-RELEASE:1.8
	netbsd-7-0-RC3:1.8
	netbsd-7-0-RC2:1.8
	netbsd-7-0-RC1:1.8
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	netbsd-6-0-6-RELEASE:1.7
	netbsd-6-1-5-RELEASE:1.7
	netbsd-7:1.8.0.10
	netbsd-7-base:1.8
	yamt-pagecache-base9:1.8
	yamt-pagecache-tag8:1.7.6.1
	netbsd-6-1-4-RELEASE:1.7
	netbsd-6-0-5-RELEASE:1.7
	tls-earlyentropy:1.8.0.8
	tls-earlyentropy-base:1.8
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8
	riastradh-drm2-base3:1.8
	netbsd-6-1-3-RELEASE:1.7
	netbsd-6-0-4-RELEASE:1.7
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.7
	netbsd-6-0-3-RELEASE:1.7
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	netbsd-6-1-1-RELEASE:1.7
	riastradh-drm2-base2:1.8
	riastradh-drm2-base1:1.8
	riastradh-drm2:1.8.0.2
	riastradh-drm2-base:1.8
	netbsd-6-1:1.7.0.16
	netbsd-6-0-2-RELEASE:1.7
	netbsd-6-1-RELEASE:1.7
	khorben-n900:1.8.0.6
	netbsd-6-1-RC4:1.7
	netbsd-6-1-RC3:1.7
	agc-symver:1.8.0.4
	agc-symver-base:1.8
	netbsd-6-1-RC2:1.7
	netbsd-6-1-RC1:1.7
	yamt-pagecache-base8:1.8
	netbsd-5-2:1.1.0.24
	netbsd-6-0-1-RELEASE:1.7
	yamt-pagecache-base7:1.8
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.7
	yamt-pagecache-base6:1.8
	netbsd-6-0:1.7.0.14
	netbsd-6-0-RELEASE:1.7
	netbsd-6-0-RC2:1.7
	tls-maxphys:1.7.0.12
	tls-maxphys-base:1.8
	matt-nb6-plus:1.7.0.10
	matt-nb6-plus-base:1.7
	netbsd-6-0-RC1:1.7
	yamt-pagecache-base5:1.7
	yamt-pagecache-base4:1.7
	netbsd-6:1.7.0.8
	netbsd-6-base:1.7
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	yamt-pagecache-base3:1.7
	yamt-pagecache-base2:1.7
	yamt-pagecache:1.7.0.6
	yamt-pagecache-base:1.7
	cherry-xenmp:1.7.0.4
	cherry-xenmp-base:1.7
	bouyer-quota2-nbase:1.7
	bouyer-quota2:1.7.0.2
	bouyer-quota2-base:1.7
	matt-mips64-premerge-20101231:1.7
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.22
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.20
	netbsd-5-1-RELEASE:1.1
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	netbsd-5-1-RC1:1.1
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.5
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	matt-nb5-mips64:1.1.0.18
	netbsd-5-0-1-RELEASE:1.1
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.1.0.16
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.2.0.2
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.1
	netbsd-5:1.1.0.14
	netbsd-5-base:1.1
	matt-mips64-base2:1.1
	wrstuden-revivesa-base-3:1.1
	wrstuden-revivesa-base-2:1.1
	wrstuden-revivesa-base-1:1.1
	yamt-pf42-base4:1.1
	yamt-pf42-base3:1.1
	hpcarm-cleanup-nbase:1.1
	hpcarm-cleanup-base:1.1
	yamt-pf42-baseX:1.1
	yamt-pf42-base2:1.1
	wrstuden-revivesa:1.1.0.12
	wrstuden-revivesa-base:1.1
	yamt-pf42:1.1.0.10
	yamt-pf42-base:1.1
	mjf-devfs2:1.1.0.8
	mjf-devfs2-base:1.1
	keiichi-mipv6:1.1.0.6
	keiichi-mipv6-base:1.1
	mjf-devfs:1.1.0.4
	mjf-devfs-base:1.1
	matt-armv6-base:1.1
	matt-armv6:1.1.0.2
	matt-armv6-nbase:1.1;
locks; strict;
comment	@# @;


1.10
date	2019.12.29.18.26.18;	author christos;	state Exp;
branches;
next	1.9;
commitid	QaphWvAMkPXycDQB;

1.9
date	2018.12.24.20.11.22;	author mrg;	state Exp;
branches;
next	1.8;
commitid	m1zeYbIOw9WmG55B;

1.8
date	2012.10.16.08.23.21;	author apb;	state Exp;
branches
	1.8.30.1
	1.8.32.1;
next	1.7;

1.7
date	2010.02.11.09.06.49;	author roy;	state Exp;
branches
	1.7.6.1
	1.7.12.1;
next	1.6;

1.6
date	2010.02.05.10.01.20;	author roy;	state Exp;
branches;
next	1.5;

1.5
date	2009.09.24.21.04.46;	author he;	state Exp;
branches;
next	1.4;

1.4
date	2009.09.20.19.49.09;	author abs;	state Exp;
branches;
next	1.3;

1.3
date	2009.04.07.11.49.17;	author joerg;	state Exp;
branches;
next	1.2;

1.2
date	2009.01.25.22.08.38;	author abs;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2008.01.02.11.39.02;	author mrg;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.8.1;
next	;

1.8.30.1
date	2018.12.26.14.01.11;	author pgoyette;	state Exp;
branches;
next	;
commitid	xUhK8IAeBM1azj5B;

1.8.32.1
date	2019.06.10.21.42.27;	author christos;	state Exp;
branches;
next	1.8.32.2;
commitid	jtc8rnCzWiEEHGqB;

1.8.32.2
date	2020.04.08.14.03.52;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.7.6.1
date	2012.10.30.18.48.36;	author yamt;	state Exp;
branches;
next	;

1.7.12.1
date	2012.11.20.02.57.44;	author tls;	state Exp;
branches;
next	;

1.2.2.1
date	2009.05.13.19.17.49;	author jym;	state Exp;
branches;
next	;

1.1.2.1
date	2008.01.02.11.39.02;	author matt;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2008.01.09.01.28.08;	author matt;	state Exp;
branches;
next	;

1.1.4.1
date	2008.01.02.11.39.02;	author mrg;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2008.01.02.11.39.03;	author mrg;	state Exp;
branches;
next	;

1.1.8.1
date	2008.10.05.20.10.30;	author mjf;	state dead;
branches;
next	;


desc
@@


1.10
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
@#	$NetBSD: Makefile.ramdisk,v 1.9 2018/12/24 20:11:22 mrg Exp $

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

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

.PATH:		${OFPPCCOMMON}

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+=		${OFPPCCOMMON}/list.ramdisk
MTREECONF=	${DISTRIBDIR}/common/mtree.common ${.CURDIR}/../common/mtree.ramdisk
MAKEDEVTARGETS=	ramdisk
IMAGEENDIAN=	le
IMAGEDEPENDS+= 	${CRUNCHBIN} \
		dot.profile \
		${DESTDIR}/usr/mdec/ofwboot \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services
PARSELISTENV+=	BOOTMODEL=${BOOTMODEL:Q}

.if defined(USE_SYSINST)
# MI sysinst list has has languages we do not
#LISTS+=		${DISTRIBDIR}/common/list.sysinst
LISTS+=		${.CURDIR}/../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:

.include <bsd.prog.mk>
@


1.9
log
@set MAKEDEVTARGETS=ramdisk so that the ramdisk /dev/ is populated.
from PR#51659.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.8 2012/10/16 08:23:21 apb Exp $
a11 1
CRUNCHGEN_FLAGS= -d "${DBG}"
@


1.8
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.7 2010/02/11 09:06:49 roy Exp $
d20 1
@


1.8.32.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.9 2018/12/24 20:11:22 mrg Exp $
a19 1
MAKEDEVTARGETS=	ramdisk
@


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


1.8.30.1
log
@Sync with HEAD, resolve a few conflicts
@
text
@d1 1
a1 1
#	$NetBSD$
a19 1
MAKEDEVTARGETS=	ramdisk
@


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


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

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


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

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


1.6
log
@Use the rescue terminfo.db in our images instead of termcap.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.5 2009/09/24 21:04:46 he Exp $
a19 1
		${DESTDIR}/rescue/terminfo.db \
@


1.5
log
@Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap.  Hi, abs@@!
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.4 2009/09/20 19:49:09 abs Exp $
d19 2
a20 1
		dot.profile ${DISTRIBDIR}/common/termcap \
@


1.4
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.3 2009/04/07 11:49:17 joerg Exp $
d19 1
a19 1
		dot.profile termcap.mini \
@


1.3
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.2 2009/01/25 22:08:38 abs Exp $
d22 2
a23 2
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/distrib/common/protocols \
		${NETBSDSRCDIR}/distrib/common/services
@


1.2
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.1 2008/01/02 11:39:02 mrg Exp $
d39 1
@


1.2.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.3 2009/04/07 11:49:17 joerg Exp $
a38 1
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
@


1.1
log
@- put netbsd.ofppc and ofwboot.ofppc in the root of ofppciso.cd.

- create a mostly working sysinst/ramdisk environment.  i was
able to successfully run sysinst, but the screen displays many
"bad format `p'" errors i am yet to track down entirely that
make it somewhat difficult to see.
@
text
@d1 1
a1 1
#	$NetBSD$
d22 1
a22 1
		${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
@


1.1.4.1
log
@file Makefile.ramdisk was added on branch mjf-devfs on 2008-01-02 11:39:03 +0000
@
text
@d1 44
@


1.1.4.2
log
@- put netbsd.ofppc and ofwboot.ofppc in the root of ofppciso.cd.

- create a mostly working sysinst/ramdisk environment.  i was
able to successfully run sysinst, but the screen displays many
"bad format `p'" errors i am yet to track down entirely that
make it somewhat difficult to see.
@
text
@a0 44
#	$NetBSD: Makefile.ramdisk,v 1.1 2008/01/02 11:39:02 mrg Exp $

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

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

.PATH:		${OFPPCCOMMON}

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

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

.if defined(USE_SYSINST)
# MI sysinst list has has languages we do not
#LISTS+=		${DISTRIBDIR}/common/list.sysinst
LISTS+=		${.CURDIR}/../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.1.8.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.ramdisk,v 1.1 2008/01/02 11:39:02 mrg Exp $
@


1.1.2.1
log
@file Makefile.ramdisk was added on branch matt-armv6 on 2008-01-09 01:28:08 +0000
@
text
@d1 44
@


1.1.2.2
log
@sync with HEAD
@
text
@a0 44
#	$NetBSD$

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

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

.PATH:		${OFPPCCOMMON}

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

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

.if defined(USE_SYSINST)
# MI sysinst list has has languages we do not
#LISTS+=		${DISTRIBDIR}/common/list.sysinst
LISTS+=		${.CURDIR}/../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>
@


