head	1.27;
access;
symbols
	netbsd-11-0-RC4:1.27
	netbsd-11-0-RC3:1.27
	netbsd-11-0-RC2:1.27
	netbsd-11-0-RC1:1.27
	perseant-exfatfs-base-20250801:1.27
	netbsd-11:1.27.0.28
	netbsd-11-base:1.27
	netbsd-10-1-RELEASE:1.27
	perseant-exfatfs-base-20240630:1.27
	perseant-exfatfs:1.27.0.26
	perseant-exfatfs-base:1.27
	netbsd-8-3-RELEASE:1.24
	netbsd-9-4-RELEASE:1.24
	netbsd-10-0-RELEASE:1.27
	netbsd-10-0-RC6:1.27
	netbsd-10-0-RC5:1.27
	netbsd-10-0-RC4:1.27
	netbsd-10-0-RC3:1.27
	netbsd-10-0-RC2:1.27
	thorpej-ifq:1.27.0.24
	thorpej-ifq-base:1.27
	thorpej-altq-separation:1.27.0.22
	thorpej-altq-separation-base:1.27
	netbsd-10-0-RC1:1.27
	netbsd-10:1.27.0.20
	netbsd-10-base:1.27
	bouyer-sunxi-drm:1.27.0.18
	bouyer-sunxi-drm-base:1.27
	netbsd-9-3-RELEASE:1.24
	thorpej-i2c-spi-conf2:1.27.0.16
	thorpej-i2c-spi-conf2-base:1.27
	thorpej-futex2:1.27.0.14
	thorpej-futex2-base:1.27
	thorpej-cfargs2:1.27.0.12
	thorpej-cfargs2-base:1.27
	cjep_sun2x-base1:1.27
	cjep_sun2x:1.27.0.10
	cjep_sun2x-base:1.27
	cjep_staticlib_x-base1:1.27
	netbsd-9-2-RELEASE:1.24
	cjep_staticlib_x:1.27.0.8
	cjep_staticlib_x-base:1.27
	thorpej-i2c-spi-conf:1.27.0.6
	thorpej-i2c-spi-conf-base:1.27
	thorpej-cfargs:1.27.0.4
	thorpej-cfargs-base:1.27
	thorpej-futex:1.27.0.2
	thorpej-futex-base:1.27
	netbsd-9-1-RELEASE:1.24
	bouyer-xenpvh-base2:1.25
	phil-wifi-20200421:1.25
	bouyer-xenpvh-base1:1.25
	phil-wifi-20200411:1.25
	bouyer-xenpvh:1.25.0.6
	bouyer-xenpvh-base:1.25
	is-mlppp:1.25.0.4
	is-mlppp-base:1.25
	phil-wifi-20200406:1.25
	netbsd-8-2-RELEASE:1.24
	ad-namecache-base3:1.25
	netbsd-9-0-RELEASE:1.24
	netbsd-9-0-RC2:1.24
	ad-namecache-base2:1.25
	ad-namecache-base1:1.25
	ad-namecache:1.25.0.2
	ad-namecache-base:1.25
	netbsd-9-0-RC1:1.24
	phil-wifi-20191119:1.25
	netbsd-9:1.24.0.18
	netbsd-9-base:1.24
	phil-wifi-20190609:1.24
	netbsd-8-1-RELEASE:1.24
	netbsd-8-1-RC1:1.24
	isaki-audio2:1.24.0.16
	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.24
	phil-wifi:1.24.0.14
	phil-wifi-base:1.24
	pgoyette-compat-0625:1.24
	netbsd-8-0-RC2:1.24
	pgoyette-compat-0521:1.24
	pgoyette-compat-0502:1.24
	pgoyette-compat-0422:1.24
	netbsd-8-0-RC1:1.24
	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.12
	pgoyette-compat-base:1.24
	netbsd-7-1-1-RELEASE:1.21
	tls-maxphys-base-20171202:1.24
	matt-nb8-mediatek:1.24.0.10
	matt-nb8-mediatek-base:1.24
	nick-nhusb-base-20170825:1.24
	perseant-stdc-iso10646:1.24.0.8
	perseant-stdc-iso10646-base:1.24
	netbsd-8:1.24.0.6
	netbsd-8-base:1.24
	prg-localcount2-base3:1.24
	prg-localcount2-base2:1.24
	prg-localcount2-base1:1.24
	prg-localcount2:1.24.0.4
	prg-localcount2-base:1.24
	pgoyette-localcount-20170426:1.24
	bouyer-socketcan-base1:1.24
	jdolecek-ncq:1.24.0.2
	jdolecek-ncq-base:1.24
	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.12
	netbsd-5-1-5-RELEASE:1.12
	netbsd-6-0-6-RELEASE:1.14
	netbsd-6-1-5-RELEASE:1.14
	netbsd-7:1.21.0.4
	netbsd-7-base:1.21
	yamt-pagecache-base9:1.21
	yamt-pagecache-tag8:1.14
	netbsd-6-1-4-RELEASE:1.14
	netbsd-6-0-5-RELEASE:1.14
	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.14
	netbsd-6-0-4-RELEASE:1.14
	netbsd-5-2-2-RELEASE:1.12
	netbsd-5-1-4-RELEASE:1.12
	netbsd-6-1-2-RELEASE:1.14
	netbsd-6-0-3-RELEASE:1.14
	netbsd-5-2-1-RELEASE:1.12
	netbsd-5-1-3-RELEASE:1.12
	rmind-smpnet-nbase:1.21
	netbsd-6-1-1-RELEASE:1.14
	riastradh-drm2-base2:1.16
	riastradh-drm2-base1:1.16
	riastradh-drm2:1.16.0.6
	riastradh-drm2-base:1.16
	rmind-smpnet:1.16.0.4
	rmind-smpnet-base:1.21
	netbsd-6-1:1.14.0.22
	netbsd-6-0-2-RELEASE:1.14
	netbsd-6-1-RELEASE:1.14
	khorben-n900:1.16.0.2
	netbsd-6-1-RC4:1.14
	netbsd-6-1-RC3:1.14
	agc-symver:1.14.0.20
	agc-symver-base:1.14
	netbsd-6-1-RC2:1.14
	netbsd-6-1-RC1:1.14
	yamt-pagecache-base8:1.14
	netbsd-5-2:1.12.0.92
	netbsd-6-0-1-RELEASE:1.14
	yamt-pagecache-base7:1.14
	netbsd-5-2-RELEASE:1.12
	netbsd-5-2-RC1:1.12
	matt-nb6-plus-nbase:1.14
	yamt-pagecache-base6:1.14
	netbsd-6-0:1.14.0.16
	netbsd-6-0-RELEASE:1.14
	netbsd-6-0-RC2:1.14
	tls-maxphys:1.14.0.14
	tls-maxphys-base:1.21
	matt-nb6-plus:1.14.0.12
	matt-nb6-plus-base:1.14
	netbsd-6-0-RC1:1.14
	jmcneill-usbmp-base10:1.14
	yamt-pagecache-base5:1.14
	jmcneill-usbmp-base9:1.14
	yamt-pagecache-base4:1.14
	jmcneill-usbmp-base8:1.14
	jmcneill-usbmp-base7:1.14
	jmcneill-usbmp-base6:1.14
	jmcneill-usbmp-base5:1.14
	jmcneill-usbmp-base4:1.14
	jmcneill-usbmp-base3:1.14
	jmcneill-usbmp-pre-base2:1.14
	jmcneill-usbmp-base2:1.14
	netbsd-6:1.14.0.10
	netbsd-6-base:1.14
	netbsd-5-1-2-RELEASE:1.12
	netbsd-5-1-1-RELEASE:1.12
	jmcneill-usbmp:1.14.0.8
	jmcneill-usbmp-base:1.14
	jmcneill-audiomp3:1.14.0.6
	jmcneill-audiomp3-base:1.14
	yamt-pagecache-base3:1.14
	yamt-pagecache-base2:1.14
	yamt-pagecache:1.14.0.4
	yamt-pagecache-base:1.14
	rmind-uvmplock-nbase:1.14
	cherry-xenmp:1.14.0.2
	cherry-xenmp-base:1.14
	jym-xensuspend-nbase:1.14
	uebayasi-xip-base7:1.14
	bouyer-quota2-nbase:1.14
	bouyer-quota2:1.13.0.8
	bouyer-quota2-base:1.14
	jruoho-x86intr:1.13.0.6
	jruoho-x86intr-base:1.13
	matt-mips64-premerge-20101231:1.13
	matt-nb5-mips64-premerge-20101231:1.12
	matt-nb5-pq3:1.12.0.90
	matt-nb5-pq3-base:1.12
	netbsd-5-1:1.12.0.88
	uebayasi-xip-base6:1.13
	uebayasi-xip-base5:1.13
	netbsd-5-1-RELEASE:1.12
	uebayasi-xip-base4:1.13
	uebayasi-xip-base3:1.13
	yamt-nfs-mp-base11:1.13
	netbsd-5-1-RC4:1.12
	matt-nb5-mips64-k15:1.12
	uebayasi-xip-base2:1.13
	yamt-nfs-mp-base10:1.13
	netbsd-5-1-RC3:1.12
	netbsd-5-1-RC2:1.12
	uebayasi-xip-base1:1.13
	netbsd-5-1-RC1:1.12
	rmind-uvmplock:1.13.0.4
	rmind-uvmplock-base:1.14
	yamt-nfs-mp-base9:1.13
	uebayasi-xip:1.13.0.2
	uebayasi-xip-base:1.13
	netbsd-5-0-2-RELEASE:1.12
	matt-nb5-mips64-premerge-20091211:1.12
	matt-premerge-20091211:1.13
	yamt-nfs-mp-base8:1.13
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.12
	matt-nb4-mips64-k7-u2a-k9b:1.12
	matt-nb5-mips64-u1-k1-k5:1.12
	yamt-nfs-mp-base7:1.13
	matt-nb5-mips64:1.12.0.86
	netbsd-5-0-1-RELEASE:1.12
	jymxensuspend-base:1.13
	yamt-nfs-mp-base6:1.13
	yamt-nfs-mp-base5:1.13
	yamt-nfs-mp-base4:1.13
	yamt-nfs-mp-base3:1.13
	nick-hppapmap-base4:1.13
	nick-hppapmap-base3:1.13
	netbsd-5-0:1.12.0.84
	netbsd-5-0-RELEASE:1.12
	netbsd-5-0-RC4:1.12
	netbsd-5-0-RC3:1.12
	nick-hppapmap-base2:1.12
	netbsd-5-0-RC2:1.12
	jym-xensuspend:1.12.0.82
	jym-xensuspend-base:1.14
	netbsd-5-0-RC1:1.12
	haad-dm-base2:1.12
	haad-nbase2:1.12
	ad-audiomp2:1.12.0.80
	ad-audiomp2-base:1.12
	netbsd-5:1.12.0.78
	netbsd-5-base:1.12
	nick-hppapmap:1.12.0.76
	nick-hppapmap-base:1.13
	matt-mips64-base2:1.12
	haad-dm-base1:1.12
	wrstuden-revivesa-base-4:1.12
	netbsd-4-0-1-RELEASE:1.12
	wrstuden-revivesa-base-3:1.12
	wrstuden-revivesa-base-2:1.12
	wrstuden-fixsa-newbase:1.12
	nick-csl-alignment-base5:1.12
	haad-dm:1.12.0.74
	haad-dm-base:1.12
	wrstuden-revivesa-base-1:1.12
	simonb-wapbl-nbase:1.12
	yamt-pf42-base4:1.12
	simonb-wapbl:1.12.0.72
	simonb-wapbl-base:1.12
	yamt-pf42-base3:1.12
	hpcarm-cleanup-nbase:1.12
	yamt-pf42-baseX:1.12
	yamt-pf42-base2:1.12
	yamt-nfs-mp-base2:1.12
	wrstuden-revivesa:1.12.0.70
	wrstuden-revivesa-base:1.12
	yamt-nfs-mp:1.12.0.68
	yamt-nfs-mp-base:1.12
	yamt-pf42:1.12.0.66
	yamt-pf42-base:1.12
	ad-socklock-base1:1.12
	yamt-lazymbuf-base15:1.12
	yamt-lazymbuf-base14:1.12
	chris-arm-intr-rework-base7:1.12
	keiichi-mipv6-nbase:1.12
	mjf-devfs2:1.12.0.64
	mjf-devfs2-base:1.12
	nick-net80211-sync:1.12.0.62
	nick-net80211-sync-base:1.12
	keiichi-mipv6:1.12.0.60
	keiichi-mipv6-base:1.12
	chris-arm-intr-rework-base6:1.12
	chris-arm-intr-rework-base5:1.12
	chris-arm-intr-rework-base4:1.12
	bouyer-xeni386-merge1:1.12
	matt-armv6-prevmlocking:1.12
	wrstuden-fixsa-base-1:1.12
	chris-arm-intr-rework-base3:1.12
	vmlocking2-base3:1.12
	netbsd-4-0:1.12.0.58
	netbsd-4-0-RELEASE:1.12
	bouyer-xeni386-nbase:1.12
	yamt-kmem-base3:1.12
	cube-autoconf:1.12.0.56
	cube-autoconf-base:1.12
	yamt-kmem-base2:1.12
	bouyer-xeni386:1.12.0.54
	bouyer-xeni386-base:1.12
	yamt-kmem:1.12.0.52
	yamt-kmem-base:1.12
	vmlocking2-base2:1.12
	reinoud-bufcleanup-nbase:1.12
	vmlocking2:1.12.0.50
	vmlocking2-base1:1.12
	netbsd-4-0-RC5:1.12
	matt-nb4-arm:1.12.0.48
	matt-nb4-arm-base:1.12
	matt-armv6-nbase:1.12
	jmcneill-base:1.12
	netbsd-4-0-RC4:1.12
	mjf-devfs:1.12.0.46
	mjf-devfs-base:1.12
	bouyer-xenamd64-base2:1.12
	vmlocking-nbase:1.12
	yamt-x86pmap-base4:1.12
	bouyer-xenamd64:1.12.0.44
	bouyer-xenamd64-base:1.12
	netbsd-4-0-RC3:1.12
	yamt-x86pmap-base3:1.12
	yamt-x86pmap-base2:1.12
	netbsd-4-0-RC2:1.12
	yamt-x86pmap:1.12.0.42
	yamt-x86pmap-base:1.12
	netbsd-4-0-RC1:1.12
	matt-armv6:1.12.0.40
	matt-armv6-base:1.12
	chris-arm-intr-rework-base2:1.12
	chris-arm-intr-rework:1.12.0.38
	chris-arm-intr-rework-base:1.12
	jmcneill-pm:1.12.0.36
	jmcneill-pm-base:1.12
	hpcarm-cleanup:1.12.0.34
	hpcarm-cleanup-base:1.12
	nick-csl-alignment:1.12.0.32
	nick-csl-alignment-base:1.12
	matt-mips64:1.12.0.30
	matt-mips64-base:1.12
	netbsd-3-1-1-RELEASE:1.7
	netbsd-3-0-3-RELEASE:1.7
	yamt-idlelwp-base8:1.12
	wrstuden-fixsa:1.12.0.28
	wrstuden-fixsa-base:1.12
	ppcoea-renovation:1.12.0.26
	ppcoea-renovation-base:1.12
	thorpej-atomic:1.12.0.24
	thorpej-atomic-base:1.12
	reinoud-bufcleanup:1.12.0.22
	reinoud-bufcleanup-base:1.12
	mjf-ufs-trans:1.12.0.20
	mjf-ufs-trans-base:1.12
	vmlocking:1.12.0.18
	vmlocking-base:1.12
	ad-audiomp:1.12.0.16
	ad-audiomp-base:1.12
	yamt-idlelwp:1.12.0.14
	post-newlock2-merge:1.12
	newlock2-nbase:1.12
	yamt-splraiseipl-base5:1.12
	yamt-splraiseipl-base4:1.12
	yamt-splraiseipl-base3:1.12
	abandoned-netbsd-4-base:1.12
	abandoned-netbsd-4:1.12.0.6
	netbsd-3-1:1.7.0.28
	netbsd-3-1-RELEASE:1.7
	netbsd-3-0-2-RELEASE:1.7
	yamt-splraiseipl-base2:1.12
	netbsd-3-1-RC4:1.7
	yamt-splraiseipl:1.12.0.10
	yamt-splraiseipl-base:1.12
	netbsd-3-1-RC3:1.7
	yamt-pdpolicy-base9:1.12
	newlock2:1.12.0.8
	newlock2-base:1.12
	yamt-pdpolicy-base8:1.12
	netbsd-3-1-RC2:1.7
	netbsd-3-1-RC1:1.7
	yamt-pdpolicy-base7:1.12
	netbsd-4:1.12.0.12
	netbsd-4-base:1.12
	yamt-pdpolicy-base6:1.12
	chap-midi-nbase:1.12
	netbsd-3-0-1-RELEASE:1.7
	gdamore-uart:1.12.0.4
	gdamore-uart-base:1.12
	simonb-timcounters-final:1.8.6.1
	yamt-pdpolicy-base5:1.12
	chap-midi:1.12.0.2
	chap-midi-base:1.12
	yamt-pdpolicy-base4:1.12
	yamt-pdpolicy-base3:1.10
	peter-altq-base:1.8
	peter-altq:1.8.0.12
	yamt-pdpolicy-base2:1.8
	elad-kernelauth-base:1.12
	elad-kernelauth:1.8.0.10
	yamt-pdpolicy:1.8.0.8
	yamt-pdpolicy-base:1.8
	yamt-uio_vmspace-base5:1.8
	simonb-timecounters:1.8.0.6
	simonb-timecounters-base:1.12
	rpaulo-netinet-merge-pcb:1.8.0.4
	rpaulo-netinet-merge-pcb-base:1.12
	yamt-uio_vmspace:1.8.0.2
	netbsd-3-0:1.7.0.26
	netbsd-3-0-RELEASE:1.7
	netbsd-3-0-RC6:1.7
	yamt-readahead-base3:1.7
	netbsd-3-0-RC5:1.7
	netbsd-3-0-RC4:1.7
	netbsd-3-0-RC3:1.7
	yamt-readahead-base2:1.7
	netbsd-3-0-RC2:1.7
	yamt-readahead-pervnode:1.7
	yamt-readahead-perfile:1.7
	yamt-readahead:1.7.0.24
	yamt-readahead-base:1.7
	netbsd-3-0-RC1:1.7
	yamt-vop-base3:1.7
	netbsd-2-0-3-RELEASE:1.7
	netbsd-2-1:1.7.0.22
	yamt-vop-base2:1.7
	thorpej-vnode-attr:1.7.0.20
	thorpej-vnode-attr-base:1.7
	netbsd-2-1-RELEASE:1.7
	yamt-vop:1.7.0.18
	yamt-vop-base:1.7
	netbsd-2-1-RC6:1.7
	netbsd-2-1-RC5:1.7
	netbsd-2-1-RC4:1.7
	netbsd-2-1-RC3:1.7
	netbsd-2-1-RC2:1.7
	netbsd-2-1-RC1:1.7
	yamt-lazymbuf:1.7.0.16
	yamt-km-base4:1.7
	netbsd-2-0-2-RELEASE:1.7
	yamt-km-base3:1.7
	netbsd-3:1.7.0.14
	netbsd-3-base:1.7
	yamt-km-base2:1.7
	yamt-km:1.7.0.10
	yamt-km-base:1.7
	kent-audio2:1.7.0.8
	kent-audio2-base:1.7
	netbsd-2-0-1-RELEASE:1.7
	kent-audio1-beforemerge:1.7
	netbsd-2:1.7.0.6
	netbsd-2-base:1.7
	kent-audio1:1.7.0.4
	kent-audio1-base:1.7
	netbsd-2-0-RELEASE:1.7
	netbsd-2-0-RC5:1.7
	netbsd-2-0-RC4:1.7
	netbsd-2-0-RC3:1.7
	netbsd-2-0-RC2:1.7
	netbsd-2-0-RC1:1.7
	netbsd-2-0:1.7.0.2
	netbsd-2-0-base:1.7
	ktrace-lwp:1.2.0.2
	ktrace-lwp-base:1.7
	nathanw_sa_end:1.1.2.2
	nathanw_sa_before_merge:1.1
	fvdl_fs64_base:1.1
	nathanw_sa_base:1.1
	nathanw_sa:1.1.0.2;
locks; strict;
comment	@# @;


1.27
date	2020.09.07.07.08.35;	author mrg;	state Exp;
branches;
next	1.26;
commitid	WxYoUwX6CRjck5nC;

1.26
date	2020.04.26.07.01.52;	author rin;	state Exp;
branches;
next	1.25;
commitid	JFewgu0Z6bbGAR5C;

1.25
date	2019.10.24.18.46.20;	author christos;	state Exp;
branches;
next	1.24;
commitid	Rj6tOeEFFt6Mn9IB;

1.24
date	2017.04.09.16.29.46;	author christos;	state Exp;
branches
	1.24.14.1;
next	1.23;

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.21.01.44;	author christos;	state Exp;
branches;
next	1.17;

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

1.16
date	2013.05.02.04.22.44;	author matt;	state Exp;
branches
	1.16.4.1;
next	1.15;

1.15
date	2013.05.01.22.30.39;	author matt;	state Exp;
branches;
next	1.14;

1.14
date	2011.01.22.19.19.14;	author joerg;	state Exp;
branches
	1.14.4.1
	1.14.14.1;
next	1.13;

1.13
date	2009.04.03.10.38.12;	author tsutsui;	state Exp;
branches
	1.13.4.1
	1.13.6.1
	1.13.8.1;
next	1.12;

1.12
date	2006.04.02.22.13.32;	author bjh21;	state Exp;
branches
	1.12.68.1
	1.12.76.1
	1.12.82.1;
next	1.11;

1.11
date	2006.04.01.19.08.07;	author bjh21;	state Exp;
branches;
next	1.10;

1.10
date	2006.03.29.13.51.54;	author bjh21;	state Exp;
branches;
next	1.9;

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

1.8
date	2005.12.11.12.16.08;	author christos;	state Exp;
branches
	1.8.4.1
	1.8.6.1
	1.8.8.1
	1.8.10.1
	1.8.12.1;
next	1.7;

1.7
date	2003.11.23.14.13.42;	author bjh21;	state Exp;
branches
	1.7.16.1;
next	1.6;

1.6
date	2003.11.23.13.34.07;	author bjh21;	state Exp;
branches;
next	1.5;

1.5
date	2003.10.26.07.25.35;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	2003.10.08.01.40.22;	author simonb;	state Exp;
branches;
next	1.3;

1.3
date	2003.09.21.14.17.13;	author matt;	state Exp;
branches;
next	1.2;

1.2
date	2003.04.20.14.38.00;	author bjh21;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2002.12.28.23.57.36;	author reinoud;	state Exp;
branches
	1.1.2.1;
next	;

1.24.14.1
date	2020.04.13.08.03.28;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.21.6.1
date	2017.08.28.17.51.27;	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.16.4.1
date	2013.08.28.23.59.10;	author rmind;	state Exp;
branches;
next	1.16.4.2;

1.16.4.2
date	2014.05.18.17.44.53;	author rmind;	state Exp;
branches;
next	;

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

1.14.14.1
date	2013.06.23.06.19.58;	author tls;	state Exp;
branches;
next	1.14.14.2;

1.14.14.2
date	2014.08.20.00.02.41;	author tls;	state Exp;
branches;
next	1.14.14.3;

1.14.14.3
date	2017.12.03.11.35.45;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.13.4.1
date	2011.03.05.20.49.06;	author rmind;	state Exp;
branches;
next	;

1.13.6.1
date	2011.06.06.09.04.40;	author jruoho;	state Exp;
branches;
next	;

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

1.12.68.1
date	2009.05.04.08.10.26;	author yamt;	state Exp;
branches;
next	;

1.12.76.1
date	2009.04.28.07.33.32;	author skrll;	state Exp;
branches;
next	;

1.12.82.1
date	2009.05.13.17.16.03;	author jym;	state Exp;
branches;
next	;

1.8.4.1
date	2006.09.09.02.36.41;	author rpaulo;	state Exp;
branches;
next	;

1.8.6.1
date	2006.04.22.11.37.10;	author simonb;	state Exp;
branches;
next	;

1.8.8.1
date	2006.04.01.12.06.06;	author yamt;	state Exp;
branches;
next	1.8.8.2;

1.8.8.2
date	2006.04.11.11.53.25;	author yamt;	state Exp;
branches;
next	;

1.8.10.1
date	2006.04.19.02.31.57;	author elad;	state Exp;
branches;
next	;

1.8.12.1
date	2006.03.31.09.44.55;	author tron;	state Exp;
branches;
next	1.8.12.2;

1.8.12.2
date	2006.05.24.15.47.49;	author tron;	state Exp;
branches;
next	;

1.7.16.1
date	2006.06.21.14.47.48;	author yamt;	state Exp;
branches;
next	;

1.2.2.1
date	2004.08.03.10.30.56;	author skrll;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2004.09.18.14.30.43;	author skrll;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2004.09.21.13.11.34;	author skrll;	state Exp;
branches;
next	;

1.1.2.1
date	2002.12.28.23.57.36;	author thorpej;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2002.12.29.19.15.05;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.27
log
@-march=armv3m option is obsolete.  remove it from commented kernel
configurations (we haven't supported those machines lately anyway),
and, for GCC >= 9, from the one caller.
@
text
@#	$NetBSD: Makefile.buildboot,v 1.26 2020/04/26 07:01:52 rin Exp $

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

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

KLINK_MACHINE= acorn32

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

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

MKMODULE?=no
LINKFLAGS+=--no-dynamic-linker --noinhibit-exec
.if ${MKMODULE} == "yes"
RISCOSTYPE ?= ffa
LINKFLAGS+=-shared -Bsymbolic --no-undefined -T ${.CURDIR}/../module.ldscript
CFLAGS+=-DRISCOS_MODULE
.else
RISCOSTYPE ?= ff8
RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS+=-N -Ttext ${RELOC}
.endif

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

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

CPPFLAGS+=	-D_STANDALONE 
CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+=	-I${.CURDIR}/../lib
CPPFLAGS+=	${ARM_APCS_FLAGS} ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} < 9:? -march=armv3m :}
CPUFLAGS=
CFLAGS=		-O2
CFLAGS+=	-ffreestanding -fno-unwind-tables
CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes

CLEANFILES+= machine ${MACHINE_ARCH}

### 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
CPPFLAGS+=	-DLIBSA_NO_RAW_ACCESS \
		-DHEAP_VARIABLE
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

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

${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS}
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} \
	    --start-group ${LIBSA} ${LIBZ} ${LIBRISCOS} ${LIBKERN} --end-group
	${SIZE} ${.TARGET}

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

realall: ${PROG},${RISCOSTYPE}

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

.include <bsd.prog.mk>
@


1.26
log
@Adjust for binutils 2.34 in the same manner as efiboot:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/stand/efiboot/Makefile.efiboot#rev1.12

XXX
Compile test only.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.25 2019/10/24 18:46:20 christos Exp $
d43 1
a43 1
CPPFLAGS+=	${ARM_APCS_FLAGS} -march=armv3m
@


1.25
log
@1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
   bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
   Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
   it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
   sense because the documentation says that this flag does not make a
   difference in apcs mode, but might produce larger code in non-APCS mode.
   So we just add it to silence the warnings.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.24 2017/04/09 16:29:46 christos Exp $
d23 1
@


1.24
log
@Put back KLINK_MACHINE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.23 2017/04/08 19:53:19 christos Exp $
a42 1
CPPFLAGS+=	-marm
@


1.24.14.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d43 1
@


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 $
d7 2
@


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 $
a6 2
KLINK_MACHINE=	acorn32

d32 2
a36 7
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 ${KLINK_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 $
a47 3
.if ${HAVE_GCC} < 48
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.else
a48 1
.endif
@


1.21.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.24 2017/04/09 16:29:46 christos Exp $
d7 1
a7 1
KLINK_MACHINE= acorn32
a33 2
.include "${S}/conf/newvers_stand.mk"

d37 7
d48 3
d52 1
@


1.21.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.24 2017/04/09 16:29:46 christos Exp $
d7 1
a7 1
KLINK_MACHINE= acorn32
a33 2
.include "${S}/conf/newvers_stand.mk"

d37 7
d48 3
d52 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 $
d48 3
d52 1
@


1.21.10.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.24 2017/04/09 16:29:46 christos Exp $
d7 1
a7 1
KLINK_MACHINE= acorn32
a33 2
.include "${S}/conf/newvers_stand.mk"

d37 7
@


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 $
d17 1
@


1.19
log
@explicitly add -marm
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.18 2013/11/04 21:01:44 christos Exp $
d46 1
a46 1
CPPFLAGS+=	-mabi=apcs-gnu -mfloat-abi=soft -march=armv3m
@


1.18
log
@no-thumb-interlock is the default, and no-thumb does not exist in gcc 4.8
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.17 2013/08/15 21:41:08 matt Exp $
d49 2
@


1.17
log
@Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.16 2013/05/02 04:22:44 matt Exp $
d47 1
d49 1
@


1.16
log
@use KLINK_MACHINE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.15 2013/05/01 22:30:39 matt Exp $
d47 1
d50 1
a50 1
CFLAGS+=	-ffreestanding
@


1.16.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a46 1
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
d49 1
a49 1
CFLAGS+=	-ffreestanding -fno-unwind-tables
@


1.16.4.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.16.4.1 2013/08/28 23:59:10 rmind Exp $
a16 1
LIBCRTI=
d46 1
a46 2
CPPFLAGS+=	${ARM_APCS_FLAGS} -march=armv3m
.if ${HAVE_GCC} < 48
a47 3
.else
CPPFLAGS+=	-marm
.endif
@


1.15
log
@Fix abi/arch/float-abi so can be built from any arm port.
Force MACHINE to acorn32
Only build little-endian non-earm.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.14 2011/01/22 19:19:14 joerg Exp $
d7 1
a7 1
MACHINE=	acorn32
d34 1
d41 1
a41 1
	    ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
a51 7
.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

@


1.14
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/acorn32/stand/Makefile.buildboot,v 1.13 2009-04-03 10:38:12 tsutsui Exp $
d7 2
d45 2
@


1.14.4.1
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.14 2011/01/22 19:19:14 joerg Exp $
a6 2
KLINK_MACHINE=	acorn32

a14 1
LIBCRTI=
a31 1
.include <bsd.klinks.mk>
d38 1
a38 1
	    ${.CURDIR}/version ${KLINK_MACHINE} ${NEWVERSWHAT}
a42 7
CPPFLAGS+=	${ARM_APCS_FLAGS} -march=armv3m
.if ${HAVE_GCC} < 48
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.else
CPPFLAGS+=	-marm
.endif
CPUFLAGS=
d44 1
a44 1
CFLAGS+=	-ffreestanding -fno-unwind-tables
d47 7
@


1.14.14.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
a6 2
KLINK_MACHINE=	acorn32

a31 1
.include <bsd.klinks.mk>
d38 1
a38 1
	    ${.CURDIR}/version ${KLINK_MACHINE} ${NEWVERSWHAT}
a42 2
CPPFLAGS+=	-mabi=apcs-gnu -mfloat-abi=soft -march=armv3m
CPUFLAGS=
d47 7
@


1.14.14.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a16 1
LIBCRTI=
d46 1
a46 6
CPPFLAGS+=	${ARM_APCS_FLAGS} -march=armv3m
.if ${HAVE_GCC} < 48
CPPFLAGS+=	-mno-thumb -mno-thumb-interwork
.else
CPPFLAGS+=	-marm
.endif
d49 1
a49 1
CFLAGS+=	-ffreestanding -fno-unwind-tables
@


1.14.14.3
log
@update from HEAD
@
text
@d7 1
a7 1
KLINK_MACHINE= acorn32
a33 2
.include "${S}/conf/newvers_stand.mk"

d37 7
d48 3
d52 1
@


1.13
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.12 2006/04/02 22:13:32 bjh21 Exp $
d31 2
d37 2
a38 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
@


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

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


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

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


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

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


1.12
log
@Circular references are almost inevitable between libsa and libriscos.
Solve them the easy way, using --start-group and --end-group.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.11 2006/04/01 19:08:07 bjh21 Exp $
a66 1
		-DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET \
@


1.12.82.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.13 2009/04/03 10:38:12 tsutsui Exp $
d67 1
@


1.12.68.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2006/04/02 22:13:32 bjh21 Exp $
d67 1
@


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


1.11
log
@Add code to support access to RISC OS disk devices from libsa.  This is
sufficient to allow a small wrapper program to access files on the NetBSD
partition of a shared disk.  NetBSD-only disks don't work (FileCore objects
to the lack of a boot block), and there's no code to actually use this
facility yet.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.10 2006/03/29 13:51:54 bjh21 Exp $
d80 1
a80 1
	    ${LIBSA} ${LIBZ} ${LIBRISCOS} ${LIBKERN} ${LIBSA}
@


1.10
log
@Provide a default for MKMODULE.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.9 2006/03/28 20:45:46 bjh21 Exp $
d65 1
a65 1
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no SA_USE_LOADFILE=yes SA_USE_CREAD=yes
a66 2
		-DLIBSA_SINGLE_FILESYSTEM=riscos \
		-DLIBSA_NO_FS_WRITE \
d80 1
a80 1
	    ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS} ${LIBSA}
@


1.9
log
@Add infrastructure for building real RISC OS relocatable modules, since I've
worked out how to do it.  boot32 doesn't use this mechanism because converting
it would take a fair amount of effort for little gain at this stage.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.8 2005/12/11 12:16:08 christos Exp $
d19 1
@


1.8
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.2.2.3 2004/09/21 13:11:34 skrll Exp $
d19 5
d25 4
a77 4
RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS=-N

d79 2
a80 1
	${LD} -o ${.TARGET} ${LINKFLAGS} -Ttext ${RELOC} ${OBJS} \
d85 1
@


1.8.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2006/04/02 22:13:32 bjh21 Exp $
a18 6
MKMODULE?=no
.if ${MKMODULE} == "yes"
RISCOSTYPE ?= ffa
LINKFLAGS+=-shared -Bsymbolic --no-undefined -T ${.CURDIR}/../module.ldscript
CFLAGS+=-DRISCOS_MODULE
.else
a19 4
RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS+=-N -Ttext ${RELOC}
.endif
d55 1
a55 1
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no
d57 2
d69 4
d74 2
a75 3
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} \
	    --start-group ${LIBSA} ${LIBZ} ${LIBRISCOS} ${LIBKERN} --end-group
a78 1
	${_MKTARGET_CREATE}
@


1.8.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2006/04/02 22:13:32 bjh21 Exp $
a18 6
MKMODULE?=no
.if ${MKMODULE} == "yes"
RISCOSTYPE ?= ffa
LINKFLAGS+=-shared -Bsymbolic --no-undefined -T ${.CURDIR}/../module.ldscript
CFLAGS+=-DRISCOS_MODULE
.else
a19 4
RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS+=-N -Ttext ${RELOC}
.endif
d55 1
a55 1
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no
d57 2
d69 4
d74 2
a75 3
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} \
	    --start-group ${LIBSA} ${LIBZ} ${LIBRISCOS} ${LIBKERN} --end-group
a78 1
	${_MKTARGET_CREATE}
@


1.8.10.1
log
@sync with head - hopefully this will work
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2006/04/02 22:13:32 bjh21 Exp $
a18 6
MKMODULE?=no
.if ${MKMODULE} == "yes"
RISCOSTYPE ?= ffa
LINKFLAGS+=-shared -Bsymbolic --no-undefined -T ${.CURDIR}/../module.ldscript
CFLAGS+=-DRISCOS_MODULE
.else
a19 4
RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS+=-N -Ttext ${RELOC}
.endif
d55 1
a55 1
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no
d57 2
d69 4
d74 2
a75 3
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} \
	    --start-group ${LIBSA} ${LIBZ} ${LIBRISCOS} ${LIBKERN} --end-group
a78 1
	${_MKTARGET_CREATE}
@


1.8.8.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.8 2005/12/11 12:16:08 christos Exp $
a18 6
MKMODULE?=no
.if ${MKMODULE} == "yes"
RISCOSTYPE ?= ffa
LINKFLAGS+=-shared -Bsymbolic --no-undefined -T ${.CURDIR}/../module.ldscript
CFLAGS+=-DRISCOS_MODULE
.else
a19 4
RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS+=-N -Ttext ${RELOC}
.endif
d69 4
d74 1
a74 2
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} \
a78 1
	${_MKTARGET_CREATE}
@


1.8.8.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.8.8.1 2006/04/01 12:06:06 yamt Exp $
d65 1
a65 1
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no
d67 2
d82 1
a82 1
	    --start-group ${LIBSA} ${LIBZ} ${LIBRISCOS} ${LIBKERN} --end-group
@


1.8.12.1
log
@Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
@
text
@d1 1
a1 1
#	$NetBSD$
a18 6
MKMODULE?=no
.if ${MKMODULE} == "yes"
RISCOSTYPE ?= ffa
LINKFLAGS+=-shared -Bsymbolic --no-undefined -T ${.CURDIR}/../module.ldscript
CFLAGS+=-DRISCOS_MODULE
.else
a19 4
RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS+=-N -Ttext ${RELOC}
.endif
d69 4
d74 1
a74 2
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} \
a78 1
	${_MKTARGET_CREATE}
@


1.8.12.2
log
@Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.12 2006/04/02 22:13:32 bjh21 Exp $
d65 1
a65 1
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no
d67 2
d82 1
a82 1
	    --start-group ${LIBSA} ${LIBZ} ${LIBRISCOS} ${LIBKERN} --end-group
@


1.7
log
@Remove spurious whitespace.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.6 2003/11/23 13:34:07 bjh21 Exp $
@


1.7.16.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.7 2003/11/23 14:13:42 bjh21 Exp $
a18 6
MKMODULE?=no
.if ${MKMODULE} == "yes"
RISCOSTYPE ?= ffa
LINKFLAGS+=-shared -Bsymbolic --no-undefined -T ${.CURDIR}/../module.ldscript
CFLAGS+=-DRISCOS_MODULE
.else
a19 4
RELOC=8000
# -N (OMAGIC) since we don't need a gap between text and data.
LINKFLAGS+=-N -Ttext ${RELOC}
.endif
d55 1
a55 1
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no
d57 2
d69 4
d74 2
a75 3
	${_MKTARGET_LINK}
	${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} \
	    --start-group ${LIBSA} ${LIBZ} ${LIBRISCOS} ${LIBKERN} --end-group
a78 1
	${_MKTARGET_CREATE}
@


1.6
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.5 2003/10/26 07:25:35 lukem Exp $
d28 1
a28 1
CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. 
@


1.5
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.4 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/acorn32/include $@@

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

${OBJS}: machine ${MACHINE_ARCH}
@


1.4
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.3 2003/09/21 14:17:13 matt Exp $
d25 1
a25 1
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
@


1.3
log
@Fix some GCC3.3.1 nits (-ffreestanding, #include <lib/libkern/libkern.h>)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.2 2003/04/20 14:38:00 bjh21 Exp $
d12 6
@


1.2
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.1 2002/12/28 23:57:36 reinoud Exp $
d25 1
@


1.2.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.7 2003/11/23 14:13:42 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}
d22 1
a22 1
CPPFLAGS+=	-I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
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.2.2.2
log
@Sync with HEAD.
@
text
@@


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


1.1
log
@Initial commit of the 3rd generation of bootloaders for the Acorn32
platform. It features far better support for newer architectures and is
fully rewritten in C and compile-able under NetBSD.

Since it shares code with `boot26' for Acorn26 merging the common parts is
likely to be next on the list.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.buildboot,v 1.4 2002/06/13 22:01:44 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.1.2.1
log
@file Makefile.buildboot was added on branch nathanw_sa on 2002-12-29 19:15:05 +0000
@
text
@d1 84
@


1.1.2.2
log
@Sync with HEAD.
@
text
@a0 84
#	$NetBSD: Makefile.buildboot,v 1.1.2.1 2002/12/29 19:15:05 thorpej 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 
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/acorn32/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/acorn32/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>
@
