head	1.7;
access;
symbols
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.52
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.50
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.7
	netbsd-9-4-RELEASE:1.7
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	thorpej-ifq:1.7.0.48
	thorpej-ifq-base:1.7
	thorpej-altq-separation:1.7.0.46
	thorpej-altq-separation-base:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.44
	netbsd-10-base:1.7
	bouyer-sunxi-drm:1.7.0.42
	bouyer-sunxi-drm-base:1.7
	netbsd-9-3-RELEASE:1.7
	thorpej-i2c-spi-conf2:1.7.0.40
	thorpej-i2c-spi-conf2-base:1.7
	thorpej-futex2:1.7.0.38
	thorpej-futex2-base:1.7
	thorpej-cfargs2:1.7.0.36
	thorpej-cfargs2-base:1.7
	cjep_sun2x-base1:1.7
	cjep_sun2x:1.7.0.34
	cjep_sun2x-base:1.7
	cjep_staticlib_x-base1:1.7
	netbsd-9-2-RELEASE:1.7
	cjep_staticlib_x:1.7.0.32
	cjep_staticlib_x-base:1.7
	thorpej-i2c-spi-conf:1.7.0.30
	thorpej-i2c-spi-conf-base:1.7
	thorpej-cfargs:1.7.0.28
	thorpej-cfargs-base:1.7
	thorpej-futex:1.7.0.26
	thorpej-futex-base:1.7
	netbsd-9-1-RELEASE:1.7
	bouyer-xenpvh-base2:1.7
	phil-wifi-20200421:1.7
	bouyer-xenpvh-base1:1.7
	phil-wifi-20200411:1.7
	bouyer-xenpvh:1.7.0.24
	bouyer-xenpvh-base:1.7
	is-mlppp:1.7.0.22
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.7
	ad-namecache-base3:1.7
	netbsd-9-0-RELEASE:1.7
	netbsd-9-0-RC2:1.7
	ad-namecache-base2:1.7
	ad-namecache-base1:1.7
	ad-namecache:1.7.0.20
	ad-namecache-base:1.7
	netbsd-9-0-RC1:1.7
	phil-wifi-20191119:1.7
	netbsd-9:1.7.0.18
	netbsd-9-base:1.7
	phil-wifi-20190609:1.7
	netbsd-8-1-RELEASE:1.7
	netbsd-8-1-RC1:1.7
	isaki-audio2:1.7.0.16
	isaki-audio2-base:1.7
	pgoyette-compat-merge-20190127:1.7
	pgoyette-compat-20190127:1.7
	pgoyette-compat-20190118:1.7
	pgoyette-compat-1226:1.7
	pgoyette-compat-1126:1.7
	pgoyette-compat-1020:1.7
	pgoyette-compat-0930:1.7
	pgoyette-compat-0906:1.7
	netbsd-7-2-RELEASE:1.6
	pgoyette-compat-0728:1.7
	netbsd-8-0-RELEASE:1.7
	phil-wifi:1.7.0.14
	phil-wifi-base:1.7
	pgoyette-compat-0625:1.7
	netbsd-8-0-RC2:1.7
	pgoyette-compat-0521:1.7
	pgoyette-compat-0502:1.7
	pgoyette-compat-0422:1.7
	netbsd-8-0-RC1:1.7
	pgoyette-compat-0415:1.7
	pgoyette-compat-0407:1.7
	pgoyette-compat-0330:1.7
	pgoyette-compat-0322:1.7
	pgoyette-compat-0315:1.7
	netbsd-7-1-2-RELEASE:1.6
	pgoyette-compat:1.7.0.12
	pgoyette-compat-base:1.7
	netbsd-7-1-1-RELEASE:1.6
	tls-maxphys-base-20171202:1.7
	matt-nb8-mediatek:1.7.0.10
	matt-nb8-mediatek-base:1.7
	nick-nhusb-base-20170825:1.7
	perseant-stdc-iso10646:1.7.0.8
	perseant-stdc-iso10646-base:1.7
	netbsd-8:1.7.0.6
	netbsd-8-base:1.7
	prg-localcount2-base3:1.7
	prg-localcount2-base2:1.7
	prg-localcount2-base1:1.7
	prg-localcount2:1.7.0.4
	prg-localcount2-base:1.7
	pgoyette-localcount-20170426:1.7
	bouyer-socketcan-base1:1.7
	jdolecek-ncq:1.7.0.2
	jdolecek-ncq-base:1.7
	pgoyette-localcount-20170320:1.6
	netbsd-7-1:1.6.0.16
	netbsd-7-1-RELEASE:1.6
	netbsd-7-1-RC2:1.6
	nick-nhusb-base-20170204:1.6
	netbsd-7-nhusb-base-20170116:1.6
	bouyer-socketcan:1.6.0.14
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	netbsd-7-1-RC1:1.6
	nick-nhusb-base-20161204:1.6
	pgoyette-localcount-20161104:1.6
	netbsd-7-0-2-RELEASE:1.6
	nick-nhusb-base-20161004:1.6
	localcount-20160914:1.6
	netbsd-7-nhusb:1.6.0.12
	netbsd-7-nhusb-base:1.6
	pgoyette-localcount-20160806:1.6
	pgoyette-localcount-20160726:1.6
	pgoyette-localcount:1.6.0.10
	pgoyette-localcount-base:1.6
	nick-nhusb-base-20160907:1.6
	nick-nhusb-base-20160529:1.6
	netbsd-7-0-1-RELEASE:1.6
	nick-nhusb-base-20160422:1.6
	nick-nhusb-base-20160319:1.6
	nick-nhusb-base-20151226:1.6
	netbsd-7-0:1.6.0.8
	netbsd-7-0-RELEASE:1.6
	nick-nhusb-base-20150921:1.6
	netbsd-7-0-RC3:1.6
	netbsd-7-0-RC2:1.6
	netbsd-7-0-RC1:1.6
	nick-nhusb-base-20150606:1.6
	nick-nhusb-base-20150406:1.6
	nick-nhusb:1.6.0.6
	nick-nhusb-base:1.6
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	netbsd-6-0-6-RELEASE:1.5
	netbsd-6-1-5-RELEASE:1.5
	netbsd-7:1.6.0.4
	netbsd-7-base:1.6
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.4.4.1
	netbsd-6-1-4-RELEASE:1.5
	netbsd-6-0-5-RELEASE:1.5
	tls-earlyentropy:1.6.0.2
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	netbsd-6-1-3-RELEASE:1.5
	netbsd-6-0-4-RELEASE:1.5
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	rmind-smpnet-nbase:1.6
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.18
	riastradh-drm2-base:1.5
	rmind-smpnet:1.5.0.10
	rmind-smpnet-base:1.6
	netbsd-6-1:1.5.0.16
	netbsd-6-0-2-RELEASE:1.5
	netbsd-6-1-RELEASE:1.5
	khorben-n900:1.5.0.14
	netbsd-6-1-RC4:1.5
	netbsd-6-1-RC3:1.5
	agc-symver:1.5.0.12
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.5
	netbsd-6-1-RC1:1.5
	yamt-pagecache-base8:1.5
	netbsd-5-2:1.1.0.90
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.8
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.6
	tls-maxphys-base:1.6
	matt-nb6-plus:1.5.0.4
	matt-nb6-plus-base:1.5
	netbsd-6-0-RC1:1.5
	jmcneill-usbmp-base10:1.5
	yamt-pagecache-base5:1.5
	jmcneill-usbmp-base9:1.5
	yamt-pagecache-base4:1.5
	jmcneill-usbmp-base8:1.5
	jmcneill-usbmp-base7:1.5
	jmcneill-usbmp-base6:1.5
	jmcneill-usbmp-base5:1.5
	jmcneill-usbmp-base4:1.5
	jmcneill-usbmp-base3:1.5
	jmcneill-usbmp-pre-base2:1.4
	jmcneill-usbmp-base2:1.5
	netbsd-6:1.5.0.2
	netbsd-6-base:1.5
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	jmcneill-usbmp:1.4.0.8
	jmcneill-usbmp-base:1.4
	jmcneill-audiomp3:1.4.0.6
	jmcneill-audiomp3-base:1.4
	yamt-pagecache-base3:1.4
	yamt-pagecache-base2:1.4
	yamt-pagecache:1.4.0.4
	yamt-pagecache-base:1.4
	rmind-uvmplock-nbase:1.4
	cherry-xenmp:1.4.0.2
	cherry-xenmp-base:1.4
	jym-xensuspend-nbase:1.4
	uebayasi-xip-base7:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.3.0.8
	bouyer-quota2-base:1.4
	jruoho-x86intr:1.3.0.6
	jruoho-x86intr-base:1.3
	matt-mips64-premerge-20101231:1.3
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.88
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.86
	uebayasi-xip-base6:1.3
	uebayasi-xip-base5:1.3
	netbsd-5-1-RELEASE:1.1
	uebayasi-xip-base4:1.3
	uebayasi-xip-base3:1.3
	yamt-nfs-mp-base11:1.3
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	uebayasi-xip-base2:1.3
	yamt-nfs-mp-base10:1.3
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	uebayasi-xip-base1:1.3
	netbsd-5-1-RC1:1.1
	rmind-uvmplock:1.3.0.4
	rmind-uvmplock-base:1.4
	yamt-nfs-mp-base9:1.3
	uebayasi-xip:1.3.0.2
	uebayasi-xip-base:1.3
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.3
	yamt-nfs-mp-base8:1.3
	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
	yamt-nfs-mp-base7:1.3
	matt-nb5-mips64:1.1.0.84
	netbsd-5-0-1-RELEASE:1.1
	jymxensuspend-base:1.3
	yamt-nfs-mp-base6:1.3
	yamt-nfs-mp-base5:1.3
	yamt-nfs-mp-base4:1.3
	yamt-nfs-mp-base3:1.3
	nick-hppapmap-base4:1.3
	nick-hppapmap-base3:1.3
	netbsd-5-0:1.1.0.82
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	nick-hppapmap-base2:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.1.0.80
	jym-xensuspend-base:1.4
	netbsd-5-0-RC1:1.1
	haad-dm-base2:1.1
	haad-nbase2:1.1
	ad-audiomp2:1.1.0.78
	ad-audiomp2-base:1.1
	netbsd-5:1.1.0.76
	netbsd-5-base:1.1
	nick-hppapmap:1.1.0.74
	nick-hppapmap-base:1.3
	matt-mips64-base2:1.1
	haad-dm-base1:1.1
	wrstuden-revivesa-base-4:1.1
	netbsd-4-0-1-RELEASE:1.1
	wrstuden-revivesa-base-3:1.1
	wrstuden-revivesa-base-2:1.1
	wrstuden-fixsa-newbase:1.1
	nick-csl-alignment-base5:1.1
	haad-dm:1.1.0.72
	haad-dm-base:1.1
	wrstuden-revivesa-base-1:1.1
	simonb-wapbl-nbase:1.1
	yamt-pf42-base4:1.1
	simonb-wapbl:1.1.0.70
	simonb-wapbl-base:1.1
	yamt-pf42-base3:1.1
	hpcarm-cleanup-nbase:1.1
	yamt-pf42-baseX:1.1
	yamt-pf42-base2:1.1
	yamt-nfs-mp-base2:1.1
	wrstuden-revivesa:1.1.0.68
	wrstuden-revivesa-base:1.1
	yamt-nfs-mp:1.1.0.66
	yamt-nfs-mp-base:1.1
	yamt-pf42:1.1.0.64
	yamt-pf42-base:1.1
	ad-socklock-base1:1.1
	yamt-lazymbuf-base15:1.1
	yamt-lazymbuf-base14:1.1
	keiichi-mipv6-nbase:1.1
	mjf-devfs2:1.1.0.62
	mjf-devfs2-base:1.1
	nick-net80211-sync:1.1.0.60
	nick-net80211-sync-base:1.1
	keiichi-mipv6:1.1.0.58
	keiichi-mipv6-base:1.1
	bouyer-xeni386-merge1:1.1
	matt-armv6-prevmlocking:1.1
	wrstuden-fixsa-base-1:1.1
	vmlocking2-base3:1.1
	netbsd-4-0:1.1.0.56
	netbsd-4-0-RELEASE:1.1
	bouyer-xeni386-nbase:1.1
	yamt-kmem-base3:1.1
	cube-autoconf:1.1.0.54
	cube-autoconf-base:1.1
	yamt-kmem-base2:1.1
	bouyer-xeni386:1.1.0.52
	bouyer-xeni386-base:1.1
	yamt-kmem:1.1.0.50
	yamt-kmem-base:1.1
	vmlocking2-base2:1.1
	reinoud-bufcleanup-nbase:1.1
	vmlocking2:1.1.0.48
	vmlocking2-base1:1.1
	netbsd-4-0-RC5:1.1
	matt-nb4-arm:1.1.0.46
	matt-nb4-arm-base:1.1
	matt-armv6-nbase:1.1
	jmcneill-base:1.1
	netbsd-4-0-RC4:1.1
	mjf-devfs:1.1.0.44
	mjf-devfs-base:1.1
	bouyer-xenamd64-base2:1.1
	vmlocking-nbase:1.1
	yamt-x86pmap-base4:1.1
	bouyer-xenamd64:1.1.0.42
	bouyer-xenamd64-base:1.1
	netbsd-4-0-RC3:1.1
	yamt-x86pmap-base3:1.1
	yamt-x86pmap-base2:1.1
	netbsd-4-0-RC2:1.1
	yamt-x86pmap:1.1.0.40
	yamt-x86pmap-base:1.1
	netbsd-4-0-RC1:1.1
	matt-armv6:1.1.0.38
	matt-armv6-base:1.1
	jmcneill-pm:1.1.0.36
	jmcneill-pm-base:1.1
	hpcarm-cleanup:1.1.0.34
	hpcarm-cleanup-base:1.1
	nick-csl-alignment:1.1.0.32
	nick-csl-alignment-base:1.1
	matt-mips64:1.1.0.30
	matt-mips64-base:1.1
	yamt-idlelwp-base8:1.1
	wrstuden-fixsa:1.1.0.28
	wrstuden-fixsa-base:1.1
	ppcoea-renovation:1.1.0.26
	ppcoea-renovation-base:1.1
	thorpej-atomic:1.1.0.24
	thorpej-atomic-base:1.1
	reinoud-bufcleanup:1.1.0.22
	reinoud-bufcleanup-base:1.1
	mjf-ufs-trans:1.1.0.20
	mjf-ufs-trans-base:1.1
	vmlocking:1.1.0.18
	vmlocking-base:1.1
	ad-audiomp:1.1.0.16
	ad-audiomp-base:1.1
	yamt-idlelwp:1.1.0.14
	post-newlock2-merge:1.1
	newlock2-nbase:1.1
	yamt-lazymbuf:1.1.0.12
	yamt-splraiseipl-base5:1.1
	yamt-splraiseipl-base4:1.1
	yamt-splraiseipl-base3:1.1
	netbsd-4:1.1.0.10
	netbsd-4-base:1.1
	yamt-splraiseipl-base2:1.1
	yamt-splraiseipl:1.1.0.8
	yamt-splraiseipl-base:1.1
	yamt-pdpolicy-base9:1.1
	rpaulo-netinet-merge-pcb-base:1.1
	rpaulo-netinet-merge-pcb:1.1.0.6
	newlock2:1.1.0.4
	newlock2-base:1.1
	yamt-pdpolicy:1.1.0.2
	yamt-pdpolicy-base8:1.1;
locks; strict;
comment	@# @;


1.7
date	2017.04.08.19.53.21;	author christos;	state Exp;
branches;
next	1.6;
commitid	mAo8FJwd588QFLMz;

1.6
date	2013.08.21.07.08.30;	author matt;	state Exp;
branches
	1.6.6.1
	1.6.10.1
	1.6.14.1;
next	1.5;
commitid	eFGv0kqmUnt24i2x;

1.5
date	2011.12.25.06.09.09;	author tsutsui;	state Exp;
branches
	1.5.6.1
	1.5.10.1;
next	1.4;

1.4
date	2011.01.22.19.19.19;	author joerg;	state Exp;
branches
	1.4.4.1
	1.4.8.1;
next	1.3;

1.3
date	2009.04.22.17.13.36;	author tsutsui;	state Exp;
branches
	1.3.4.1
	1.3.6.1
	1.3.8.1;
next	1.2;

1.2
date	2009.04.21.15.17.58;	author tsutsui;	state Exp;
branches;
next	1.1;

1.1
date	2006.09.01.21.26.18;	author uwe;	state Exp;
branches
	1.1.2.1
	1.1.6.1
	1.1.12.1
	1.1.66.1
	1.1.74.1
	1.1.80.1;
next	;

1.6.6.1
date	2017.08.28.17.51.43;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.6.10.1
date	2017.04.26.02.53.04;	author pgoyette;	state Exp;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

1.6.14.1
date	2017.04.21.16.53.29;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.5.6.1
date	2014.08.20.00.03.09;	author tls;	state Exp;
branches;
next	1.5.6.2;
commitid	jTnpym9Qu0o4R1Nx;

1.5.6.2
date	2017.12.03.11.36.22;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.5.10.1
date	2013.08.28.23.59.18;	author rmind;	state Exp;
branches;
next	;
commitid	cbp9Ov2uYijlqh3x;

1.4.4.1
date	2012.04.17.00.06.34;	author yamt;	state Exp;
branches;
next	1.4.4.2;

1.4.4.2
date	2014.05.22.11.39.54;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.4.8.1
date	2012.02.18.07.32.27;	author mrg;	state Exp;
branches;
next	;

1.3.4.1
date	2011.03.05.20.50.52;	author rmind;	state Exp;
branches;
next	;

1.3.6.1
date	2011.06.06.09.05.55;	author jruoho;	state Exp;
branches;
next	;

1.3.8.1
date	2011.02.08.16.19.27;	author bouyer;	state Exp;
branches;
next	;

1.1.2.1
date	2006.09.01.21.26.18;	author yamt;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2006.09.03.15.23.19;	author yamt;	state Exp;
branches;
next	;

1.1.6.1
date	2006.09.01.21.26.18;	author rpaulo;	state dead;
branches;
next	1.1.6.2;

1.1.6.2
date	2006.09.09.02.40.57;	author rpaulo;	state Exp;
branches;
next	;

1.1.12.1
date	2006.09.01.21.26.18;	author yamt;	state dead;
branches;
next	1.1.12.2;

1.1.12.2
date	2006.12.30.20.46.24;	author yamt;	state Exp;
branches;
next	;

1.1.66.1
date	2009.05.04.08.11.23;	author yamt;	state Exp;
branches;
next	;

1.1.74.1
date	2009.04.28.07.34.16;	author skrll;	state Exp;
branches;
next	;

1.1.80.1
date	2009.05.13.17.17.58;	author jym;	state Exp;
branches;
next	;


desc
@@


1.7
log
@centralize vers.c building for standalone programs.
@
text
@# $NetBSD: Makefile.boot,v 1.6 2013/08/21 07:08:30 matt Exp $

PROG?=		boot

NEWVERSWHAT?=	"Boot"

SRCS=	boot.S boot2.c bootinfo.c conf.c devopen.c monitor.c
SRCS+=	delay.c getsecs.c
SRCS+=	bios.S
SRCS+=	biosdisk.c biosdisk_ll.c
SRCS+=	scifcons.c cons.c prf.c

LDFLAGS+=	-e boot_start

CFLAGS=
CPPFLAGS=	-DSUPPORT_FFSv1
CPPFLAGS+=	-DSUPPORT_FFSv2
CPPFLAGS+=	-DSUPPORT_DOSFS
CPPFLAGS+=	-DSUPPORT_USTARFS
CPPFLAGS+=	-DDBMONITOR
CPPFLAGS+=	-DLIBSA_ENABLE_LS_OP
#CPPFLAGS+=	-DDEBUG

SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"

.include "../Makefile.bootprogs"

LIBLIST=	${LIBSA} ${LIBZ} ${LIBKERN}

CLEANFILES+=	${PROG}.sym ${PROG}.map


${PROG}: ${OBJS} ${LIBLIST}
	${_MKTARGET_LINK}
	${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \
		-Map ${PROG}.map -cref ${OBJS} ${LIBLIST}
	${OBJCOPY} -O binary ${PROG}.sym ${PROG}

.include "${S}/conf/newvers_stand.mk"

.include <bsd.prog.mk>
@


1.6
log
@Use <bsd.klinks.mk>
Add missing ${_MKTARGET_LINK}
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.5 2011/12/25 06:09:09 tsutsui Exp $
a5 1
VERSIONFILE?=	${.CURDIR}/../version
a11 3
.if !make(depend)
SRCS+=	vers.c
.endif
d32 1
a32 1
CLEANFILES+=	${PROG}.sym ${PROG}.map vers.c
a33 3
vers.c: ${VERSIONFILE} ${SOURCES} ${.CURDIR}/../Makefile.boot
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
d41 2
@


1.6.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.7 2017/04/08 19:53:21 christos Exp $
d6 1
d13 3
d36 1
a36 1
CLEANFILES+=	${PROG}.sym ${PROG}.map
d38 3
a47 2
.include "${S}/conf/newvers_stand.mk"

@


1.6.10.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.7 2017/04/08 19:53:21 christos Exp $
d6 1
d13 3
d36 1
a36 1
CLEANFILES+=	${PROG}.sym ${PROG}.map
d38 3
a47 2
.include "${S}/conf/newvers_stand.mk"

@


1.6.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.7 2017/04/08 19:53:21 christos Exp $
d6 1
d13 3
d36 1
a36 1
CLEANFILES+=	${PROG}.sym ${PROG}.map
d38 3
a47 2
.include "${S}/conf/newvers_stand.mk"

@


1.5
log
@Apply the following patch submitted by Evgeniy Ivanov:
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html

 - add 'ls' op to struct fs_ops to support ls command on each fs,
   enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
   in libsa
 - split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
   that opens the target fs and calls fs-depedent XXX_ls() functions
 - add a ls op for ext2fs
   (all other fs than ufs and ext2fs don't have actual ls ops yet)
 - replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
      replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.4 2011/01/22 19:19:19 joerg Exp $
d43 1
@


1.5.6.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
# $NetBSD$
a42 1
	${_MKTARGET_LINK}
@


1.5.6.2
log
@update from HEAD
@
text
@d6 1
d13 3
d36 1
a36 1
CLEANFILES+=	${PROG}.sym ${PROG}.map
d38 3
a47 2
.include "${S}/conf/newvers_stand.mk"

@


1.5.10.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD$
a42 1
	${_MKTARGET_LINK}
@


1.4
log
@Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
@
text
@d1 1
a1 1
# $NetBSD: src/sys/arch/landisk/stand/boot/Makefile.boot,v 1.3 2009-04-22 17:13:36 tsutsui Exp $
d25 1
d30 1
@


1.4.4.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.4 2011/01/22 19:19:19 joerg Exp $
a24 1
CPPFLAGS+=	-DLIBSA_ENABLE_LS_OP
a28 1
SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
@


1.4.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
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.4.4.1 2012/04/17 00:06:34 yamt Exp $
a42 1
	${_MKTARGET_LINK}
@


1.4.8.1
log
@merge to -current.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.5 2011/12/25 06:09:09 tsutsui Exp $
a24 1
CPPFLAGS+=	-DLIBSA_ENABLE_LS_OP
a28 1
SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
@


1.3
log
@Add ustarfs boot support.
This will be useful for disk size independent bootstrap installation image.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.2 2009/04/21 15:17:58 tsutsui Exp $
d37 2
a38 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
@


1.3.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.4 2011/01/22 19:19:19 joerg Exp $
d37 1
a37 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
@


1.3.4.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD$
d37 1
a37 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
@


1.3.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.4 2011/01/22 19:19:19 joerg Exp $
d37 1
a37 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
@


1.2
log
@Add UFS2 boot support. Tested on lantank.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.1 2006/09/01 21:26:18 uwe Exp $
d23 1
@


1.1
log
@Initial import of NetBSD/landisk port by NONAKA Kimihiro <nonaka@@NetBSD.org>
@
text
@d1 1
a1 1
# $NetBSD$
d20 2
a21 1
CPPFLAGS=	-DSUPPORT_UFS
@


1.1.2.1
log
@file Makefile.boot was added on branch yamt-pdpolicy on 2006-09-03 15:23:19 +0000
@
text
@d1 42
@


1.1.2.2
log
@sync with head.
@
text
@a0 42
# $NetBSD: Makefile.boot,v 1.1.2.1 2006/09/03 15:23:19 yamt Exp $

PROG?=		boot

NEWVERSWHAT?=	"Boot"
VERSIONFILE?=	${.CURDIR}/../version

SRCS=	boot.S boot2.c bootinfo.c conf.c devopen.c monitor.c
SRCS+=	delay.c getsecs.c
SRCS+=	bios.S
SRCS+=	biosdisk.c biosdisk_ll.c
SRCS+=	scifcons.c cons.c prf.c
.if !make(depend)
SRCS+=	vers.c
.endif

LDFLAGS+=	-e boot_start

CFLAGS=
CPPFLAGS=	-DSUPPORT_UFS
CPPFLAGS+=	-DSUPPORT_DOSFS
CPPFLAGS+=	-DDBMONITOR
#CPPFLAGS+=	-DDEBUG

SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"

.include "../Makefile.bootprogs"

LIBLIST=	${LIBSA} ${LIBZ} ${LIBKERN}

CLEANFILES+=	${PROG}.sym ${PROG}.map vers.c

vers.c: ${VERSIONFILE} ${SOURCES} ${.CURDIR}/../Makefile.boot
	${HOST_SH} ${S}/conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}

${PROG}: ${OBJS} ${LIBLIST}
	${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \
		-Map ${PROG}.map -cref ${OBJS} ${LIBLIST}
	${OBJCOPY} -O binary ${PROG}.sym ${PROG}

.include <bsd.prog.mk>
@


1.1.6.1
log
@file Makefile.boot was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:40:57 +0000
@
text
@d1 42
@


1.1.6.2
log
@sync with head
@
text
@a0 42
# $NetBSD: Makefile.boot,v 1.1.6.1 2006/09/09 02:40:57 rpaulo Exp $

PROG?=		boot

NEWVERSWHAT?=	"Boot"
VERSIONFILE?=	${.CURDIR}/../version

SRCS=	boot.S boot2.c bootinfo.c conf.c devopen.c monitor.c
SRCS+=	delay.c getsecs.c
SRCS+=	bios.S
SRCS+=	biosdisk.c biosdisk_ll.c
SRCS+=	scifcons.c cons.c prf.c
.if !make(depend)
SRCS+=	vers.c
.endif

LDFLAGS+=	-e boot_start

CFLAGS=
CPPFLAGS=	-DSUPPORT_UFS
CPPFLAGS+=	-DSUPPORT_DOSFS
CPPFLAGS+=	-DDBMONITOR
#CPPFLAGS+=	-DDEBUG

SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"

.include "../Makefile.bootprogs"

LIBLIST=	${LIBSA} ${LIBZ} ${LIBKERN}

CLEANFILES+=	${PROG}.sym ${PROG}.map vers.c

vers.c: ${VERSIONFILE} ${SOURCES} ${.CURDIR}/../Makefile.boot
	${HOST_SH} ${S}/conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}

${PROG}: ${OBJS} ${LIBLIST}
	${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \
		-Map ${PROG}.map -cref ${OBJS} ${LIBLIST}
	${OBJCOPY} -O binary ${PROG}.sym ${PROG}

.include <bsd.prog.mk>
@


1.1.12.1
log
@file Makefile.boot was added on branch yamt-lazymbuf on 2006-12-30 20:46:24 +0000
@
text
@d1 42
@


1.1.12.2
log
@sync with head.
@
text
@a0 42
# $NetBSD: Makefile.boot,v 1.1.12.1 2006/12/30 20:46:24 yamt Exp $

PROG?=		boot

NEWVERSWHAT?=	"Boot"
VERSIONFILE?=	${.CURDIR}/../version

SRCS=	boot.S boot2.c bootinfo.c conf.c devopen.c monitor.c
SRCS+=	delay.c getsecs.c
SRCS+=	bios.S
SRCS+=	biosdisk.c biosdisk_ll.c
SRCS+=	scifcons.c cons.c prf.c
.if !make(depend)
SRCS+=	vers.c
.endif

LDFLAGS+=	-e boot_start

CFLAGS=
CPPFLAGS=	-DSUPPORT_UFS
CPPFLAGS+=	-DSUPPORT_DOSFS
CPPFLAGS+=	-DDBMONITOR
#CPPFLAGS+=	-DDEBUG

SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"

.include "../Makefile.bootprogs"

LIBLIST=	${LIBSA} ${LIBZ} ${LIBKERN}

CLEANFILES+=	${PROG}.sym ${PROG}.map vers.c

vers.c: ${VERSIONFILE} ${SOURCES} ${.CURDIR}/../Makefile.boot
	${HOST_SH} ${S}/conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}

${PROG}: ${OBJS} ${LIBLIST}
	${LD} -o ${PROG}.sym ${LDFLAGS} -Ttext ${SECONDARY_LOAD_ADDRESS} \
		-Map ${PROG}.map -cref ${OBJS} ${LIBLIST}
	${OBJCOPY} -O binary ${PROG}.sym ${PROG}

.include <bsd.prog.mk>
@


1.1.80.1
log
@Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.3 2009/04/22 17:13:36 tsutsui Exp $
d20 1
a20 2
CPPFLAGS=	-DSUPPORT_FFSv1
CPPFLAGS+=	-DSUPPORT_FFSv2
a21 1
CPPFLAGS+=	-DSUPPORT_USTARFS
@


1.1.66.1
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.1 2006/09/01 21:26:18 uwe Exp $
d20 1
a20 2
CPPFLAGS=	-DSUPPORT_FFSv1
CPPFLAGS+=	-DSUPPORT_FFSv2
a21 1
CPPFLAGS+=	-DSUPPORT_USTARFS
@


1.1.74.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.boot,v 1.3 2009/04/22 17:13:36 tsutsui Exp $
d20 1
a20 2
CPPFLAGS=	-DSUPPORT_FFSv1
CPPFLAGS+=	-DSUPPORT_FFSv2
a21 1
CPPFLAGS+=	-DSUPPORT_USTARFS
@
