head	1.8;
access;
symbols
	netbsd-11-0-RC4:1.8
	netbsd-11-0-RC3:1.8
	netbsd-11-0-RC2:1.8
	netbsd-11-0-RC1:1.8
	perseant-exfatfs-base-20250801:1.8
	netbsd-11:1.8.0.6
	netbsd-11-base:1.8
	netbsd-10-1-RELEASE:1.8
	perseant-exfatfs-base-20240630:1.8
	perseant-exfatfs:1.8.0.4
	perseant-exfatfs-base:1.8
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.8
	netbsd-10-0-RC6:1.8
	netbsd-10-0-RC5:1.8
	netbsd-10-0-RC4:1.8
	netbsd-10-0-RC3:1.8
	netbsd-10-0-RC2:1.8
	netbsd-10-0-RC1:1.8
	netbsd-10:1.8.0.2
	netbsd-10-base:1.8
	netbsd-9-3-RELEASE:1.5
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.6
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.7.0.4
	cjep_staticlib_x-base:1.7
	netbsd-9-1-RELEASE:1.5
	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.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.6
	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.14
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.12
	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.10
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.8
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.4
	netbsd-7-0:1.4.0.6
	netbsd-7-0-RELEASE:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	tls-maxphys-base:1.4
	tls-maxphys:1.4.0.4
	netbsd-7:1.4.0.2
	netbsd-7-base:1.4
	yamt-pagecache:1.2.0.4
	yamt-pagecache-base9:1.2
	tls-earlyentropy:1.2.0.2
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2;
locks; strict;
comment	@# @;


1.8
date	2022.01.13.08.25.24;	author skrll;	state Exp;
branches;
next	1.7;
commitid	PxPIz9u5ZX7hUroD;

1.7
date	2019.12.29.18.26.17;	author christos;	state Exp;
branches;
next	1.6;
commitid	QaphWvAMkPXycDQB;

1.6
date	2019.11.04.00.59.05;	author christos;	state Exp;
branches;
next	1.5;
commitid	gnoPy3ZOsYgubtJB;

1.5
date	2017.01.24.18.04.03;	author christos;	state Exp;
branches
	1.5.12.1;
next	1.4;
commitid	kdLAgdCEWzeUrfDz;

1.4
date	2014.08.08.14.00.30;	author joerg;	state Exp;
branches
	1.4.4.1
	1.4.8.1
	1.4.12.1;
next	1.3;
commitid	5DEbwgIrQLsX1zLx;

1.3
date	2014.06.19.16.34.21;	author skrll;	state Exp;
branches;
next	1.2;
commitid	fY24wsq0NmMnu9Fx;

1.2
date	2014.02.28.09.50.48;	author skrll;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;
commitid	PKIa57MXwDH7PQqx;

1.1
date	2014.02.24.07.23.38;	author skrll;	state Exp;
branches;
next	;
commitid	HknWmBfzukaU7kqx;

1.5.12.1
date	2020.04.08.14.03.46;	author martin;	state Exp;
branches;
next	1.5.12.2;
commitid	Qli2aW9E74UFuA3C;

1.5.12.2
date	2020.04.13.07.45.28;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.4.4.1
date	2014.08.08.14.00.30;	author tls;	state dead;
branches;
next	1.4.4.2;
commitid	jTnpym9Qu0o4R1Nx;

1.4.4.2
date	2014.08.19.23.45.40;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.4.8.1
date	2017.03.20.06.52.05;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.4.12.1
date	2017.04.21.16.51.10;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.2.2.1
date	2014.08.10.06.48.07;	author tls;	state Exp;
branches;
next	;
commitid	qqFR6Exn8WPGzMLx;

1.2.4.1
date	2014.02.28.09.50.48;	author yamt;	state dead;
branches;
next	1.2.4.2;
commitid	yqlfOuaAhYmASwBx;

1.2.4.2
date	2014.05.22.12.01.29;	author yamt;	state Exp;
branches;
next	;
commitid	yqlfOuaAhYmASwBx;


desc
@@


1.8
log
@bump
@
text
@#	$NetBSD: Makefile,v 1.7 2019/12/29 18:26:17 christos Exp $

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

IMAGE=		ramdisk.fs
IMAGESIZE=	3300k
MAKEFS_FLAGS+=	-f 15

WARNS=		1

CRUNCHBIN=	ramdiskbin
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	be
MAKEDEVTARGETS=	all ipty
IMAGEDEPENDS=	${CRUNCHBIN} \
		dot.profile \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services
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.dhcpcd"
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

release:

.include <bsd.prog.mk>
@


1.7
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,v 1.6 2019/11/04 00:59:05 christos Exp $
d7 1
a7 1
IMAGESIZE=	3060k
@


1.6
log
@bump for gcc8
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2017/01/24 18:04:03 christos Exp $
a12 1
CRUNCHGEN_FLAGS= -d "${DBG}"
@


1.5
log
@+= for MAKEFS_FLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/08/08 14:00:30 joerg Exp $
d7 1
a7 1
IMAGESIZE=	3000k
@


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


1.5.12.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d7 1
a7 1
IMAGESIZE=	3060k
@


1.4
log
@Cleanup cargo cult.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2014/06/19 16:34:21 skrll Exp $
d8 1
a8 1
MAKEFS_FLAGS=	-f 15
@


1.4.12.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2017/01/24 18:04:03 christos Exp $
d8 1
a8 1
MAKEFS_FLAGS+=	-f 15
@


1.4.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2017/01/24 18:04:03 christos Exp $
d8 1
a8 1
MAKEFS_FLAGS+=	-f 15
@


1.4.4.1
log
@file Makefile was added on branch tls-maxphys on 2014-08-19 23:45:40 +0000
@
text
@d1 41
@


1.4.4.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a0 41
#	$NetBSD$

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

IMAGE=		ramdisk.fs
IMAGESIZE=	3000k
MAKEFS_FLAGS=	-f 15

WARNS=		1

CRUNCHBIN=	ramdiskbin
CRUNCHGEN_FLAGS= -d "${DBG}"
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	be
MAKEDEVTARGETS=	all ipty
IMAGEDEPENDS=	${CRUNCHBIN} \
		dot.profile \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services
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.dhcpcd"
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

release:

.include <bsd.prog.mk>
@


1.3
log
@Increase IMAGESIZE to fix build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2014/02/28 09:50:48 skrll Exp $
a10 1
# DBG=		-Os -mmultiple -mstring
@


1.2
log
@Bump IMAGESIZE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2014/02/24 07:23:38 skrll Exp $
d7 1
a7 1
IMAGESIZE=	2600k
@


1.2.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/08/08 14:00:30 joerg Exp $
d7 1
a7 1
IMAGESIZE=	3000k
d11 1
@


1.2.4.1
log
@file Makefile was added on branch yamt-pagecache on 2014-05-22 12:01:29 +0000
@
text
@d1 42
@


1.2.4.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@a0 42
#	$NetBSD$

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

IMAGE=		ramdisk.fs
IMAGESIZE=	2600k
MAKEFS_FLAGS=	-f 15

WARNS=		1
# DBG=		-Os -mmultiple -mstring

CRUNCHBIN=	ramdiskbin
CRUNCHGEN_FLAGS= -d "${DBG}"
LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF=	${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN=	be
MAKEDEVTARGETS=	all ipty
IMAGEDEPENDS=	${CRUNCHBIN} \
		dot.profile \
		${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
		${DISTRIBDIR}/common/services
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.dhcpcd"
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"

release:

.include <bsd.prog.mk>
@


1.1
log
@Rename NetBSD/hp700 to NetBSD/hppa.

Unfortunately our VCS isn't very helpful here.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2013/04/29 14:42:11 skrll Exp $
d7 1
a7 1
IMAGESIZE=	2500k
@

