head	1.25;
access;
symbols
	netbsd-11-0-RC4:1.24
	netbsd-11-0-RC3:1.24
	netbsd-11-0-RC2:1.24
	netbsd-11-0-RC1:1.24
	perseant-exfatfs-base-20250801:1.24
	netbsd-11:1.24.0.2
	netbsd-11-base:1.24
	netbsd-10-1-RELEASE:1.23
	perseant-exfatfs-base-20240630:1.23
	perseant-exfatfs:1.23.0.74
	perseant-exfatfs-base:1.23
	netbsd-8-3-RELEASE:1.23
	netbsd-9-4-RELEASE:1.23
	netbsd-10-0-RELEASE:1.23
	netbsd-10-0-RC6:1.23
	netbsd-10-0-RC5:1.23
	netbsd-10-0-RC4:1.23
	netbsd-10-0-RC3:1.23
	netbsd-10-0-RC2:1.23
	netbsd-10-0-RC1:1.23
	netbsd-10:1.23.0.72
	netbsd-10-base:1.23
	netbsd-9-3-RELEASE:1.23
	cjep_sun2x-base1:1.23
	cjep_sun2x:1.23.0.70
	cjep_sun2x-base:1.23
	cjep_staticlib_x-base1:1.23
	netbsd-9-2-RELEASE:1.23
	cjep_staticlib_x:1.23.0.68
	cjep_staticlib_x-base:1.23
	netbsd-9-1-RELEASE:1.23
	phil-wifi-20200421:1.23
	phil-wifi-20200411:1.23
	is-mlppp:1.23.0.66
	is-mlppp-base:1.23
	phil-wifi-20200406:1.23
	netbsd-8-2-RELEASE:1.23
	netbsd-9-0-RELEASE:1.23
	netbsd-9-0-RC2:1.23
	netbsd-9-0-RC1:1.23
	phil-wifi-20191119:1.23
	netbsd-9:1.23.0.64
	netbsd-9-base:1.23
	phil-wifi-20190609:1.23
	netbsd-8-1-RELEASE:1.23
	netbsd-8-1-RC1:1.23
	pgoyette-compat-merge-20190127:1.23
	pgoyette-compat-20190127:1.23
	pgoyette-compat-20190118:1.23
	pgoyette-compat-1226:1.23
	pgoyette-compat-1126:1.23
	pgoyette-compat-1020:1.23
	pgoyette-compat-0930:1.23
	pgoyette-compat-0906:1.23
	netbsd-7-2-RELEASE:1.23
	pgoyette-compat-0728:1.23
	netbsd-8-0-RELEASE:1.23
	phil-wifi:1.23.0.62
	phil-wifi-base:1.23
	pgoyette-compat-0625:1.23
	netbsd-8-0-RC2:1.23
	pgoyette-compat-0521:1.23
	pgoyette-compat-0502:1.23
	pgoyette-compat-0422:1.23
	netbsd-8-0-RC1:1.23
	pgoyette-compat-0415:1.23
	pgoyette-compat-0407:1.23
	pgoyette-compat-0330:1.23
	pgoyette-compat-0322:1.23
	pgoyette-compat-0315:1.23
	netbsd-7-1-2-RELEASE:1.23
	pgoyette-compat:1.23.0.60
	pgoyette-compat-base:1.23
	netbsd-7-1-1-RELEASE:1.23
	matt-nb8-mediatek:1.23.0.58
	matt-nb8-mediatek-base:1.23
	perseant-stdc-iso10646:1.23.0.56
	perseant-stdc-iso10646-base:1.23
	netbsd-8:1.23.0.54
	netbsd-8-base:1.23
	prg-localcount2-base3:1.23
	prg-localcount2-base2:1.23
	prg-localcount2-base1:1.23
	prg-localcount2:1.23.0.52
	prg-localcount2-base:1.23
	pgoyette-localcount-20170426:1.23
	bouyer-socketcan-base1:1.23
	pgoyette-localcount-20170320:1.23
	netbsd-7-1:1.23.0.50
	netbsd-7-1-RELEASE:1.23
	netbsd-7-1-RC2:1.23
	netbsd-7-nhusb-base-20170116:1.23
	bouyer-socketcan:1.23.0.48
	bouyer-socketcan-base:1.23
	pgoyette-localcount-20170107:1.23
	netbsd-7-1-RC1:1.23
	pgoyette-localcount-20161104:1.23
	netbsd-7-0-2-RELEASE:1.23
	localcount-20160914:1.23
	netbsd-7-nhusb:1.23.0.46
	netbsd-7-nhusb-base:1.23
	pgoyette-localcount-20160806:1.23
	pgoyette-localcount-20160726:1.23
	pgoyette-localcount:1.23.0.44
	pgoyette-localcount-base:1.23
	netbsd-7-0-1-RELEASE:1.23
	netbsd-7-0:1.23.0.42
	netbsd-7-0-RELEASE:1.23
	netbsd-7-0-RC3:1.23
	netbsd-7-0-RC2:1.23
	netbsd-7-0-RC1:1.23
	netbsd-5-2-3-RELEASE:1.23
	netbsd-5-1-5-RELEASE:1.23
	netbsd-6-0-6-RELEASE:1.23
	netbsd-6-1-5-RELEASE:1.23
	netbsd-7:1.23.0.40
	netbsd-7-base:1.23
	yamt-pagecache-base9:1.23
	yamt-pagecache-tag8:1.23
	netbsd-6-1-4-RELEASE:1.23
	netbsd-6-0-5-RELEASE:1.23
	tls-earlyentropy:1.23.0.38
	tls-earlyentropy-base:1.23
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.23
	riastradh-drm2-base3:1.23
	netbsd-6-1-3-RELEASE:1.23
	netbsd-6-0-4-RELEASE:1.23
	netbsd-5-2-2-RELEASE:1.23
	netbsd-5-1-4-RELEASE:1.23
	netbsd-6-1-2-RELEASE:1.23
	netbsd-6-0-3-RELEASE:1.23
	netbsd-5-2-1-RELEASE:1.23
	netbsd-5-1-3-RELEASE:1.23
	netbsd-6-1-1-RELEASE:1.23
	riastradh-drm2-base2:1.23
	riastradh-drm2-base1:1.23
	riastradh-drm2:1.23.0.30
	riastradh-drm2-base:1.23
	netbsd-6-1:1.23.0.36
	netbsd-6-0-2-RELEASE:1.23
	netbsd-6-1-RELEASE:1.23
	khorben-n900:1.23.0.34
	netbsd-6-1-RC4:1.23
	netbsd-6-1-RC3:1.23
	agc-symver:1.23.0.32
	agc-symver-base:1.23
	netbsd-6-1-RC2:1.23
	netbsd-6-1-RC1:1.23
	yamt-pagecache-base8:1.23
	netbsd-5-2:1.23.0.28
	netbsd-6-0-1-RELEASE:1.23
	yamt-pagecache-base7:1.23
	netbsd-5-2-RELEASE:1.23
	netbsd-5-2-RC1:1.23
	matt-nb6-plus-nbase:1.23
	yamt-pagecache-base6:1.23
	netbsd-6-0:1.23.0.26
	netbsd-6-0-RELEASE:1.23
	netbsd-6-0-RC2:1.23
	tls-maxphys:1.23.0.24
	tls-maxphys-base:1.23
	matt-nb6-plus:1.23.0.22
	matt-nb6-plus-base:1.23
	netbsd-6-0-RC1:1.23
	yamt-pagecache-base5:1.23
	yamt-pagecache-base4:1.23
	netbsd-6:1.23.0.20
	netbsd-6-base:1.23
	netbsd-5-1-2-RELEASE:1.23
	netbsd-5-1-1-RELEASE:1.23
	yamt-pagecache-base3:1.23
	yamt-pagecache-base2:1.23
	yamt-pagecache:1.23.0.18
	yamt-pagecache-base:1.23
	cherry-xenmp:1.23.0.16
	cherry-xenmp-base:1.23
	bouyer-quota2-nbase:1.23
	bouyer-quota2:1.23.0.14
	bouyer-quota2-base:1.23
	matt-mips64-premerge-20101231:1.23
	matt-nb5-mips64-premerge-20101231:1.23
	matt-nb5-pq3:1.23.0.12
	matt-nb5-pq3-base:1.23
	netbsd-5-1:1.23.0.10
	netbsd-5-1-RELEASE:1.23
	netbsd-5-1-RC4:1.23
	matt-nb5-mips64-k15:1.23
	netbsd-5-1-RC3:1.23
	netbsd-5-1-RC2:1.23
	netbsd-5-1-RC1:1.23
	netbsd-5-0-2-RELEASE:1.23
	matt-nb5-mips64-premerge-20091211:1.23
	matt-premerge-20091211:1.23
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.23
	matt-nb4-mips64-k7-u2a-k9b:1.23
	matt-nb5-mips64-u1-k1-k5:1.23
	matt-nb5-mips64:1.23.0.8
	netbsd-5-0-1-RELEASE:1.23
	jym-xensuspend-nbase:1.23
	netbsd-5-0:1.23.0.6
	netbsd-5-0-RELEASE:1.23
	netbsd-5-0-RC4:1.23
	netbsd-5-0-RC3:1.23
	netbsd-5-0-RC2:1.23
	jym-xensuspend:1.23.0.4
	jym-xensuspend-base:1.23
	netbsd-5-0-RC1:1.23
	netbsd-5:1.23.0.2
	netbsd-5-base:1.23
	matt-mips64-base2:1.23
	matt-mips64:1.22.0.18
	netbsd-4-0-1-RELEASE:1.21.16.1
	wrstuden-revivesa-base-3:1.23
	wrstuden-revivesa-base-2:1.23
	wrstuden-fixsa-newbase:1.21.16.1
	wrstuden-revivesa-base-1:1.22
	yamt-pf42-base4:1.22
	yamt-pf42-base3:1.22
	hpcarm-cleanup-nbase:1.22
	yamt-pf42-baseX:1.22
	yamt-pf42-base2:1.22
	wrstuden-revivesa:1.22.0.16
	wrstuden-revivesa-base:1.22
	yamt-pf42:1.22.0.14
	yamt-pf42-base:1.22
	mjf-devfs2:1.22.0.12
	mjf-devfs2-base:1.23
	keiichi-mipv6:1.22.0.10
	keiichi-mipv6-base:1.22
	mjf-devfs:1.22.0.8
	mjf-devfs-base:1.22
	matt-armv6-nbase:1.22
	matt-armv6-prevmlocking:1.22
	wrstuden-fixsa-base-1:1.21.16.1
	netbsd-4-0:1.21.16.1.0.4
	netbsd-4-0-RELEASE:1.21.16.1
	cube-autoconf:1.22.0.6
	cube-autoconf-base:1.22
	netbsd-4-0-RC5:1.21.16.1
	netbsd-4-0-RC4:1.21.16.1
	netbsd-4-0-RC3:1.21.16.1
	netbsd-4-0-RC2:1.21.16.1
	netbsd-4-0-RC1:1.21.16.1
	matt-armv6:1.22.0.4
	matt-armv6-base:1.22
	matt-mips64-base:1.22
	hpcarm-cleanup:1.22.0.2
	hpcarm-cleanup-base:1.22
	netbsd-3-1-1-RELEASE:1.21
	netbsd-3-0-3-RELEASE:1.21
	wrstuden-fixsa:1.21.16.1.0.2
	wrstuden-fixsa-base:1.21.16.1
	abandoned-netbsd-4-base:1.21
	abandoned-netbsd-4:1.21.0.12
	netbsd-3-1:1.21.0.14
	netbsd-3-1-RELEASE:1.21
	netbsd-3-0-2-RELEASE:1.21
	netbsd-3-1-RC4:1.21
	netbsd-3-1-RC3:1.21
	netbsd-3-1-RC2:1.21
	netbsd-3-1-RC1:1.21
	netbsd-4:1.21.0.16
	netbsd-4-base:1.21
	netbsd-3-0-1-RELEASE:1.21
	netbsd-3-0:1.21.0.10
	netbsd-3-0-RELEASE:1.21
	netbsd-3-0-RC6:1.21
	netbsd-3-0-RC5:1.21
	netbsd-3-0-RC4:1.21
	netbsd-3-0-RC3:1.21
	netbsd-3-0-RC2:1.21
	netbsd-3-0-RC1:1.21
	netbsd-2-0-3-RELEASE:1.21
	netbsd-2-1:1.21.0.8
	netbsd-2-1-RELEASE:1.21
	netbsd-2-1-RC6:1.21
	netbsd-2-1-RC5:1.21
	netbsd-2-1-RC4:1.21
	netbsd-2-1-RC3:1.21
	netbsd-2-1-RC2:1.21
	netbsd-2-1-RC1:1.21
	netbsd-2-0-2-RELEASE:1.21
	netbsd-3:1.21.0.6
	netbsd-3-base:1.21
	netbsd-2-0-1-RELEASE:1.21
	netbsd-2:1.21.0.4
	netbsd-2-base:1.21
	netbsd-2-0-RELEASE:1.21
	netbsd-2-0-RC5:1.21
	netbsd-2-0-RC4:1.21
	netbsd-2-0-RC3:1.21
	netbsd-2-0-RC2:1.21
	netbsd-2-0-RC1:1.21
	netbsd-2-0:1.21.0.2
	netbsd-2-0-base:1.21
	netbsd-1-6-PATCH002-RELEASE:1.20
	netbsd-1-6-PATCH002:1.20
	netbsd-1-6-PATCH002-RC4:1.20
	netbsd-1-6-PATCH002-RC3:1.20
	netbsd-1-6-PATCH002-RC2:1.20
	netbsd-1-6-PATCH002-RC1:1.20
	netbsd-1-6-PATCH001:1.20
	netbsd-1-6-PATCH001-RELEASE:1.20
	netbsd-1-6-PATCH001-RC3:1.20
	netbsd-1-6-PATCH001-RC2:1.20
	netbsd-1-6-PATCH001-RC1:1.20
	fvdl_fs64_base:1.20
	netbsd-1-6-RELEASE:1.20
	netbsd-1-6-RC3:1.20
	netbsd-1-6-RC2:1.20
	netbsd-1-6-RC1:1.20
	netbsd-1-6:1.20.0.2
	netbsd-1-6-base:1.20
	netbsd-1-5-PATCH003:1.6.4.1
	netbsd-1-5-PATCH002:1.6.4.1
	netbsd-1-5-PATCH001:1.6.4.1
	netbsd-1-5-RELEASE:1.6.4.1
	netbsd-1-5-BETA2:1.6
	netbsd-1-5-BETA:1.6
	netbsd-1-4-PATCH003:1.1.2.1
	netbsd-1-5-ALPHA2:1.6
	netbsd-1-5:1.6.0.4
	netbsd-1-5-base:1.6
	minoura-xpg4dl:1.6.0.2
	minoura-xpg4dl-base:1.6
	netbsd-1-4-PATCH002:1.1.2.1
	wrstuden-devbsize-19991221:1.4
	wrstuden-devbsize:1.3.0.4
	wrstuden-devbsize-base:1.4
	comdex-fall-1999:1.3.0.2
	comdex-fall-1999-base:1.3
	netbsd-1-4-PATCH001:1.1
	netbsd-1-4-RELEASE:1.1
	netbsd-1-4:1.1.0.2
	netbsd-1-4-base:1.1;
locks; strict;
comment	@# @;


1.25
date	2025.09.23.20.12.05;	author rillig;	state Exp;
branches;
next	1.24;
commitid	c5UJlo9eju75sSbG;

1.24
date	2025.02.02.20.11.02;	author tsutsui;	state Exp;
branches;
next	1.23;
commitid	1V6x4Zdzrb1kWVHF;

1.23
date	2008.06.23.02.16.53;	author matt;	state Exp;
branches
	1.23.74.1;
next	1.22;

1.22
date	2007.03.06.21.56.49;	author bouyer;	state Exp;
branches
	1.22.12.1
	1.22.16.1;
next	1.21;

1.21
date	2003.01.03.15.34.31;	author lukem;	state Exp;
branches
	1.21.16.1;
next	1.20;

1.20
date	2002.05.02.18.02.18;	author lukem;	state Exp;
branches;
next	1.19;

1.19
date	2002.05.02.13.04.48;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	2002.04.30.15.08.44;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	2002.04.26.17.30.00;	author matt;	state Exp;
branches;
next	1.16;

1.16
date	2002.04.26.15.50.24;	author lukem;	state Exp;
branches;
next	1.15;

1.15
date	2002.04.11.06.41.55;	author lukem;	state Exp;
branches;
next	1.14;

1.14
date	2002.04.10.15.28.22;	author lukem;	state Exp;
branches;
next	1.13;

1.13
date	2002.03.06.13.31.04;	author lukem;	state Exp;
branches;
next	1.12;

1.12
date	2002.02.09.13.56.49;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	2001.11.14.00.44.13;	author tv;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.07.17.41.51;	author matt;	state Exp;
branches;
next	1.9;

1.9
date	2000.10.26.04.53.56;	author garbled;	state Exp;
branches;
next	1.8;

1.8
date	2000.09.12.17.21.44;	author matt;	state Exp;
branches;
next	1.7;

1.7
date	2000.08.30.23.51.46;	author jhawk;	state Exp;
branches;
next	1.6;

1.6
date	2000.03.08.14.28.54;	author cjs;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	2000.03.08.13.34.58;	author cjs;	state Exp;
branches;
next	1.4;

1.4
date	99.11.20.13.03.09;	author sommerfeld;	state Exp;
branches;
next	1.3;

1.3
date	99.09.20.08.18.31;	author ross;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	99.06.30.18.36.37;	author ross;	state Exp;
branches;
next	1.1;

1.1
date	98.10.16.01.36.45;	author ross;	state Exp;
branches
	1.1.2.1;
next	;

1.23.74.1
date	2025.08.02.05.20.18;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.22.12.1
date	2008.06.29.08.25.12;	author mjf;	state Exp;
branches;
next	1.22.12.2;

1.22.12.2
date	2008.10.05.20.10.11;	author mjf;	state dead;
branches;
next	;

1.22.16.1
date	2008.09.18.04.41.08;	author wrstuden;	state Exp;
branches;
next	;

1.21.16.1
date	2007.03.09.06.59.55;	author riz;	state Exp;
branches;
next	;

1.6.4.1
date	2000.11.09.23.48.56;	author tv;	state Exp;
branches;
next	;

1.3.4.1
date	99.12.27.18.28.16;	author wrstuden;	state Exp;
branches;
next	;

1.1.2.1
date	2000.02.29.23.52.25;	author he;	state Exp;
branches;
next	;


desc
@@


1.25
log
@all: fix "Invalid internal option" warning from make
@
text
@#	$NetBSD: Makefile,v 1.24 2025/02/02 20:11:02 tsutsui Exp $

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

SUBDIR=		instkernel cdroms # floppy-GENERIC
SUBDIR+=	.WAIT
SUBDIR+=	liveimage
TARGETS+=	release

release: check_RELEASEDIR .WAIT README.files
.for i in floppy diskimage instkernel
	${RELEASE_INSTALL} ${.CURDIR}/README.files \
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/$i
.endfor

iso_image: .MAKE
	${MAKEDIRTARGET} cdroms iso_image

live_image: .MAKE
	${MAKEDIRTARGET} liveimage live_image

.include <bsd.subdir.mk>
@


1.24
log
@Add "build.sh live-image" support for alpha.

Confirmed on qemu-9.2.0 (with pkgsrc patch-hw_rtc_mc146818rtc.c).

---
qemu-system-alpha -m 1024 -machine clipper \
 -drive file=NetBSD-10.99.12-alpha-live.img,media=disk,format=raw,if=none,id=disk0 \
 -device ide-hd,bus=ide.0,drive=disk0 \
 -netdev user,id=net0 -device tulip,netdev=net0 \
 -nographic -kernel netbsd-GENERIC -append root=wd0
PCI: 0:1:0 class 0300 id 1013:00b8
PCI:   region 0 (BAR 10): 10000000
PCI:   region 1 (BAR 14): 12000000
PCI: 0:2:0 class 0101 id 1095:0646
PCI:   region 0 (BAR 10): 0000c000
PCI:   region 1 (BAR 14): 0000c008
PCI:   region 2 (BAR 18): 0000c010
PCI:   region 3 (BAR 1c): 0000c018
PCI:   region 4 (BAR 20): 0000c020
PCI:   intr pin 1 -> irq 12
PCI: 0:3:0 class 0200 id 1011:0019
PCI:   region 0 (BAR 10): 0000c080
PCI:   region 1 (BAR 14): 12001000
PCI:   intr pin 1 -> irq 16
PCI: 0:7:0 class 0601 id 8086:0484
[   1.0000000] [ Kernel symbol table missing! ]
[   1.0000000] consinit: not using prom console
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 10.99.12 (GENERIC) #0: Thu Jan 30 16:13:51 UTC 2025
[   1.0000000]  mkrepro@@mkrepro.NetBSD.org:/usr/src/sys/arch/alpha/compile/GENERIC
[   1.0000000] AlphaServer ES40 ("Clipper"), 250MHz, s/n QEMU
[   1.0000000] 8192 byte page size, 1 processor.
[   1.0000000] total memory = 1024 MB
[   1.0000000] (120 KB reserved for PROM, 1023 MB used by NetBSD)
[   1.0000000] avail memory = 996 MB
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0: ID 0 (primary), 21264A-0 (EV67)
[   1.0000000] cpu0: Architecture extensions: 0x1307<PMI,PAT,MVI,CIX,FIX,BWX>
[   1.0000000] qemu0 at mainbus0: Qemu virtual machine services

 :

[   7.2872719] root on wd0a dumps on wd0b
[   7.2872719] root file system type: ffs
[   7.3086672] kern.module.path=/stand/alpha/10.99.12/modules
Sun Feb  2 19:56:48 UTC 2025

 :
---
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2008/06/23 02:16:53 matt Exp $
d17 1
a17 1
iso_image:
d20 1
a20 1
live_image:
@


1.23
log
@Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2007/03/06 21:56:49 bouyer Exp $
d7 2
d20 3
@


1.23.74.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2025/02/02 20:11:02 tsutsui Exp $
a6 2
SUBDIR+=	.WAIT
SUBDIR+=	liveimage
a17 3
live_image:
	${MAKEDIRTARGET} liveimage live_image

@


1.22
log
@Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2003/01/03 15:34:31 lukem Exp $
d12 1
a12 1
	    ${RELEASEDIR}/${MACHINE}/installation/$i
@


1.22.16.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2007/03/06 21:56:49 bouyer Exp $
d12 1
a12 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/$i
@


1.22.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
a12 1
	    ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/$i
@


1.22.12.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22.12.1 2008/06/29 08:25:12 mjf Exp $
@


1.21
log
@Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2002/05/02 18:02:18 lukem Exp $
d6 1
a6 1
SUBDIR=		instkernel	# floppy-GENERIC
d15 3
@


1.21.16.1
log
@Pull up following revision(s) (requested by bouyer in ticket #494):
	sys/arch/i386/conf/GENERIC.MP: revision 1.9
	distrib/pc532/cdroms/installcd/Makefile: revision 1.1
	distrib/macppc/Makefile: revision 1.15
	distrib/ofppc/Makefile: revision 1.2
	distrib/ibmnws/Makefile: revision 1.2
	distrib/acorn32/Makefile: revision 1.18
	distrib/x68k/cdroms/installcd/Makefile: revision 1.1
	distrib/sparc/Makefile: revision 1.7
	distrib/sparc64/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/Makefile: revision 1.1
	distrib/hpcsh/Makefile: revision 1.6
	distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/Makefile: revision 1.13
	distrib/news68k/cdroms/installcd/Makefile: revision 1.1
	distrib/amiga/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/installcd/Makefile: revision 1.1
	distrib/playstation2/cdroms/Makefile: revision 1.1
	distrib/amiga/cdroms/Makefile: revision 1.1
	etc/etc.mac68k/Makefile.inc: revision 1.18
	distrib/shark/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/Makefile: revision 1.28
	distrib/hpcmips/cdroms/Makefile: revision 1.1
	distrib/amd64/floppies/Makefile: revision 1.3
	sys/arch/amd64/conf/INSTALL_ACPI: file removal
	distrib/i386/cdroms/Makefile: revision 1.4
	distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcsh/cdroms/Makefile: revision 1.1
	distrib/prep/cdroms/Makefile: revision 1.1
	distrib/pc532/Makefile: revision 1.4
	distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
	distrib/sun2/Makefile: revision 1.8
	distrib/vax/Makefile: revision 1.17
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/cdroms/Makefile: revision 1.1
	distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
	distrib/sun3/cdroms/installcd/Makefile: revision 1.1
	distrib/vax/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
	distrib/mvme68k/Makefile: revision 1.4
	distrib/mvmeppc/cdroms/Makefile: revision 1.1
	distrib/newsmips/Makefile: revision 1.4
	sys/arch/i386/conf/GENERIC.MPACPI: file removal
	distrib/hpcarm/cdroms/Makefile: revision 1.1
	distrib/evbppc/cdroms/Makefile: revision 1.1
	sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
	distrib/i386/cdroms/installcd/Makefile: revision 1.2
	distrib/i386/cdroms/installcd/Makefile: revision 1.3
	doc/CHANGES: revision 1.804
	distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.2
	distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
	distrib/i386/cdroms/bootcd/Makefile: revision 1.3
	distrib/evbarm/Makefile: revision 1.8
	distrib/mvmeppc/Makefile: revision 1.3
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
	distrib/macppc/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/cdroms/Makefile: revision 1.1
	distrib/alpha/cdroms/Makefile: revision 1.1
	distrib/hp300/cdroms/installcd/Makefile: revision 1.1
	distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
	distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/Makefile: revision 1.2
	distrib/pmppc/Makefile: revision 1.2
	distrib/arc/cdroms/Makefile: revision 1.1
	sys/arch/amd64/conf/INSTALL: revision 1.66
	distrib/sun3/cdroms/Makefile: revision 1.1
	distrib/mipsco/Makefile: revision 1.4
	distrib/sun3/Makefile: revision 1.9
	distrib/vax/cdroms/Makefile: revision 1.1
	distrib/pmppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
	distrib/atari/cdroms/installcd/Makefile: revision 1.1
	distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
	distrib/pmax/Makefile: revision 1.4
	Makefile: revision 1.247
	distrib/cats/cdroms/installcd/Makefile: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.130
	sys/arch/amd64/conf/GENERIC: revision 1.131
	distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
	distrib/hp700/cdroms/Makefile: revision 1.1
	distrib/cats/cdroms/Makefile: revision 1.1
	distrib/evbmips/Makefile: revision 1.3
	distrib/evbmips/Makefile: revision 1.4
	sys/arch/amd64/conf/GENERIC_ACPI: file removal
	distrib/ews4800mips/Makefile: revision 1.2
	distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
	distrib/i386/Makefile: revision 1.5
	distrib/amd64/cdroms/installcd/Makefile: revision 1.2
	distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/cdroms/installcd/Makefile: revision 1.1
	etc/etc.amd64/Makefile.inc: revision 1.7
	distrib/i386/instkernel/Makefile: revision 1.6
	distrib/x68k/cdroms/Makefile: revision 1.1
	distrib/i386/cdroms/Makefile.cdrom: revision 1.1
	distrib/sandpoint/Makefile: revision 1.4
	distrib/i386/cdroms/Makefile.cdrom: revision 1.2
	distrib/amiga/Makefile: revision 1.3
	distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
	distrib/news68k/Makefile: revision 1.4
	distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
	distrib/news68k/cdroms/Makefile: revision 1.1
	distrib/sparc/cdroms/Makefile: revision 1.1
	distrib/shark/cdroms/Makefile: revision 1.1
	etc/Makefile: revision 1.341
	distrib/amd64/instkernel/Makefile: revision 1.2
	distrib/sparc64/Makefile: revision 1.7
	distrib/dreamcast/cdroms/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.3
	distrib/ews4800mips/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/installcd/Makefile: revision 1.1
	distrib/shark/Makefile: revision 1.4
	distrib/macppc/cdroms/Makefile: revision 1.1
	distrib/mvme68k/cdroms/Makefile: revision 1.1
	distrib/sun2/cdroms/Makefile: revision 1.1
	distrib/hpcarm/Makefile: revision 1.3
	distrib/arc/cdroms/installcd/Makefile: revision 1.1
	distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
	distrib/mipsco/cdroms/Makefile: revision 1.1
	distrib/Makefile.inc: revision 1.9
	distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
	distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
	distrib/newsmips/cdroms/Makefile: revision 1.1
	distrib/arc/Makefile: revision 1.3
	distrib/sparc/cdroms/installcd/Makefile: revision 1.1
	distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
	distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
	distrib/prep/Makefile: revision 1.3
	distrib/ibmnws/cdroms/Makefile: revision 1.1
	distrib/sandpoint/cdroms/Makefile: revision 1.1
	distrib/atari/Makefile: revision 1.6
	distrib/sgimips/cdroms/Makefile: revision 1.1
	distrib/amd64/Makefile: revision 1.4
	distrib/atari/cdroms/Makefile: revision 1.1
	distrib/x68k/Makefile: revision 1.5
	distrib/x68k/Makefile: revision 1.6
	distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
	distrib/evbarm/cdroms/Makefile: revision 1.1
	distrib/acorn32/cdroms/Makefile: revision 1.1
	distrib/cats/Makefile: revision 1.3
	distrib/evbmips/cdroms/Makefile: revision 1.1
	distrib/pc532/cdroms/Makefile: revision 1.1
	distrib/Makefile: revision 1.14
	distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
	distrib/ofppc/cdroms/Makefile: revision 1.1
	distrib/amd64/cdroms/Makefile: revision 1.3
	distrib/common/Makefile.bootcd: revision 1.8
	distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
	sys/arch/i386/conf/GENERIC: revision 1.813
	distrib/hp300/Makefile: revision 1.17
	sys/arch/i386/conf/GENERIC: revision 1.814
	distrib/evbppc/Makefile: revision 1.2
	distrib/pmax/cdroms/installcd/Makefile: revision 1.1
	etc/etc.i386/Makefile.inc: revision 1.49
	distrib/sgimips/Makefile: revision 1.2
	distrib/prep/cdroms/installcd/Makefile: revision 1.1
	distrib/acorn26/Makefile: revision 1.4
	distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
	distrib/alpha/Makefile: revision 1.22
	distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
  kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
  usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
  make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
  non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2003/01/03 15:34:31 lukem Exp $
d6 1
a6 1
SUBDIR=		instkernel cdroms # floppy-GENERIC
a14 3
iso_image:
	${MAKEDIRTARGET} cdroms iso_image

@


1.20
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 1
#	$NetBSD: Makefile,v 1.19 2002/05/02 13:04:48 lukem Exp $
d11 2
a12 1
	${RELEASE_INSTALL} ${.CURDIR}/README.files ${RELEASEDIR}/installation/$i
@


1.19
log
@convert to building with NDWO Makefile.tarfloppy.

alpha is now fully NDWO (well, at least, the stuff that's enabled in
distrib/alpha/Makefile)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2002/04/30 15:08:44 lukem Exp $
d4 1
a4 1
.include "${NETBSDSRCDIR}/distrib/Makefile.inc"
d7 1
d9 3
a11 10
ITARGET=	${RELEASEDIR}/installation

CDHDTAPEOBJ!=	cd ${.CURDIR}/instkernel/cd-hd-tape && ${PRINTOBJDIR}
FDSETOBJ!=	cd ${.CURDIR}/instkernel/fdset && ${PRINTOBJDIR}
INSTKERNOBJ!=	cd ${.CURDIR}/instkernel/instkernel && ${PRINTOBJDIR}
GENERICOBJ!=	cd ${.CURDIR}/floppy-GENERIC && ${PRINTOBJDIR}

release: check_RELEASEDIR
.for i in floppy diskimage instkernel tapeimage
	${RELINSTALL} ${.CURDIR}/README.files ${ITARGET}/$i/.
a12 5
	${RELINSTALL} ${CDHDTAPEOBJ}/cdhdtape1.fs ${ITARGET}/diskimage/cdhdtape
	${RELINSTALL} ${FDSETOBJ}/disk1.fs ${ITARGET}/floppy/disk1of2
	${RELINSTALL} ${FDSETOBJ}/disk2.fs ${ITARGET}/floppy/disk2of2
	${RELINSTALL} ${INSTKERNOBJ}/netbsd.INSTALL.gz ${ITARGET}/instkernel/netbsd.gz
#	${RELINSTALL} ${GENERICOBJ}/GENERIC.fs ${ITARGET}/misc/.
@


1.18
log
@convert instkernel/fdset into using NDWO Makefile.tarfloppy, which
allows UNPRIVED cross building of aforementioned directory
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2002/04/26 17:30:00 matt Exp $
d19 1
a19 1
	${RELINSTALL} ${CDHDTAPEOBJ}/cdhdtape ${ITARGET}/diskimage/.
@


1.17
log
@Use the correct name of the INSTALL kernel.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2002/04/26 15:50:24 lukem Exp $
d20 2
a21 2
	${RELINSTALL} ${FDSETOBJ}/disk1of2 ${ITARGET}/floppy/.
	${RELINSTALL} ${FDSETOBJ}/disk2of2 ${ITARGET}/floppy/.
@


1.16
log
@replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2002/04/11 06:41:55 lukem Exp $
d22 1
a22 1
	${RELINSTALL} ${INSTKERNOBJ}/netbsd.gz ${ITARGET}/instkernel/.
@


1.15
log
@use RELINSTALL from ../Makefile.inc
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2002/04/10 15:28:22 lukem Exp $
d4 1
a4 1
.include "${_SRC_TOP_}/distrib/Makefile.inc"
@


1.14
log
@whitespace tweak
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2002/03/06 13:31:04 lukem Exp $
d3 2
a4 1
.include <bsd.own.mk>		# Use /etc/mk.conf.
d6 1
a6 1
SUBDIR=	instkernel	# floppy-GENERIC
a8 1
IINST=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
d17 1
a17 1
	${IINST} ${.CURDIR}/README.files ${ITARGET}/$i/.
d19 5
a23 5
	${IINST} ${CDHDTAPEOBJ}/cdhdtape ${ITARGET}/diskimage/.
	${IINST} ${FDSETOBJ}/disk1of2 ${ITARGET}/floppy/.
	${IINST} ${FDSETOBJ}/disk2of2 ${ITARGET}/floppy/.
	${IINST} ${INSTKERNOBJ}/netbsd.gz ${ITARGET}/instkernel/.
#	${IINST} ${GENERICOBJ}/GENERIC.fs ${ITARGET}/misc/.
@


1.13
log
@use check_RELEASEDIR, and minor whitespace cleanup
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2002/02/09 13:56:49 lukem Exp $
d5 1
a5 1
SUBDIR=	instkernel #floppy-GENERIC
d23 1
a23 1
	#${IINST} ${GENERICOBJ}/GENERIC.fs ${ITARGET}/misc/.
@


1.12
log
@don't set the owner or group when installing into $RELEASEDIR
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2001/11/14 00:44:13 tv Exp $
d10 4
a13 9
.ifndef RELEASEDIR
release:
	@@echo setenv RELEASEDIR first
	@@false
.else
CDHDTAPEOBJ != cd ${.CURDIR}/instkernel/cd-hd-tape && ${PRINTOBJDIR}
FDSETOBJ != cd ${.CURDIR}/instkernel/fdset && ${PRINTOBJDIR}
INSTKERNOBJ != cd ${.CURDIR}/instkernel/instkernel && ${PRINTOBJDIR}
GENERICOBJ != cd ${.CURDIR}/floppy-GENERIC && ${PRINTOBJDIR}
d15 1
a15 1
release:
a23 1
.endif
@


1.11
log
@${MAKE} print-objdir -> ${PRINTOBJDIR}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2000/11/07 17:41:51 matt Exp $
d8 1
a8 2
IINST=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY}	\
		-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
@


1.10
log
@Need ${.CURDIR} for README.files (required when using MAKEOBJDIRPREFIX).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2000/10/26 04:53:56 garbled Exp $
d16 4
a19 4
CDHDTAPEOBJ != cd ${.CURDIR}/instkernel/cd-hd-tape; ${MAKE} print-objdir
FDSETOBJ != cd ${.CURDIR}/instkernel/fdset; ${MAKE} print-objdir
INSTKERNOBJ != cd ${.CURDIR}/instkernel/instkernel; ${MAKE} print-objdir
GENERICOBJ != cd ${.CURDIR}/floppy-GENERIC; ${MAKE} print-objdir
@


1.9
log
@Find a bunch of places where we call "make" and replace it with ${MAKE}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2000/09/12 17:21:44 matt Exp $
d23 1
a23 1
	${IINST} README.files ${ITARGET}/$i/.
@


1.8
log
@${.CURDIR} is not optional when using MAKEOBJDIRPREFIX.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2000/03/08 14:28:54 cjs Exp $
d16 4
a19 4
CDHDTAPEOBJ != cd ${.CURDIR}/instkernel/cd-hd-tape; make print-objdir
FDSETOBJ != cd ${.CURDIR}/instkernel/fdset; make print-objdir
INSTKERNOBJ != cd ${.CURDIR}/instkernel/instkernel; make print-objdir
GENERICOBJ != cd ${.CURDIR}/floppy-GENERIC; make print-objdir
@


1.7
log
@Use
  ${MAKE}
instead of
  make
@
text
@d16 4
a19 4
CDHDTAPEOBJ != cd instkernel/cd-hd-tape; ${MAKE} print-objdir
FDSETOBJ != cd instkernel/fdset; ${MAKE} print-objdir
INSTKERNOBJ != cd instkernel/instkernel; ${MAKE} print-objdir
GENERICOBJ != cd floppy-GENERIC; ${MAKE} print-objdir
@


1.6
log
@Fix typo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2000/03/08 13:34:58 cjs Exp $
d16 4
a19 4
CDHDTAPEOBJ != cd instkernel/cd-hd-tape; make print-objdir
FDSETOBJ != cd instkernel/fdset; make print-objdir
INSTKERNOBJ != cd instkernel/instkernel; make print-objdir
GENERICOBJ != cd floppy-GENERIC; make print-objdir
@


1.6.4.1
log
@Pullup 1.7-1.10 [matt & releng]:
Several ${.CURDIR} and ${MAKE} fixes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2000/11/07 17:41:51 matt Exp $
d16 4
a19 4
CDHDTAPEOBJ != cd ${.CURDIR}/instkernel/cd-hd-tape; ${MAKE} print-objdir
FDSETOBJ != cd ${.CURDIR}/instkernel/fdset; ${MAKE} print-objdir
INSTKERNOBJ != cd ${.CURDIR}/instkernel/instkernel; ${MAKE} print-objdir
GENERICOBJ != cd ${.CURDIR}/floppy-GENERIC; ${MAKE} print-objdir
d23 1
a23 1
	${IINST} ${.CURDIR}/README.files ${ITARGET}/$i/.
@


1.5
log
@Include bsd.own.mk so we use /etc/mk.conf, which may well have RELEASEDIR
in it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/11/20 13:03:09 sommerfeld Exp $
d3 1
a3 1
include <bsd.own.mk>		# Use /etc/mk.conf.
@


1.4
log
@Don't assume anything about how obj dirs are named.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.3 1999/09/20 08:18:31 ross Exp $
@


1.3
log
@GENERIC doesn't fit on one floppy anymore. For now, disable the target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1999/06/30 18:36:37 ross Exp $
d14 5
d23 5
a27 5
	${IINST} instkernel/cd-hd-tape/obj/cdhdtape ${ITARGET}/diskimage/.
	${IINST} instkernel/fdset/obj/disk1of2 ${ITARGET}/floppy/.
	${IINST} instkernel/fdset/obj/disk2of2 ${ITARGET}/floppy/.
	${IINST} instkernel/instkernel/obj/netbsd.gz ${ITARGET}/instkernel/.
	#${IINST} floppy-GENERIC/obj/GENERIC.fs ${ITARGET}/misc/.
@


1.3.4.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1999/11/20 13:03:09 sommerfeld Exp $
a13 5
CDHDTAPEOBJ != cd instkernel/cd-hd-tape; make print-objdir
FDSETOBJ != cd instkernel/fdset; make print-objdir
INSTKERNOBJ != cd instkernel/instkernel; make print-objdir
GENERICOBJ != cd floppy-GENERIC; make print-objdir

d18 5
a22 5
	${IINST} ${CDHDTAPEOBJ}/cdhdtape ${ITARGET}/diskimage/.
	${IINST} ${FDSETOBJ}/disk1of2 ${ITARGET}/floppy/.
	${IINST} ${FDSETOBJ}/disk2of2 ${ITARGET}/floppy/.
	${IINST} ${INSTKERNOBJ}/netbsd.gz ${ITARGET}/instkernel/.
	#${IINST} ${GENERICOBJ}/GENERIC.fs ${ITARGET}/misc/.
@


1.2
log
@Add release targets, intended for use by the src/etc/Makefile `make release'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1998/10/16 01:36:45 ross Exp $
d3 1
a3 1
SUBDIR=	instkernel floppy-GENERIC
d22 1
a22 1
	${IINST} floppy-GENERIC/obj/GENERIC.fs ${ITARGET}/misc/.
@


1.1
log
@Someday we might really traverse in distrib; at least traverse this
subdirectory now.
@
text
@d1 1
a1 1
#	$NetBSD$
d4 20
@


1.1.2.1
log
@Apply patch (requested by toddpw):
  Add support for ``release'' and ``depend'' targets in distrib/alpha.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1999/09/20 08:18:31 ross Exp $
d3 1
a3 26
SUBDIR=	instkernel #floppy-GENERIC

ITARGET=	${RELEASEDIR}/installation
IINST=		${INSTALL} ${RENAME} ${PRESERVE} ${COPY}	\
		-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}

.ifndef RELEASEDIR
release:
	@@echo setenv RELEASEDIR first
	@@false
.else
CDHDTAPEOBJ != cd instkernel/cd-hd-tape; make print-objdir
FDSETOBJ != cd instkernel/fdset; make print-objdir
INSTKERNOBJ != cd instkernel/instkernel; make print-objdir
GENERICOBJ != cd floppy-GENERIC; make print-objdir

release:
.for i in floppy diskimage instkernel tapeimage
	${IINST} README.files ${ITARGET}/$i/.
.endfor
	${IINST} ${CDHDTAPEOBJ}/cdhdtape ${ITARGET}/diskimage/.
	${IINST} ${FDSETOBJ}/disk1of2 ${ITARGET}/floppy/.
	${IINST} ${FDSETOBJ}/disk2of2 ${ITARGET}/floppy/.
	${IINST} ${INSTKERNOBJ}/netbsd.gz ${ITARGET}/instkernel/.
	#${IINST} ${GENERICOBJ}/GENERIC.fs ${ITARGET}/misc/.
.endif
@


