head	1.24;
access;
symbols
	perseant-exfatfs-base-20250801:1.24
	perseant-exfatfs-base-20240630:1.24
	perseant-exfatfs:1.24.0.16
	perseant-exfatfs-base:1.24
	netbsd-8-3-RELEASE:1.23
	bouyer-sunxi-drm:1.24.0.14
	bouyer-sunxi-drm-base:1.24
	cjep_sun2x:1.24.0.12
	cjep_sun2x-base:1.24
	cjep_staticlib_x-base1:1.24
	cjep_staticlib_x:1.24.0.10
	cjep_staticlib_x-base:1.24
	thorpej-futex-base:1.24
	bouyer-xenpvh-base2:1.24
	phil-wifi-20200421:1.24
	bouyer-xenpvh-base1:1.24
	phil-wifi-20200411:1.24
	bouyer-xenpvh:1.24.0.8
	bouyer-xenpvh-base:1.24
	phil-wifi-20200406:1.24
	netbsd-8-2-RELEASE:1.23
	ad-namecache-base3:1.24
	ad-namecache-base2:1.24
	ad-namecache-base1:1.24
	ad-namecache:1.24.0.6
	ad-namecache-base:1.24
	netbsd-8-1-RELEASE:1.23
	netbsd-8-1-RC1:1.23
	isaki-audio2:1.24.0.4
	isaki-audio2-base:1.24
	pgoyette-compat-merge-20190127:1.24
	pgoyette-compat-20190127:1.24
	pgoyette-compat-20190118:1.24
	pgoyette-compat-1226:1.24
	pgoyette-compat-1126:1.24
	pgoyette-compat-1020:1.24
	pgoyette-compat-0930:1.24
	pgoyette-compat-0906:1.24
	netbsd-7-2-RELEASE:1.21
	pgoyette-compat-0728:1.24
	netbsd-8-0-RELEASE:1.23
	pgoyette-compat-0625:1.24
	netbsd-8-0-RC2:1.23
	pgoyette-compat-0521:1.24
	pgoyette-compat-0502:1.24
	pgoyette-compat-0422:1.24
	netbsd-8-0-RC1:1.23
	pgoyette-compat-0415:1.24
	pgoyette-compat-0407:1.24
	pgoyette-compat-0330:1.24
	pgoyette-compat-0322:1.24
	pgoyette-compat-0315:1.24
	netbsd-7-1-2-RELEASE:1.21
	pgoyette-compat:1.24.0.2
	pgoyette-compat-base:1.24
	netbsd-7-1-1-RELEASE:1.21
	tls-maxphys-base-20171202:1.23
	matt-nb8-mediatek:1.23.0.10
	matt-nb8-mediatek-base:1.23
	nick-nhusb-base-20170825:1.23
	perseant-stdc-iso10646:1.23.0.8
	perseant-stdc-iso10646-base:1.23
	netbsd-8:1.23.0.6
	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.4
	prg-localcount2-base:1.23
	pgoyette-localcount-20170426:1.23
	bouyer-socketcan-base1:1.23
	jdolecek-ncq:1.23.0.2
	jdolecek-ncq-base:1.23
	pgoyette-localcount-20170320:1.22
	netbsd-7-1:1.21.0.16
	netbsd-7-1-RELEASE:1.21
	netbsd-7-1-RC2:1.21
	nick-nhusb-base-20170204:1.21
	netbsd-7-nhusb-base-20170116:1.21
	bouyer-socketcan:1.21.0.14
	bouyer-socketcan-base:1.21
	pgoyette-localcount-20170107:1.21
	netbsd-7-1-RC1:1.21
	nick-nhusb-base-20161204:1.21
	pgoyette-localcount-20161104:1.21
	netbsd-7-0-2-RELEASE:1.21
	nick-nhusb-base-20161004:1.21
	localcount-20160914:1.21
	netbsd-7-nhusb:1.21.0.12
	netbsd-7-nhusb-base:1.21
	pgoyette-localcount-20160806:1.21
	pgoyette-localcount-20160726:1.21
	pgoyette-localcount:1.21.0.10
	pgoyette-localcount-base:1.21
	nick-nhusb-base-20160907:1.21
	nick-nhusb-base-20160529:1.21
	netbsd-7-0-1-RELEASE:1.21
	nick-nhusb-base-20160422:1.21
	nick-nhusb-base-20160319:1.21
	nick-nhusb-base-20151226:1.21
	netbsd-7-0:1.21.0.8
	netbsd-7-0-RELEASE:1.21
	nick-nhusb-base-20150921:1.21
	netbsd-7-0-RC3:1.21
	netbsd-7-0-RC2:1.21
	netbsd-7-0-RC1:1.21
	nick-nhusb-base-20150606:1.21
	nick-nhusb-base-20150406:1.21
	nick-nhusb:1.21.0.6
	nick-nhusb-base:1.21
	netbsd-5-2-3-RELEASE:1.10
	netbsd-5-1-5-RELEASE:1.10
	netbsd-6-0-6-RELEASE:1.12
	netbsd-6-1-5-RELEASE:1.12
	netbsd-7:1.21.0.4
	netbsd-7-base:1.21
	yamt-pagecache-base9:1.21
	yamt-pagecache-tag8:1.12.4.1
	netbsd-6-1-4-RELEASE:1.12
	netbsd-6-0-5-RELEASE:1.12
	tls-earlyentropy:1.21.0.2
	tls-earlyentropy-base:1.21
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.21
	riastradh-drm2-base3:1.21
	netbsd-6-1-3-RELEASE:1.12
	netbsd-6-0-4-RELEASE:1.12
	netbsd-5-2-2-RELEASE:1.10
	netbsd-5-1-4-RELEASE:1.10
	netbsd-6-1-2-RELEASE:1.12
	netbsd-6-0-3-RELEASE:1.12
	netbsd-5-2-1-RELEASE:1.10
	netbsd-5-1-3-RELEASE:1.10
	rmind-smpnet-nbase:1.21
	netbsd-6-1-1-RELEASE:1.12
	riastradh-drm2-base2:1.15
	riastradh-drm2-base1:1.15
	riastradh-drm2:1.15.0.6
	riastradh-drm2-base:1.15
	rmind-smpnet:1.15.0.4
	rmind-smpnet-base:1.21
	netbsd-6-1:1.12.0.16
	netbsd-6-0-2-RELEASE:1.12
	netbsd-6-1-RELEASE:1.12
	khorben-n900:1.15.0.2
	netbsd-6-1-RC4:1.12
	netbsd-6-1-RC3:1.12
	agc-symver:1.13.0.6
	agc-symver-base:1.13
	netbsd-6-1-RC2:1.12
	netbsd-6-1-RC1:1.12
	yamt-pagecache-base8:1.13
	netbsd-5-2:1.10.0.102
	netbsd-6-0-1-RELEASE:1.12
	yamt-pagecache-base7:1.13
	netbsd-5-2-RELEASE:1.10
	netbsd-5-2-RC1:1.10
	matt-nb6-plus-nbase:1.12
	yamt-pagecache-base6:1.13
	netbsd-6-0:1.12.0.14
	netbsd-6-0-RELEASE:1.12
	netbsd-6-0-RC2:1.12
	tls-maxphys:1.13.0.2
	tls-maxphys-base:1.21
	matt-nb6-plus:1.12.0.12
	matt-nb6-plus-base:1.12
	netbsd-6-0-RC1:1.12
	jmcneill-usbmp-base10:1.12
	yamt-pagecache-base5:1.12
	jmcneill-usbmp-base9:1.12
	yamt-pagecache-base4:1.12
	jmcneill-usbmp-base8:1.12
	jmcneill-usbmp-base7:1.12
	jmcneill-usbmp-base6:1.12
	jmcneill-usbmp-base5:1.12
	jmcneill-usbmp-base4:1.12
	jmcneill-usbmp-base3:1.12
	jmcneill-usbmp-pre-base2:1.12
	jmcneill-usbmp-base2:1.12
	netbsd-6:1.12.0.10
	netbsd-6-base:1.12
	netbsd-5-1-2-RELEASE:1.10
	netbsd-5-1-1-RELEASE:1.10
	jmcneill-usbmp:1.12.0.8
	jmcneill-usbmp-base:1.12
	jmcneill-audiomp3:1.12.0.6
	jmcneill-audiomp3-base:1.12
	yamt-pagecache-base3:1.12
	yamt-pagecache-base2:1.12
	yamt-pagecache:1.12.0.4
	yamt-pagecache-base:1.12
	rmind-uvmplock-nbase:1.12
	cherry-xenmp:1.12.0.2
	cherry-xenmp-base:1.12
	jym-xensuspend-nbase:1.12
	uebayasi-xip-base7:1.12
	bouyer-quota2-nbase:1.12
	bouyer-quota2:1.11.0.8
	bouyer-quota2-base:1.12
	jruoho-x86intr:1.11.0.6
	jruoho-x86intr-base:1.11
	matt-mips64-premerge-20101231:1.11
	matt-nb5-mips64-premerge-20101231:1.10
	matt-nb5-pq3:1.10.0.100
	matt-nb5-pq3-base:1.10
	netbsd-5-1:1.10.0.98
	uebayasi-xip-base6:1.11
	uebayasi-xip-base5:1.11
	netbsd-5-1-RELEASE:1.10
	uebayasi-xip-base4:1.11
	uebayasi-xip-base3:1.11
	yamt-nfs-mp-base11:1.11
	netbsd-5-1-RC4:1.10
	matt-nb5-mips64-k15:1.10
	uebayasi-xip-base2:1.11
	yamt-nfs-mp-base10:1.11
	netbsd-5-1-RC3:1.10
	netbsd-5-1-RC2:1.10
	uebayasi-xip-base1:1.11
	netbsd-5-1-RC1:1.10
	rmind-uvmplock:1.11.0.4
	rmind-uvmplock-base:1.12
	yamt-nfs-mp-base9:1.11
	uebayasi-xip:1.11.0.2
	uebayasi-xip-base:1.11
	netbsd-5-0-2-RELEASE:1.10
	matt-nb5-mips64-premerge-20091211:1.10
	matt-premerge-20091211:1.11
	yamt-nfs-mp-base8:1.11
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.10
	matt-nb4-mips64-k7-u2a-k9b:1.10
	matt-nb5-mips64-u1-k1-k5:1.10
	yamt-nfs-mp-base7:1.11
	matt-nb5-mips64:1.10.0.96
	netbsd-5-0-1-RELEASE:1.10
	jymxensuspend-base:1.11
	yamt-nfs-mp-base6:1.11
	yamt-nfs-mp-base5:1.11
	yamt-nfs-mp-base4:1.11
	yamt-nfs-mp-base3:1.11
	nick-hppapmap-base4:1.11
	nick-hppapmap-base3:1.11
	netbsd-5-0:1.10.0.94
	netbsd-5-0-RELEASE:1.10
	netbsd-5-0-RC4:1.10
	netbsd-5-0-RC3:1.10
	nick-hppapmap-base2:1.10
	netbsd-5-0-RC2:1.10
	jym-xensuspend:1.10.0.92
	jym-xensuspend-base:1.12
	netbsd-5-0-RC1:1.10
	haad-dm-base2:1.10
	haad-nbase2:1.10
	ad-audiomp2:1.10.0.90
	ad-audiomp2-base:1.10
	netbsd-5:1.10.0.88
	netbsd-5-base:1.10
	nick-hppapmap:1.10.0.86
	nick-hppapmap-base:1.11
	matt-mips64-base2:1.10
	haad-dm-base1:1.10
	wrstuden-revivesa-base-4:1.10
	netbsd-4-0-1-RELEASE:1.10
	wrstuden-revivesa-base-3:1.10
	wrstuden-revivesa-base-2:1.10
	wrstuden-fixsa-newbase:1.10
	nick-csl-alignment-base5:1.10
	haad-dm:1.10.0.84
	haad-dm-base:1.10
	wrstuden-revivesa-base-1:1.10
	simonb-wapbl-nbase:1.10
	yamt-pf42-base4:1.10
	simonb-wapbl:1.10.0.82
	simonb-wapbl-base:1.10
	yamt-pf42-base3:1.10
	hpcarm-cleanup-nbase:1.10
	yamt-pf42-baseX:1.10
	yamt-pf42-base2:1.10
	yamt-nfs-mp-base2:1.10
	wrstuden-revivesa:1.10.0.80
	wrstuden-revivesa-base:1.10
	yamt-nfs-mp:1.10.0.78
	yamt-nfs-mp-base:1.10
	yamt-pf42:1.10.0.76
	yamt-pf42-base:1.10
	ad-socklock-base1:1.10
	yamt-lazymbuf-base15:1.10
	yamt-lazymbuf-base14:1.10
	keiichi-mipv6-nbase:1.10
	mjf-devfs2:1.10.0.74
	mjf-devfs2-base:1.10
	nick-net80211-sync:1.10.0.72
	nick-net80211-sync-base:1.10
	keiichi-mipv6:1.10.0.70
	keiichi-mipv6-base:1.10
	ad-audiomp-base-1:1.10
	bouyer-xeni386-merge1:1.10
	matt-armv6-prevmlocking:1.10
	wrstuden-fixsa-base-1:1.10
	vmlocking2-base3:1.10
	netbsd-4-0:1.10.0.68
	netbsd-4-0-RELEASE:1.10
	bouyer-xeni386-nbase:1.10
	yamt-kmem-base3:1.10
	cube-autoconf:1.10.0.66
	cube-autoconf-base:1.10
	yamt-kmem-base2:1.10
	bouyer-xeni386:1.10.0.64
	bouyer-xeni386-base:1.10
	yamt-kmem:1.10.0.62
	yamt-kmem-base:1.10
	vmlocking2-base2:1.10
	reinoud-bufcleanup-nbase:1.10
	vmlocking2:1.10.0.60
	vmlocking2-base1:1.10
	netbsd-4-0-RC5:1.10
	matt-nb4-arm:1.10.0.58
	matt-nb4-arm-base:1.10
	matt-armv6-nbase:1.10
	jmcneill-base:1.10
	netbsd-4-0-RC4:1.10
	mjf-devfs:1.10.0.56
	mjf-devfs-base:1.10
	bouyer-xenamd64-base2:1.10
	vmlocking-nbase:1.10
	yamt-x86pmap-base4:1.10
	bouyer-xenamd64:1.10.0.54
	bouyer-xenamd64-base:1.10
	netbsd-4-0-RC3:1.10
	yamt-x86pmap-base3:1.10
	yamt-x86pmap-base2:1.10
	netbsd-4-0-RC2:1.10
	yamt-x86pmap:1.10.0.52
	yamt-x86pmap-base:1.10
	netbsd-4-0-RC1:1.10
	matt-armv6:1.10.0.50
	matt-armv6-base:1.10
	jmcneill-pm:1.10.0.48
	jmcneill-pm-base:1.10
	hpcarm-cleanup:1.10.0.46
	hpcarm-cleanup-base:1.10
	nick-csl-alignment:1.10.0.44
	nick-csl-alignment-base:1.10
	matt-mips64:1.10.0.42
	matt-mips64-base:1.10
	netbsd-3-1-1-RELEASE:1.9
	netbsd-3-0-3-RELEASE:1.9
	yamt-idlelwp-base8:1.10
	wrstuden-fixsa:1.10.0.40
	wrstuden-fixsa-base:1.10
	ppcoea-renovation:1.10.0.38
	ppcoea-renovation-base:1.10
	thorpej-atomic:1.10.0.36
	thorpej-atomic-base:1.10
	reinoud-bufcleanup:1.10.0.34
	reinoud-bufcleanup-base:1.10
	mjf-ufs-trans:1.10.0.32
	mjf-ufs-trans-base:1.10
	vmlocking:1.10.0.30
	vmlocking-base:1.10
	ad-audiomp:1.10.0.28
	ad-audiomp-base:1.10
	yamt-idlelwp:1.10.0.26
	post-newlock2-merge:1.10
	newlock2-nbase:1.10
	yamt-splraiseipl-base5:1.10
	yamt-splraiseipl-base4:1.10
	yamt-splraiseipl-base3:1.10
	abandoned-netbsd-4-base:1.10
	abandoned-netbsd-4:1.10.0.18
	netbsd-3-1:1.9.0.28
	netbsd-3-1-RELEASE:1.9
	netbsd-3-0-2-RELEASE:1.9
	yamt-splraiseipl-base2:1.10
	netbsd-3-1-RC4:1.9
	yamt-splraiseipl:1.10.0.22
	yamt-splraiseipl-base:1.10
	netbsd-3-1-RC3:1.9
	yamt-pdpolicy-base9:1.10
	newlock2:1.10.0.20
	newlock2-base:1.10
	yamt-pdpolicy-base8:1.10
	netbsd-3-1-RC2:1.9
	netbsd-3-1-RC1:1.9
	yamt-pdpolicy-base7:1.10
	netbsd-4:1.10.0.24
	netbsd-4-base:1.10
	yamt-pdpolicy-base6:1.10
	chap-midi-nbase:1.10
	netbsd-3-0-1-RELEASE:1.9
	gdamore-uart:1.10.0.16
	gdamore-uart-base:1.10
	simonb-timcounters-final:1.10
	yamt-pdpolicy-base5:1.10
	chap-midi:1.10.0.14
	chap-midi-base:1.10
	yamt-pdpolicy-base4:1.10
	yamt-pdpolicy-base3:1.10
	peter-altq-base:1.10
	peter-altq:1.10.0.12
	yamt-pdpolicy-base2:1.10
	elad-kernelauth-base:1.10
	elad-kernelauth:1.10.0.10
	yamt-pdpolicy:1.10.0.8
	yamt-pdpolicy-base:1.10
	yamt-uio_vmspace-base5:1.10
	simonb-timecounters:1.10.0.6
	simonb-timecounters-base:1.10
	rpaulo-netinet-merge-pcb:1.10.0.4
	rpaulo-netinet-merge-pcb-base:1.10
	yamt-uio_vmspace:1.10.0.2
	netbsd-3-0:1.9.0.26
	netbsd-3-0-RELEASE:1.9
	netbsd-3-0-RC6:1.9
	yamt-readahead-base3:1.9
	netbsd-3-0-RC5:1.9
	netbsd-3-0-RC4:1.9
	netbsd-3-0-RC3:1.9
	yamt-readahead-base2:1.9
	netbsd-3-0-RC2:1.9
	yamt-readahead-pervnode:1.9
	yamt-readahead-perfile:1.9
	yamt-readahead:1.9.0.24
	yamt-readahead-base:1.9
	netbsd-3-0-RC1:1.9
	yamt-vop-base3:1.9
	netbsd-2-0-3-RELEASE:1.9
	netbsd-2-1:1.9.0.22
	yamt-vop-base2:1.9
	thorpej-vnode-attr:1.9.0.20
	thorpej-vnode-attr-base:1.9
	netbsd-2-1-RELEASE:1.9
	yamt-vop:1.9.0.18
	yamt-vop-base:1.9
	netbsd-2-1-RC6:1.9
	netbsd-2-1-RC5:1.9
	netbsd-2-1-RC4:1.9
	netbsd-2-1-RC3:1.9
	netbsd-2-1-RC2:1.9
	netbsd-2-1-RC1:1.9
	yamt-lazymbuf:1.9.0.16
	yamt-km-base4:1.9
	netbsd-2-0-2-RELEASE:1.9
	yamt-km-base3:1.9
	netbsd-3:1.9.0.14
	netbsd-3-base:1.9
	yamt-km-base2:1.9
	yamt-km:1.9.0.10
	yamt-km-base:1.9
	kent-audio2:1.9.0.8
	kent-audio2-base:1.9
	netbsd-2-0-1-RELEASE:1.9
	kent-audio1-beforemerge:1.9
	netbsd-2:1.9.0.6
	netbsd-2-base:1.9
	kent-audio1:1.9.0.4
	kent-audio1-base:1.9
	netbsd-2-0-RELEASE:1.9
	netbsd-2-0-RC5:1.9
	netbsd-2-0-RC4:1.9
	netbsd-2-0-RC3:1.9
	netbsd-2-0-RC2:1.9
	netbsd-2-0-RC1:1.9
	netbsd-2-0:1.9.0.2
	netbsd-2-0-base:1.9
	netbsd-1-6-PATCH002-RELEASE:1.3.4.1
	netbsd-1-6-PATCH002:1.3.4.1
	netbsd-1-6-PATCH002-RC4:1.3.4.1
	netbsd-1-6-PATCH002-RC3:1.3.4.1
	netbsd-1-6-PATCH002-RC2:1.3.4.1
	netbsd-1-6-PATCH002-RC1:1.3.4.1
	ktrace-lwp:1.5.0.2
	ktrace-lwp-base:1.9
	netbsd-1-6-PATCH001:1.3.4.1
	netbsd-1-6-PATCH001-RELEASE:1.3.4.1
	netbsd-1-6-PATCH001-RC3:1.3.4.1
	netbsd-1-6-PATCH001-RC2:1.3.4.1
	netbsd-1-6-PATCH001-RC1:1.3.4.1
	nathanw_sa_end:1.4
	nathanw_sa_before_merge:1.4
	fvdl_fs64_base:1.4
	gmcgarry_ctxsw:1.4.0.8
	gmcgarry_ctxsw_base:1.4
	gmcgarry_ucred:1.4.0.6
	gmcgarry_ucred_base:1.4
	nathanw_sa_base:1.4
	kqueue-aftermerge:1.4
	kqueue-beforemerge:1.4
	netbsd-1-6-RELEASE:1.3.4.1
	netbsd-1-6-RC3:1.3.4.1
	netbsd-1-6-RC2:1.3.4.1
	nathanw_sa:1.4.0.4
	netbsd-1-6-RC1:1.3.4.1
	kqueue-base:1.4
	kqueue:1.4.0.2
	netbsd-1-6:1.3.0.4
	netbsd-1-6-base:1.3
	gehenna-devsw:1.3.0.2
	gehenna-devsw-base:1.4;
locks; strict;
comment	@# @;


1.24
date	2018.01.24.09.04.44;	author skrll;	state dead;
branches;
next	1.23;
commitid	chDfudLRSHNjJ6oA;

1.23
date	2017.04.08.19.53.19;	author christos;	state Exp;
branches;
next	1.22;

1.22
date	2017.02.22.12.44.21;	author maya;	state Exp;
branches;
next	1.21;

1.21
date	2014.01.12.15.26.28;	author tsutsui;	state Exp;
branches
	1.21.6.1
	1.21.10.1
	1.21.14.1;
next	1.20;

1.20
date	2013.12.15.18.08.37;	author joerg;	state Exp;
branches;
next	1.19;

1.19
date	2013.11.04.21.25.22;	author christos;	state Exp;
branches;
next	1.18;

1.18
date	2013.11.04.20.58.31;	author christos;	state Exp;
branches;
next	1.17;

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

1.16
date	2013.08.15.21.41.08;	author matt;	state Exp;
branches;
next	1.15;

1.15
date	2013.05.02.04.22.44;	author matt;	state Exp;
branches
	1.15.4.1;
next	1.14;

1.14
date	2013.05.01.22.36.52;	author matt;	state Exp;
branches;
next	1.13;

1.13
date	2012.08.16.16.23.32;	author matt;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2011.01.22.19.19.14;	author joerg;	state Exp;
branches
	1.12.4.1;
next	1.11;

1.11
date	2009.04.03.10.38.12;	author tsutsui;	state Exp;
branches
	1.11.4.1
	1.11.6.1
	1.11.8.1;
next	1.10;

1.10
date	2005.12.11.12.16.05;	author christos;	state Exp;
branches
	1.10.78.1
	1.10.86.1
	1.10.92.1;
next	1.9;

1.9
date	2003.11.23.13.34.07;	author bjh21;	state Exp;
branches;
next	1.8;

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

1.7
date	2003.10.08.01.40.22;	author simonb;	state Exp;
branches;
next	1.6;

1.6
date	2003.09.21.06.28.37;	author matt;	state Exp;
branches;
next	1.5;

1.5
date	2003.04.20.14.37.59;	author bjh21;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2002.06.13.22.01.44;	author bjh21;	state Exp;
branches
	1.4.2.1
	1.4.4.1;
next	1.3;

1.3
date	2002.05.05.10.01.26;	author bjh21;	state Exp;
branches
	1.3.2.1
	1.3.4.1;
next	1.2;

1.2
date	2002.05.04.12.25.00;	author bjh21;	state Exp;
branches;
next	1.1;

1.1
date	2002.03.24.15.47.24;	author bjh21;	state Exp;
branches;
next	;

1.21.6.1
date	2017.08.28.17.51.26;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.21.10.1
date	2017.03.20.06.57.09;	author pgoyette;	state Exp;
branches;
next	1.21.10.2;

1.21.10.2
date	2017.04.26.02.52.59;	author pgoyette;	state Exp;
branches;
next	;

1.21.14.1
date	2017.04.21.16.53.21;	author bouyer;	state Exp;
branches;
next	;

1.15.4.1
date	2013.08.28.23.59.10;	author rmind;	state Exp;
branches;
next	1.15.4.2;

1.15.4.2
date	2014.05.18.17.44.52;	author rmind;	state Exp;
branches;
next	;

1.13.2.1
date	2013.06.23.06.19.58;	author tls;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	2014.08.20.00.02.40;	author tls;	state Exp;
branches;
next	1.13.2.3;

1.13.2.3
date	2017.12.03.11.35.44;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.12.4.1
date	2012.10.30.17.18.36;	author yamt;	state Exp;
branches;
next	1.12.4.2;

1.12.4.2
date	2014.05.22.11.39.26;	author yamt;	state Exp;
branches;
next	;

1.11.4.1
date	2011.03.05.20.49.04;	author rmind;	state Exp;
branches;
next	;

1.11.6.1
date	2011.06.06.09.04.39;	author jruoho;	state Exp;
branches;
next	;

1.11.8.1
date	2011.02.08.16.19.09;	author bouyer;	state Exp;
branches;
next	;

1.10.78.1
date	2009.05.04.08.10.24;	author yamt;	state Exp;
branches;
next	;

1.10.86.1
date	2009.04.28.07.33.31;	author skrll;	state Exp;
branches;
next	;

1.10.92.1
date	2009.05.13.17.16.02;	author jym;	state Exp;
branches;
next	;

1.5.2.1
date	2004.08.03.10.30.48;	author skrll;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2004.09.18.14.30.30;	author skrll;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2004.09.21.13.11.20;	author skrll;	state Exp;
branches;
next	;

1.4.2.1
date	2002.06.13.22.01.44;	author jdolecek;	state dead;
branches;
next	1.4.2.2;

1.4.2.2
date	2002.06.23.17.33.50;	author jdolecek;	state Exp;
branches;
next	;

1.4.4.1
date	2002.06.13.22.01.44;	author bjh21;	state dead;
branches;
next	1.4.4.2;

1.4.4.2
date	2002.06.13.22.01.45;	author bjh21;	state Exp;
branches;
next	;

1.3.2.1
date	2002.07.09.05.03.57;	author gehenna;	state Exp;
branches;
next	;

1.3.4.1
date	2002.06.21.15.01.16;	author lukem;	state Exp;
branches;
next	;


desc
@@


1.24
log
@Remove port-acorn26

OK core@@
@
text
@#	$NetBSD: Makefile.buildboot,v 1.23 2017/04/08 19:53:19 christos Exp $

S?=	${.CURDIR}/../../../..

.PATH: ${.CURDIR}/../lib

KLINK_MACHINE= acorn26
SRCS=	${PROGSOURCE}
NOMAN=# defined
BINDIR=/usr/mdec
BINMODE=444
FILESDIR=/usr/mdec

# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBCRTI=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

RISCOSTYPE ?= ff8

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

.include <bsd.own.mk>
.include <bsd.klinks.mk>


CPUFLAGS=
CPPFLAGS+=	-D_STANDALONE -DHIMEM=0x28000
CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+=	-I${.CURDIR}/../lib
CPPFLAGS+=	${ARM_APCS_FLAGS} -march=armv2
CPPFLAGS+=	-marm
CFLAGS=		-O2
CFLAGS+=	-ffreestanding -fno-unwind-tables
CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no SA_USE_LOADFILE=yes SA_USE_CREAD=yes
CPPFLAGS+=	-DLIBSA_NO_RAW_ACCESS \
		-DLIBSA_SINGLE_FILESYSTEM=riscos \
		-DLIBSA_NO_FS_WRITE \
		-DHEAP_VARIABLE
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

### find out what to use for libriscos
RISCOS_AS=		library
.include "${S}/arch/acorn26/stand/lib/Makefile.inc"
LIBRISCOS=		${RISCOSLIB}

RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS=-N

${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS}
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${LINKFLAGS} -Ttext ${RELOC} ${OBJS} \
	    ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS} ${LIBSA}
	${SIZE} ${.TARGET}

${PROG},${RISCOSTYPE}: ${PROG}
	${OBJCOPY} --output-target=binary ${.ALLSRC} ${.TARGET}

realall: ${PROG},${RISCOSTYPE}

CLEANFILES+=	${PROG},${RISCOSTYPE}
FILES+=		${PROG},${RISCOSTYPE}

.include <bsd.prog.mk>
@


1.23
log
@centralize vers.c building for standalone programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.22 2017/02/22 12:44:21 maya Exp $
@


1.22
log
@GC gcc < 4.8 logic.

-marm implies -mno-thumb, and -mno-thumb-interwork is a GCC default.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.21 2014/01/12 15:26:28 tsutsui Exp $
d23 2
a27 6
SRCS+=		vers.c
CLEANFILES+=	vers.c
.PHONY: vers.c
vers.c: ${.CURDIR}/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
@


1.21
log
@Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.20 2013/12/15 18:08:37 joerg Exp $
a37 3
.if ${HAVE_GCC} < 48
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.else
a38 1
.endif
@


1.21.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.23 2017/04/08 19:53:19 christos Exp $
a22 2
.include "${S}/conf/newvers_stand.mk"

d26 6
d38 3
d42 1
@


1.21.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.23 2017/04/08 19:53:19 christos Exp $
a22 2
.include "${S}/conf/newvers_stand.mk"

d26 6
d38 3
d42 1
@


1.21.10.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.22 2017/02/22 12:44:21 maya Exp $
d38 3
d42 1
@


1.21.10.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.23 2017/04/08 19:53:19 christos Exp $
a22 2
.include "${S}/conf/newvers_stand.mk"

d26 6
@


1.20
log
@Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.19 2013/11/04 21:25:22 christos Exp $
d16 1
@


1.19
log
@explicitly add -marm
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.18 2013/11/04 20:58:31 christos Exp $
d36 1
a36 1
CPPFLAGS+=	-mabi=apcs-gnu -mfloat-abi=soft -march=armv2
@


1.18
log
@no-thumb-interlock is the default, no-thumb does not exist for gcc-4.8
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.17 2013/08/21 06:07:26 matt Exp $
d39 2
@


1.17
log
@Unified syntax
<bsd.klinks.mk> (remove uneeded lines)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.16 2013/08/15 21:41:08 matt Exp $
d37 1
d39 1
@


1.16
log
@Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.15 2013/05/02 04:22:44 matt Exp $
a41 9
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
	-rm -f machine ${MACHINE_ARCH}
	ln -s $S/arch/${MACHINE}/include machine
	ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
.endif

CLEANFILES+= machine ${MACHINE_ARCH}

@


1.15
log
@use KLINK_MACHINE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.14 2013/05/01 22:36:52 matt Exp $
d37 1
d39 1
a39 1
CFLAGS+=	-ffreestanding
@


1.15.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a36 1
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
d38 1
a38 1
CFLAGS+=	-ffreestanding -fno-unwind-tables
d41 9
@


1.15.4.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.15.4.1 2013/08/28 23:59:10 rmind Exp $
a15 1
LIBCRTI=
d36 1
a36 2
CPPFLAGS+=	${ARM_APCS_FLAGS} -march=armv2
.if ${HAVE_GCC} < 48
a37 3
.else
CPPFLAGS+=	-marm
.endif
@


1.14
log
@Fix abi/arch/float-abi for boot code
Force machine to be acorn26
Only build when little-endian non-eabi
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.13 2012/08/16 16:23:32 matt Exp $
d7 1
a7 1
MACHINE= acorn26
d23 1
@


1.13
log
@Add ${_MKTARGET_LINK}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2011/01/22 19:19:14 joerg Exp $
d7 1
d31 1
d35 1
@


1.13.2.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
a6 1
KLINK_MACHINE= acorn26
a21 1
.include <bsd.klinks.mk>
a29 1
CPUFLAGS=
a32 1
CPPFLAGS+=	-mabi=apcs-gnu -mfloat-abi=soft -march=armv2
@


1.13.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a15 1
LIBCRTI=
d36 1
a36 6
CPPFLAGS+=	${ARM_APCS_FLAGS} -march=armv2
.if ${HAVE_GCC} < 48
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.else
CPPFLAGS+=	-marm
.endif
d38 1
a38 1
CFLAGS+=	-ffreestanding -fno-unwind-tables
d41 9
@


1.13.2.3
log
@update from HEAD
@
text
@a22 2
.include "${S}/conf/newvers_stand.mk"

d26 6
d38 3
d42 1
@


1.12
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/acorn26/stand/Makefile.buildboot,v 1.11 2009-04-03 10:38:12 tsutsui Exp $
d76 1
@


1.12.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2011/01/22 19:19:14 joerg Exp $
a75 1
	${_MKTARGET_LINK}
@


1.12.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.buildboot,v 1.12.4.1 2012/10/30 17:18:36 yamt Exp $
a6 1
KLINK_MACHINE= acorn26
a14 1
LIBCRTI=
a21 1
.include <bsd.klinks.mk>
a29 1
CPUFLAGS=
a32 6
CPPFLAGS+=	${ARM_APCS_FLAGS} -march=armv2
.if ${HAVE_GCC} < 48
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.else
CPPFLAGS+=	-marm
.endif
d34 1
a34 1
CFLAGS+=	-ffreestanding -fno-unwind-tables
d37 9
@


1.11
log
@Remove obsolete LIBSA_USE_MEMCPY and LIBSA_USE_MEMSET.
They were removed from <lib/libsa/stand.h> on December 2007.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2005/12/11 12:16:05 christos Exp $
d21 2
d27 2
a28 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
@


1.11.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2011/01/22 19:19:14 joerg Exp $
a20 2
.include <bsd.own.mk>

d25 1
a25 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
@


1.11.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a20 2
.include <bsd.own.mk>

d25 1
a25 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
@


1.11.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2011/01/22 19:19:14 joerg Exp $
a20 2
.include <bsd.own.mk>

d25 1
a25 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
@


1.10
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.5.2.3 2004/09/21 13:11:20 skrll Exp $
a58 1
		-DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET \
@


1.10.92.1
log
@Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.11 2009/04/03 10:38:12 tsutsui Exp $
d59 1
@


1.10.78.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2005/12/11 12:16:05 christos Exp $
d59 1
@


1.10.86.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.11 2009/04/03 10:38:12 tsutsui Exp $
d59 1
@


1.9
log
@Create the "machine" and "arm" links directly from the .BEGIN rule, rather
than in dependencies of it, since .BEGIN is apparently only special for
its commands, not its dependencies.  This should get boot26, and probably
boot32, compiling again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.8 2003/10/26 07:25:35 lukem Exp $
@


1.8
log
@Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.7 2003/10/08 01:40:22 simonb Exp $
d35 4
a38 2
.BEGIN: machine ${MACHINE_ARCH}
.NOPATH: machine ${MACHINE_ARCH}
a40 1
realdepend realall: machine ${MACHINE_ARCH}
a41 10

machine::
	-rm -f $@@
	ln -s $S/arch/acorn26/include $@@

${MACHINE_ARCH}::
	-rm -f $@@
	ln -s $S/arch/${MACHINE_ARCH}/include $@@

${OBJS}: machine ${MACHINE_ARCH}
@


1.7
log
@Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.6 2003/09/21 06:28:37 matt Exp $
d25 1
a25 1
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
@


1.6
log
@GCC 3.3.1 fixes (-ffreestanding, #include <lib/libkern/libkern.h>)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.5 2003/04/20 14:37:59 bjh21 Exp $
d12 6
@


1.5
log
@Create a symlink to sys/arch/arm/include alongside the one to
sys/arch/${MACHINE}/include.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.4 2002/06/13 22:01:44 bjh21 Exp $
d25 1
@


1.5.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.9 2003/11/23 13:34:07 bjh21 Exp $
a12 6
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

d19 1
a19 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
a24 1
CFLAGS+=	-ffreestanding
d28 2
a29 4
.BEGIN:
	-rm -f machine ${MACHINE_ARCH}
	ln -s $S/arch/${MACHINE}/include machine
	ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
d32 1
d35 10
@


1.5.2.2
log
@Sync with HEAD.
@
text
@@


1.5.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.5.2.1 2004/08/03 10:30:48 skrll Exp $
@


1.4
log
@Increase HIMEM to allow enough space for zlib's tables and 16 MB's worth of
page tables, so we can boot gzip'ed kernels on 16 MB machines.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.3 2002/05/05 10:01:26 bjh21 Exp $
d28 2
a29 2
.BEGIN: machine
.NOPATH: machine
d32 2
a33 2
realdepend realall: machine
CLEANFILES+= machine
d39 5
a43 1
${OBJS}: machine
@


1.4.4.1
log
@file Makefile.buildboot was added on branch nathanw_sa on 2002-06-13 22:01:45 +0000
@
text
@d1 84
@


1.4.4.2
log
@Increase HIMEM to allow enough space for zlib's tables and 16 MB's worth of
page tables, so we can boot gzip'ed kernels on 16 MB machines.
@
text
@a0 84
#	$NetBSD: Makefile.buildboot,v 1.4 2002/06/13 22:01:44 bjh21 Exp $

S?=	${.CURDIR}/../../../..

.PATH: ${.CURDIR}/../lib

SRCS=	${PROGSOURCE}
NOMAN=# defined
BINDIR=/usr/mdec
BINMODE=444
FILESDIR=/usr/mdec

RISCOSTYPE ?= ff8

SRCS+=		vers.c
CLEANFILES+=	vers.c
.PHONY: vers.c
vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}

CPPFLAGS+=	-D_STANDALONE -DHIMEM=0x28000
CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+=	-I${.CURDIR}/../lib
CFLAGS=		-O2
CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes

.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN: machine
.NOPATH: machine
.endif

realdepend realall: machine
CLEANFILES+= machine

machine::
	-rm -f $@@
	ln -s $S/arch/acorn26/include $@@

${OBJS}: machine

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no SA_USE_LOADFILE=yes SA_USE_CREAD=yes
CPPFLAGS+=	-DLIBSA_NO_RAW_ACCESS \
		-DLIBSA_SINGLE_FILESYSTEM=riscos \
		-DLIBSA_NO_FS_WRITE \
		-DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET \
		-DHEAP_VARIABLE
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

### find out what to use for libriscos
RISCOS_AS=		library
.include "${S}/arch/acorn26/stand/lib/Makefile.inc"
LIBRISCOS=		${RISCOSLIB}

RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS=-N

${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS}
	${LD} -o ${.TARGET} ${LINKFLAGS} -Ttext ${RELOC} ${OBJS} \
	    ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS} ${LIBSA}
	${SIZE} ${.TARGET}

${PROG},${RISCOSTYPE}: ${PROG}
	${OBJCOPY} --output-target=binary ${.ALLSRC} ${.TARGET}

realall: ${PROG},${RISCOSTYPE}

CLEANFILES+=	${PROG},${RISCOSTYPE}
FILES+=		${PROG},${RISCOSTYPE}

.include <bsd.prog.mk>
@


1.4.2.1
log
@file Makefile.buildboot was added on branch kqueue on 2002-06-23 17:33:50 +0000
@
text
@d1 84
@


1.4.2.2
log
@catch up with -current on kqueue branch
@
text
@a0 84
#	$NetBSD: Makefile.buildboot,v 1.4.2.1 2002/06/23 17:33:50 jdolecek Exp $

S?=	${.CURDIR}/../../../..

.PATH: ${.CURDIR}/../lib

SRCS=	${PROGSOURCE}
NOMAN=# defined
BINDIR=/usr/mdec
BINMODE=444
FILESDIR=/usr/mdec

RISCOSTYPE ?= ff8

SRCS+=		vers.c
CLEANFILES+=	vers.c
.PHONY: vers.c
vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}

CPPFLAGS+=	-D_STANDALONE -DHIMEM=0x28000
CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+=	-I${.CURDIR}/../lib
CFLAGS=		-O2
CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes

.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN: machine
.NOPATH: machine
.endif

realdepend realall: machine
CLEANFILES+= machine

machine::
	-rm -f $@@
	ln -s $S/arch/acorn26/include $@@

${OBJS}: machine

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no SA_USE_LOADFILE=yes SA_USE_CREAD=yes
CPPFLAGS+=	-DLIBSA_NO_RAW_ACCESS \
		-DLIBSA_SINGLE_FILESYSTEM=riscos \
		-DLIBSA_NO_FS_WRITE \
		-DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET \
		-DHEAP_VARIABLE
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

### find out what to use for libriscos
RISCOS_AS=		library
.include "${S}/arch/acorn26/stand/lib/Makefile.inc"
LIBRISCOS=		${RISCOSLIB}

RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS=-N

${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS}
	${LD} -o ${.TARGET} ${LINKFLAGS} -Ttext ${RELOC} ${OBJS} \
	    ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS} ${LIBSA}
	${SIZE} ${.TARGET}

${PROG},${RISCOSTYPE}: ${PROG}
	${OBJCOPY} --output-target=binary ${.ALLSRC} ${.TARGET}

realall: ${PROG},${RISCOSTYPE}

CLEANFILES+=	${PROG},${RISCOSTYPE}
FILES+=		${PROG},${RISCOSTYPE}

.include <bsd.prog.mk>
@


1.3
log
@Re-arrange "machine" magic so it's in the same place as on i386.  This seems
to help things happen in the right order (I smell a missing dependency).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.2 2002/05/04 12:25:00 bjh21 Exp $
d21 1
a21 1
CPPFLAGS+=	-D_STANDALONE -DHIMEM=0x20000
d54 5
a58 1
CPPFLAGS += -DLIBSA_SINGLE_FILESYSTEM=riscos -DHEAP_VARIABLE
@


1.3.2.1
log
@catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.4 2002/06/13 22:01:44 bjh21 Exp $
d21 1
a21 1
CPPFLAGS+=	-D_STANDALONE -DHIMEM=0x28000
d54 1
a54 5
CPPFLAGS+=	-DLIBSA_NO_RAW_ACCESS \
		-DLIBSA_SINGLE_FILESYSTEM=riscos \
		-DLIBSA_NO_FS_WRITE \
		-DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET \
		-DHEAP_VARIABLE
@


1.3.4.1
log
@Pull up revision 1.4 (requested by bjh21 in ticket #270):
Increase HIMEM to allow enough space for zlib's tables and 16 MB's worth of
page tables, so we can boot gzip'ed kernels on 16 MB machines.
@
text
@d1 1
a1 1
#	$NetBSD$
d21 1
a21 1
CPPFLAGS+=	-D_STANDALONE -DHIMEM=0x28000
d54 1
a54 5
CPPFLAGS+=	-DLIBSA_NO_RAW_ACCESS \
		-DLIBSA_SINGLE_FILESYSTEM=riscos \
		-DLIBSA_NO_FS_WRITE \
		-DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET \
		-DHEAP_VARIABLE
@


1.2
log
@Replace the "machine" logic with something stolen from
i386/stand/Makefile.booters.  This might make builds with a read-only
source tree happier.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.1 2002/03/24 15:47:24 bjh21 Exp $
d27 14
a78 14

.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN: machine
.NOPATH: machine
.endif

realdepend realall: machine
CLEANFILES+= machine

machine::
	-rm -f $@@
	ln -s $S/arch/acorn26/include $@@

${OBJS}: machine
@


1.1
log
@Rename NetBSD/arm26 to NetBSD/acorn26, so that the two Acorn/ARM ports have
matching names.  This commit might include some private hacks that have been
lurking in my tree a while.  They're all harmless, and this reduces the number
of gratuitous diffs I have to deal with.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.7 2001/12/12 01:49:37 tv Exp $
d66 2
a67 3
.if !make(obj)
.BEGIN:
	@@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
d69 3
d73 6
a78 1
.endif
@
