head	1.19;
access;
symbols
	netbsd-11-0-RC4:1.19
	netbsd-11-0-RC3:1.19
	netbsd-11-0-RC2:1.19
	netbsd-11-0-RC1:1.19
	perseant-exfatfs-base-20250801:1.19
	netbsd-11:1.19.0.2
	netbsd-11-base:1.19
	netbsd-10-1-RELEASE:1.16
	perseant-exfatfs-base-20240630:1.16
	perseant-exfatfs:1.16.0.56
	perseant-exfatfs-base:1.16
	netbsd-8-3-RELEASE:1.16
	netbsd-9-4-RELEASE:1.16
	netbsd-10-0-RELEASE:1.16
	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.54
	netbsd-10-base:1.16
	netbsd-9-3-RELEASE:1.16
	cjep_sun2x-base1:1.16
	cjep_sun2x:1.16.0.52
	cjep_sun2x-base:1.16
	cjep_staticlib_x-base1:1.16
	netbsd-9-2-RELEASE:1.16
	cjep_staticlib_x:1.16.0.50
	cjep_staticlib_x-base:1.16
	netbsd-9-1-RELEASE:1.16
	phil-wifi-20200421:1.16
	phil-wifi-20200411:1.16
	is-mlppp:1.16.0.48
	is-mlppp-base:1.16
	phil-wifi-20200406:1.16
	netbsd-8-2-RELEASE:1.16
	netbsd-9-0-RELEASE:1.16
	netbsd-9-0-RC2:1.16
	netbsd-9-0-RC1:1.16
	phil-wifi-20191119:1.16
	netbsd-9:1.16.0.46
	netbsd-9-base:1.16
	phil-wifi-20190609:1.16
	netbsd-8-1-RELEASE:1.16
	netbsd-8-1-RC1:1.16
	pgoyette-compat-merge-20190127:1.16
	pgoyette-compat-20190127:1.16
	pgoyette-compat-20190118:1.16
	pgoyette-compat-1226:1.16
	pgoyette-compat-1126:1.16
	pgoyette-compat-1020:1.16
	pgoyette-compat-0930:1.16
	pgoyette-compat-0906:1.16
	netbsd-7-2-RELEASE:1.16
	pgoyette-compat-0728:1.16
	netbsd-8-0-RELEASE:1.16
	phil-wifi:1.16.0.44
	phil-wifi-base:1.16
	pgoyette-compat-0625:1.16
	netbsd-8-0-RC2:1.16
	pgoyette-compat-0521:1.16
	pgoyette-compat-0502:1.16
	pgoyette-compat-0422:1.16
	netbsd-8-0-RC1:1.16
	pgoyette-compat-0415:1.16
	pgoyette-compat-0407:1.16
	pgoyette-compat-0330:1.16
	pgoyette-compat-0322:1.16
	pgoyette-compat-0315:1.16
	netbsd-7-1-2-RELEASE:1.16
	pgoyette-compat:1.16.0.42
	pgoyette-compat-base:1.16
	netbsd-7-1-1-RELEASE:1.16
	matt-nb8-mediatek:1.16.0.40
	matt-nb8-mediatek-base:1.16
	perseant-stdc-iso10646:1.16.0.38
	perseant-stdc-iso10646-base:1.16
	netbsd-8:1.16.0.36
	netbsd-8-base:1.16
	prg-localcount2-base3:1.16
	prg-localcount2-base2:1.16
	prg-localcount2-base1:1.16
	prg-localcount2:1.16.0.34
	prg-localcount2-base:1.16
	pgoyette-localcount-20170426:1.16
	bouyer-socketcan-base1:1.16
	pgoyette-localcount-20170320:1.16
	netbsd-7-1:1.16.0.32
	netbsd-7-1-RELEASE:1.16
	netbsd-7-1-RC2:1.16
	netbsd-7-nhusb-base-20170116:1.16
	bouyer-socketcan:1.16.0.30
	bouyer-socketcan-base:1.16
	pgoyette-localcount-20170107:1.16
	netbsd-7-1-RC1:1.16
	pgoyette-localcount-20161104:1.16
	netbsd-7-0-2-RELEASE:1.16
	localcount-20160914:1.16
	netbsd-7-nhusb:1.16.0.28
	netbsd-7-nhusb-base:1.16
	pgoyette-localcount-20160806:1.16
	pgoyette-localcount-20160726:1.16
	pgoyette-localcount:1.16.0.26
	pgoyette-localcount-base:1.16
	netbsd-7-0-1-RELEASE:1.16
	netbsd-7-0:1.16.0.24
	netbsd-7-0-RELEASE:1.16
	netbsd-7-0-RC3:1.16
	netbsd-7-0-RC2:1.16
	netbsd-7-0-RC1:1.16
	netbsd-5-2-3-RELEASE:1.12
	netbsd-5-1-5-RELEASE:1.12
	netbsd-6-0-6-RELEASE:1.16
	netbsd-6-1-5-RELEASE:1.16
	netbsd-7:1.16.0.22
	netbsd-7-base:1.16
	yamt-pagecache-base9:1.16
	yamt-pagecache-tag8:1.16
	netbsd-6-1-4-RELEASE:1.16
	netbsd-6-0-5-RELEASE:1.16
	tls-earlyentropy:1.16.0.20
	tls-earlyentropy-base:1.16
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16
	riastradh-drm2-base3:1.16
	netbsd-6-1-3-RELEASE:1.16
	netbsd-6-0-4-RELEASE:1.16
	netbsd-5-2-2-RELEASE:1.12
	netbsd-5-1-4-RELEASE:1.12
	netbsd-6-1-2-RELEASE:1.16
	netbsd-6-0-3-RELEASE:1.16
	netbsd-5-2-1-RELEASE:1.12
	netbsd-5-1-3-RELEASE:1.12
	netbsd-6-1-1-RELEASE:1.16
	riastradh-drm2-base2:1.16
	riastradh-drm2-base1:1.16
	riastradh-drm2:1.16.0.12
	riastradh-drm2-base:1.16
	netbsd-6-1:1.16.0.18
	netbsd-6-0-2-RELEASE:1.16
	netbsd-6-1-RELEASE:1.16
	khorben-n900:1.16.0.16
	netbsd-6-1-RC4:1.16
	netbsd-6-1-RC3:1.16
	agc-symver:1.16.0.14
	agc-symver-base:1.16
	netbsd-6-1-RC2:1.16
	netbsd-6-1-RC1:1.16
	yamt-pagecache-base8:1.16
	netbsd-5-2:1.12.0.38
	netbsd-6-0-1-RELEASE:1.16
	yamt-pagecache-base7:1.16
	netbsd-5-2-RELEASE:1.12
	netbsd-5-2-RC1:1.12
	matt-nb6-plus-nbase:1.16
	yamt-pagecache-base6:1.16
	netbsd-6-0:1.16.0.10
	netbsd-6-0-RELEASE:1.16
	netbsd-6-0-RC2:1.16
	tls-maxphys:1.16.0.8
	tls-maxphys-base:1.16
	matt-nb6-plus:1.16.0.6
	matt-nb6-plus-base:1.16
	netbsd-6-0-RC1:1.16
	yamt-pagecache-base5:1.16
	yamt-pagecache-base4:1.16
	netbsd-6:1.16.0.4
	netbsd-6-base:1.16
	netbsd-5-1-2-RELEASE:1.12
	netbsd-5-1-1-RELEASE:1.12
	yamt-pagecache-base3:1.16
	yamt-pagecache-base2:1.16
	yamt-pagecache:1.16.0.2
	yamt-pagecache-base:1.16
	cherry-xenmp:1.14.0.4
	cherry-xenmp-base:1.14
	bouyer-quota2-nbase:1.14
	bouyer-quota2:1.14.0.2
	bouyer-quota2-base:1.14
	matt-mips64-premerge-20101231:1.14
	matt-nb5-mips64-premerge-20101231:1.12
	matt-nb5-pq3:1.12.0.36
	matt-nb5-pq3-base:1.12
	netbsd-5-1:1.12.0.34
	netbsd-5-1-RELEASE:1.12
	netbsd-5-1-RC4:1.12
	matt-nb5-mips64-k15:1.12
	netbsd-5-1-RC3:1.12
	netbsd-5-1-RC2:1.12
	netbsd-5-1-RC1:1.12
	netbsd-5-0-2-RELEASE:1.12
	matt-nb5-mips64-premerge-20091211:1.12
	matt-premerge-20091211:1.13
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.12
	matt-nb4-mips64-k7-u2a-k9b:1.12
	matt-nb5-mips64-u1-k1-k5:1.12
	matt-nb5-mips64:1.12.0.32
	netbsd-5-0-1-RELEASE:1.12
	jym-xensuspend-nbase:1.13
	netbsd-5-0:1.12.0.30
	netbsd-5-0-RELEASE:1.12
	netbsd-5-0-RC4:1.12
	netbsd-5-0-RC3:1.12
	netbsd-5-0-RC2:1.12
	jym-xensuspend:1.12.0.28
	jym-xensuspend-base:1.13
	netbsd-5-0-RC1:1.12
	netbsd-5:1.12.0.26
	netbsd-5-base:1.12
	matt-mips64-base2:1.12
	matt-mips64:1.12.0.24
	netbsd-4-0-1-RELEASE:1.12
	wrstuden-revivesa-base-3:1.12
	wrstuden-revivesa-base-2:1.12
	wrstuden-fixsa-newbase:1.12
	wrstuden-revivesa-base-1:1.12
	yamt-pf42-base4:1.12
	yamt-pf42-base3:1.12
	hpcarm-cleanup-nbase:1.12
	yamt-pf42-baseX:1.12
	yamt-pf42-base2:1.12
	wrstuden-revivesa:1.12.0.22
	wrstuden-revivesa-base:1.12
	yamt-pf42:1.12.0.20
	yamt-pf42-base:1.12
	mjf-devfs2:1.12.0.18
	mjf-devfs2-base:1.12
	keiichi-mipv6:1.12.0.16
	keiichi-mipv6-base:1.12
	mjf-devfs:1.12.0.14
	mjf-devfs-base:1.12
	matt-armv6-nbase:1.12
	matt-armv6-prevmlocking:1.12
	wrstuden-fixsa-base-1:1.12
	netbsd-4-0:1.12.0.12
	netbsd-4-0-RELEASE:1.12
	cube-autoconf:1.12.0.10
	cube-autoconf-base:1.12
	netbsd-4-0-RC5:1.12
	netbsd-4-0-RC4:1.12
	netbsd-4-0-RC3:1.12
	netbsd-4-0-RC2:1.12
	netbsd-4-0-RC1:1.12
	matt-armv6:1.12.0.8
	matt-armv6-base:1.12
	matt-mips64-base:1.12
	hpcarm-cleanup:1.12.0.6
	hpcarm-cleanup-base:1.12
	netbsd-3-1-1-RELEASE:1.11
	netbsd-3-0-3-RELEASE:1.11
	wrstuden-fixsa:1.12.0.4
	wrstuden-fixsa-base:1.12
	abandoned-netbsd-4-base:1.11
	abandoned-netbsd-4:1.11.0.12
	netbsd-3-1:1.11.0.14
	netbsd-3-1-RELEASE:1.11
	netbsd-3-0-2-RELEASE:1.11
	netbsd-3-1-RC4:1.11
	netbsd-3-1-RC3:1.11
	netbsd-3-1-RC2:1.11
	netbsd-3-1-RC1:1.11
	netbsd-4:1.12.0.2
	netbsd-4-base:1.12
	netbsd-3-0-1-RELEASE:1.11
	netbsd-3-0:1.11.0.10
	netbsd-3-0-RELEASE:1.11
	netbsd-3-0-RC6:1.11
	netbsd-3-0-RC5:1.11
	netbsd-3-0-RC4:1.11
	netbsd-3-0-RC3:1.11
	netbsd-3-0-RC2:1.11
	netbsd-3-0-RC1:1.11
	netbsd-2-0-3-RELEASE:1.11
	netbsd-2-1:1.11.0.8
	netbsd-2-1-RELEASE:1.11
	netbsd-2-1-RC6:1.11
	netbsd-2-1-RC5:1.11
	netbsd-2-1-RC4:1.11
	netbsd-2-1-RC3:1.11
	netbsd-2-1-RC2:1.11
	netbsd-2-1-RC1:1.11
	netbsd-2-0-2-RELEASE:1.11
	netbsd-3:1.11.0.6
	netbsd-3-base:1.11
	netbsd-2-0-1-RELEASE:1.11
	netbsd-2:1.11.0.4
	netbsd-2-base:1.11
	netbsd-2-0-RELEASE:1.11
	netbsd-2-0-RC5:1.11
	netbsd-2-0-RC4:1.11
	netbsd-2-0-RC3:1.11
	netbsd-2-0-RC2:1.11
	netbsd-2-0-RC1:1.11
	netbsd-2-0:1.11.0.2
	netbsd-2-0-base:1.11
	netbsd-1-6-PATCH002-RELEASE:1.10.2.1
	netbsd-1-6-PATCH002:1.10.2.1
	netbsd-1-6-PATCH002-RC4:1.10.2.1
	netbsd-1-6-PATCH002-RC3:1.10.2.1
	netbsd-1-6-PATCH002-RC2:1.10.2.1
	netbsd-1-6-PATCH002-RC1:1.10.2.1
	netbsd-1-6-PATCH001:1.10.2.1
	netbsd-1-6-PATCH001-RELEASE:1.10.2.1
	netbsd-1-6-PATCH001-RC3:1.10.2.1
	netbsd-1-6-PATCH001-RC2:1.10.2.1
	netbsd-1-6-PATCH001-RC1:1.10.2.1
	fvdl_fs64_base:1.11
	netbsd-1-6-RELEASE:1.10
	netbsd-1-6-RC3:1.10
	netbsd-1-6-RC2:1.10
	netbsd-1-6-RC1:1.10
	netbsd-1-6:1.10.0.2
	netbsd-1-6-base:1.10;
locks; strict;
comment	@# @;


1.19
date	2025.07.23.15.26.07;	author christos;	state Exp;
branches;
next	1.18;
commitid	tnZBZBSfBg5IRS3G;

1.18
date	2025.01.17.11.59.22;	author martin;	state Exp;
branches;
next	1.17;
commitid	Xhd3Zxb8Ap3lJPFF;

1.17
date	2025.01.09.19.09.47;	author martin;	state Exp;
branches;
next	1.16;
commitid	v3HAhAfcB441nQEF;

1.16
date	2011.11.01.09.28.14;	author martin;	state Exp;
branches
	1.16.56.1;
next	1.15;

1.15
date	2011.07.10.08.51.24;	author mrg;	state Exp;
branches;
next	1.14;

1.14
date	2010.03.12.23.07.13;	author martin;	state Exp;
branches;
next	1.13;

1.13
date	2009.04.07.11.49.18;	author joerg;	state Exp;
branches;
next	1.12;

1.12
date	2006.11.22.20.54.16;	author martin;	state Exp;
branches
	1.12.18.1
	1.12.28.1;
next	1.11;

1.11
date	2002.10.04.21.23.06;	author martin;	state Exp;
branches;
next	1.10;

1.10
date	2002.05.08.23.11.56;	author lukem;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2002.05.07.14.41.37;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	2002.05.02.18.02.55;	author lukem;	state Exp;
branches;
next	1.7;

1.7
date	2002.03.25.01.58.57;	author lukem;	state Exp;
branches;
next	1.6;

1.6
date	2002.03.05.21.23.30;	author thorpej;	state Exp;
branches;
next	1.5;

1.5
date	2002.03.05.21.16.52;	author thorpej;	state Exp;
branches;
next	1.4;

1.4
date	2002.01.20.05.57.10;	author mrg;	state Exp;
branches;
next	1.3;

1.3
date	2001.12.28.16.34.50;	author mason;	state Exp;
branches;
next	1.2;

1.2
date	2001.08.23.16.59.33;	author mrg;	state Exp;
branches;
next	1.1;

1.1
date	2001.08.23.15.50.09;	author mrg;	state Exp;
branches;
next	;

1.16.56.1
date	2025.08.02.05.20.39;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.12.18.1
date	2008.10.05.20.10.38;	author mjf;	state dead;
branches;
next	;

1.12.28.1
date	2009.05.13.19.17.55;	author jym;	state Exp;
branches;
next	;

1.10.2.1
date	2002.10.13.23.59.51;	author lukem;	state Exp;
branches;
next	;


desc
@@


1.19
log
@bump for clang/llvm
@
text
@#	$NetBSD: Makefile,v 1.18 2025/01/17 11:59:22 martin Exp $

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

.include <bsd.kernobj.mk>

.include "${.CURDIR}/../instfs/Makefile.instfs"
IMAGE=			install.fs
IMAGESIZE=		13m

IMAGETAR=		instfs.tgz
IMAGETAR_RELEASEDIR=	installation/misc

MDSETTARGETS=		INSTALL	${IMAGE} -
MDSET_RELEASEDIR=	binary/kernel

SMALLPROG_INET6=1
.if ${USE_INET6} != "no"
LISTS+=	${DISTRIBDIR}/common/list.inet6
.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"
.include "${DISTRIBDIR}/common/Makefile.mdset"

.include <bsd.prog.mk>
@


1.18
log
@PR 59001: bump ramdisk images size slightly for clang builds
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2025/01/09 19:09:47 martin Exp $
d10 1
a10 1
IMAGESIZE=		12m
@


1.17
log
@Bump ramdisk size to deal with bigger image for new pppd
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2011/11/01 09:28:14 martin Exp $
d10 1
a10 1
IMAGESIZE=		11m
@


1.16
log
@Enable INET6 in the installer
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2011/07/10 08:51:24 mrg Exp $
d10 1
a10 1
IMAGESIZE=		9m
@


1.16.56.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2025/07/23 15:26:07 christos Exp $
d10 1
a10 1
IMAGESIZE=		13m
@


1.15
log
@sparc64 with GCC 4.5 has about a 2% code bloat, unfortunately.

bump the instfs size to 9MB.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2010/03/12 23:07:13 martin Exp $
d18 5
@


1.14
log
@Provide full terminfo.db on install media
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2009/04/07 11:49:18 joerg Exp $
d10 1
a10 1
IMAGESIZE=		8m
@


1.13
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,v 1.12 2006/11/22 20:54:16 martin Exp $
d10 1
a10 1
IMAGESIZE=		5m
@


1.12
log
@Remove CRUNCHGEN_FLAGS, probably left over from a previous hack to work
around bugs in an older compiler. Nowadays the default -Os works fine.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2002/10/04 21:23:06 martin Exp $
d24 1
@


1.12.28.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,v 1.13 2009/04/07 11:49:18 joerg Exp $
a23 1
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
@


1.12.18.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2006/11/22 20:54:16 martin Exp $
@


1.11
log
@Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2002/05/08 23:11:56 lukem Exp $
a22 2
CRUNCHGEN_FLAGS="-d -O"

@


1.10
log
@fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2002/05/07 14:41:37 lukem Exp $
d22 2
@


1.10.2.1
log
@Pull up revision 1.11 (requested by martin in ticket #903):
Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2002/05/08 23:11:56 lukem Exp $
a21 2

CRUNCHGEN_FLAGS="-d -O"
@


1.9
log
@major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
	- install.fs: to mdset into netbsd.INSTALL
	- inst.tgz: contents of install.fs
	- miniroot.fs: install.fs + gzipped GENERIC kernel.  created using a
	  copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2002/05/03 16:47:35 bjh21 Exp $
d10 1
a10 1
IMAGESIZE=		3m
@


1.8
log
@yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
@
text
@d1 1
a1 7
#	$NetBSD: Makefile,v 1.7 2002/03/25 01:58:57 lukem Exp $
#
# instfs.tgz is the filesystem image for disk 2 of the floppy based
# installation method.
# It is constructed by tarring up the contents of the miniroot with
# the exeption of the kernel and boot program.
#
d6 1
a6 2
TOP=		${.CURDIR}/..
MINIROOT=	${.CURDIR}/../xminiroot
d8 19
a26 21
.include "${TOP}/Makefile.inc"

MINIROOT_DIR!=	cd ${MINIROOT} && ${PRINTOBJDIR}
MINIROOT_IMAGE=	${MINIROOT_DIR}/miniroot.fs
MINIROOT_KERNEL=${MINIROOT_DIR}/netbsd.INSTALL

MOUNT_POINT?=	${MINIROOT_DIR}/mountpoint
INSTFS?=	instfs.tgz

all: ${INSTFS}

${INSTFS}: ${MINIROOT_IMAGE}
	(cd ${MOUNT_POINT}; \
		tar -z -X ${.CURDIR}/exclude -c -f ${.OBJDIR}/${.TARGET} .)

clean cleandir distclean:
	/bin/rm -f *.core ${INSTFS}

release: check_RELEASEDIR .WAIT ${INSTFS} ${MINIROOT_KERNEL}
	${RELEASE_INSTALL} ${INSTFS} $(RELEASEDIR)/installation/misc
	gzip -9 -c ${MINIROOT_KERNEL} > $(RELEASEDIR)/binary/kernel/netbsd.INSTALL.gz
@


1.7
log
@use check_RELEASEDIR
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2002/03/05 21:23:30 thorpej Exp $
d9 3
a15 1
.include <bsd.own.mk>
d33 2
a34 2
release: check_RELEASEDIR .WAIT ${INSTFS}
	cp ${INSTFS} $(RELEASEDIR)/installation/misc
d37 1
a37 2
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
@


1.6
log
@Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2002/03/05 21:16:52 thorpej Exp $
d31 1
a31 6
.ifndef RELEASEDIR
release:
	@@echo setenv RELEASEDIR first
	@@false
.else
release: ${INSTFS}
a33 1
.endif	# RELEASEDIR check
@


1.5
log
@Use ${PRINTOBJDIR}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2002/01/20 05:57:10 mrg Exp $
d13 1
@


1.4
log
@convert sparc64 to use `makefs' rather than vnd/newfs/mount.  this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd.  fix this shortly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2001/12/28 16:34:50 mason Exp $
d14 1
a14 3
MINIROOT_DIR!=cd ${MINIROOT}; \
		printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | \
		${MAKE} -s -f-
@


1.3
log
@vnconfig called incorrectly - it wants either a simple "vnd0" or a full path
to a raw device, not a full path to a cooked device.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2001/08/23 16:59:33 mrg Exp $
a13 9
MOUNT_POINT?=	/mnt
# DEV/RDEV file system device, CDEV/RDEV vnconfig device
VND?=		vnd0
VND_DEV=	/dev/${VND}a
VND_RDEV=	/dev/r${VND}a
VND_CDEV=	/dev/${VND}c
VND_CRDEV=	/dev/r${VND}c
INSTFS?=	instfs.tgz

d20 3
a25 2
	vnconfig -v -c ${VND_CRDEV} ${MINIROOT_IMAGE}
	mount ${VND_DEV} ${MOUNT_POINT}
a27 7
	umount ${MOUNT_POINT}
	vnconfig -u ${VND_CRDEV}

unconfig:
	-umount -f ${MOUNT_POINT}
	-vnconfig -u ${VND}
	-/bin/rm -f ${INSTFS}
@


1.2
log
@install the netbsd.INSTALL kernel into the release area as well.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2001/08/23 15:50:09 mrg Exp $
d32 1
a32 1
	vnconfig -v -c ${VND_CDEV} ${MINIROOT_IMAGE}
d37 1
a37 1
	vnconfig -u ${VND_CDEV}
d41 1
a41 1
	-vnconfig -u ${VND_DEV}
@


1.1
log
@build an "instfs" which can be untarred for complete netboot installs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2000/10/22 14:18:11 pk Exp $
d23 2
a24 2
MINIROOT_IMAGE!=cd ${MINIROOT}; \
		printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/miniroot.fs\n" | \
d26 2
d54 1
@

