head	1.42;
access;
symbols
	netbsd-11-0-RC4:1.42
	netbsd-11-0-RC3:1.42
	netbsd-11-0-RC2:1.42
	netbsd-11-0-RC1:1.42
	perseant-exfatfs-base-20250801:1.42
	netbsd-11:1.42.0.8
	netbsd-11-base:1.42
	netbsd-10-1-RELEASE:1.40
	perseant-exfatfs-base-20240630:1.42
	perseant-exfatfs:1.42.0.6
	perseant-exfatfs-base:1.42
	netbsd-8-3-RELEASE:1.38
	netbsd-9-4-RELEASE:1.38
	netbsd-10-0-RELEASE:1.40
	netbsd-10-0-RC6:1.40
	netbsd-10-0-RC5:1.40
	netbsd-10-0-RC4:1.40
	netbsd-10-0-RC3:1.40
	netbsd-10-0-RC2:1.40
	thorpej-ifq:1.42.0.4
	thorpej-ifq-base:1.42
	thorpej-altq-separation:1.42.0.2
	thorpej-altq-separation-base:1.42
	netbsd-10-0-RC1:1.40
	netbsd-10:1.40.0.20
	netbsd-10-base:1.40
	bouyer-sunxi-drm:1.40.0.18
	bouyer-sunxi-drm-base:1.40
	netbsd-9-3-RELEASE:1.38
	thorpej-i2c-spi-conf2:1.40.0.16
	thorpej-i2c-spi-conf2-base:1.40
	thorpej-futex2:1.40.0.14
	thorpej-futex2-base:1.40
	thorpej-cfargs2:1.40.0.12
	thorpej-cfargs2-base:1.40
	cjep_sun2x-base1:1.40
	cjep_sun2x:1.40.0.10
	cjep_sun2x-base:1.40
	cjep_staticlib_x-base1:1.40
	netbsd-9-2-RELEASE:1.38
	cjep_staticlib_x:1.40.0.8
	cjep_staticlib_x-base:1.40
	thorpej-i2c-spi-conf:1.40.0.6
	thorpej-i2c-spi-conf-base:1.40
	thorpej-cfargs:1.40.0.4
	thorpej-cfargs-base:1.40
	thorpej-futex:1.40.0.2
	thorpej-futex-base:1.40
	netbsd-9-1-RELEASE:1.38
	bouyer-xenpvh-base2:1.39
	phil-wifi-20200421:1.39
	bouyer-xenpvh-base1:1.39
	phil-wifi-20200411:1.38
	bouyer-xenpvh:1.38.0.24
	bouyer-xenpvh-base:1.38
	is-mlppp:1.38.0.22
	is-mlppp-base:1.38
	phil-wifi-20200406:1.38
	netbsd-8-2-RELEASE:1.38
	ad-namecache-base3:1.38
	netbsd-9-0-RELEASE:1.38
	netbsd-9-0-RC2:1.38
	ad-namecache-base2:1.38
	ad-namecache-base1:1.38
	ad-namecache:1.38.0.20
	ad-namecache-base:1.38
	netbsd-9-0-RC1:1.38
	phil-wifi-20191119:1.38
	netbsd-9:1.38.0.18
	netbsd-9-base:1.38
	phil-wifi-20190609:1.38
	netbsd-8-1-RELEASE:1.38
	netbsd-8-1-RC1:1.38
	isaki-audio2:1.38.0.16
	isaki-audio2-base:1.38
	pgoyette-compat-merge-20190127:1.38
	pgoyette-compat-20190127:1.38
	pgoyette-compat-20190118:1.38
	pgoyette-compat-1226:1.38
	pgoyette-compat-1126:1.38
	pgoyette-compat-1020:1.38
	pgoyette-compat-0930:1.38
	pgoyette-compat-0906:1.38
	netbsd-7-2-RELEASE:1.32.4.1
	pgoyette-compat-0728:1.38
	netbsd-8-0-RELEASE:1.38
	phil-wifi:1.38.0.14
	phil-wifi-base:1.38
	pgoyette-compat-0625:1.38
	netbsd-8-0-RC2:1.38
	pgoyette-compat-0521:1.38
	pgoyette-compat-0502:1.38
	pgoyette-compat-0422:1.38
	netbsd-8-0-RC1:1.38
	pgoyette-compat-0415:1.38
	pgoyette-compat-0407:1.38
	pgoyette-compat-0330:1.38
	pgoyette-compat-0322:1.38
	pgoyette-compat-0315:1.38
	netbsd-7-1-2-RELEASE:1.32.4.1
	pgoyette-compat:1.38.0.12
	pgoyette-compat-base:1.38
	netbsd-7-1-1-RELEASE:1.32.4.1
	tls-maxphys-base-20171202:1.38
	matt-nb8-mediatek:1.38.0.10
	matt-nb8-mediatek-base:1.38
	nick-nhusb-base-20170825:1.38
	perseant-stdc-iso10646:1.38.0.8
	perseant-stdc-iso10646-base:1.38
	netbsd-8:1.38.0.6
	netbsd-8-base:1.38
	prg-localcount2-base3:1.38
	prg-localcount2-base2:1.38
	prg-localcount2-base1:1.38
	prg-localcount2:1.38.0.4
	prg-localcount2-base:1.38
	pgoyette-localcount-20170426:1.38
	bouyer-socketcan-base1:1.38
	jdolecek-ncq:1.38.0.2
	jdolecek-ncq-base:1.38
	pgoyette-localcount-20170320:1.37
	netbsd-7-1:1.32.4.1.0.6
	netbsd-7-1-RELEASE:1.32.4.1
	netbsd-7-1-RC2:1.32.4.1
	nick-nhusb-base-20170204:1.37
	netbsd-7-nhusb-base-20170116:1.32.4.1
	bouyer-socketcan:1.37.0.2
	bouyer-socketcan-base:1.37
	pgoyette-localcount-20170107:1.37
	netbsd-7-1-RC1:1.32.4.1
	nick-nhusb-base-20161204:1.37
	pgoyette-localcount-20161104:1.37
	netbsd-7-0-2-RELEASE:1.32.4.1
	nick-nhusb-base-20161004:1.37
	localcount-20160914:1.36
	netbsd-7-nhusb:1.32.4.1.0.4
	netbsd-7-nhusb-base:1.32.4.1
	pgoyette-localcount-20160806:1.36
	pgoyette-localcount-20160726:1.36
	pgoyette-localcount:1.36.0.2
	pgoyette-localcount-base:1.36
	nick-nhusb-base-20160907:1.36
	nick-nhusb-base-20160529:1.36
	netbsd-7-0-1-RELEASE:1.32.4.1
	nick-nhusb-base-20160422:1.36
	nick-nhusb-base-20160319:1.36
	nick-nhusb-base-20151226:1.36
	netbsd-7-0:1.32.4.1.0.2
	netbsd-7-0-RELEASE:1.32.4.1
	nick-nhusb-base-20150921:1.33
	netbsd-7-0-RC3:1.32.4.1
	netbsd-7-0-RC2:1.32.4.1
	netbsd-7-0-RC1:1.32.4.1
	nick-nhusb-base-20150606:1.33
	nick-nhusb-base-20150406:1.33
	nick-nhusb:1.32.0.6
	nick-nhusb-base:1.32
	netbsd-5-2-3-RELEASE:1.21
	netbsd-5-1-5-RELEASE:1.21
	netbsd-6-0-6-RELEASE:1.29
	netbsd-6-1-5-RELEASE:1.29
	netbsd-7:1.32.0.4
	netbsd-7-base:1.32
	yamt-pagecache-base9:1.32
	yamt-pagecache-tag8:1.29
	netbsd-6-1-4-RELEASE:1.29
	netbsd-6-0-5-RELEASE:1.29
	tls-earlyentropy:1.32.0.2
	tls-earlyentropy-base:1.32
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.32
	riastradh-drm2-base3:1.32
	netbsd-6-1-3-RELEASE:1.29
	netbsd-6-0-4-RELEASE:1.29
	netbsd-5-2-2-RELEASE:1.21
	netbsd-5-1-4-RELEASE:1.21
	netbsd-6-1-2-RELEASE:1.29
	netbsd-6-0-3-RELEASE:1.29
	netbsd-5-2-1-RELEASE:1.21
	netbsd-5-1-3-RELEASE:1.21
	rmind-smpnet-nbase:1.32
	netbsd-6-1-1-RELEASE:1.29
	riastradh-drm2-base2:1.29
	riastradh-drm2-base1:1.29
	riastradh-drm2:1.29.0.26
	riastradh-drm2-base:1.29
	rmind-smpnet:1.29.0.18
	rmind-smpnet-base:1.32
	netbsd-6-1:1.29.0.24
	netbsd-6-0-2-RELEASE:1.29
	netbsd-6-1-RELEASE:1.29
	khorben-n900:1.29.0.22
	netbsd-6-1-RC4:1.29
	netbsd-6-1-RC3:1.29
	agc-symver:1.29.0.20
	agc-symver-base:1.29
	netbsd-6-1-RC2:1.29
	netbsd-6-1-RC1:1.29
	yamt-pagecache-base8:1.29
	netbsd-5-2:1.21.0.44
	netbsd-6-0-1-RELEASE:1.29
	yamt-pagecache-base7:1.29
	netbsd-5-2-RELEASE:1.21
	netbsd-5-2-RC1:1.21
	matt-nb6-plus-nbase:1.29
	yamt-pagecache-base6:1.29
	netbsd-6-0:1.29.0.16
	netbsd-6-0-RELEASE:1.29
	netbsd-6-0-RC2:1.29
	tls-maxphys:1.29.0.14
	tls-maxphys-base:1.32
	matt-nb6-plus:1.29.0.12
	matt-nb6-plus-base:1.29
	netbsd-6-0-RC1:1.29
	jmcneill-usbmp-base10:1.29
	yamt-pagecache-base5:1.29
	jmcneill-usbmp-base9:1.29
	yamt-pagecache-base4:1.29
	jmcneill-usbmp-base8:1.29
	jmcneill-usbmp-base7:1.29
	jmcneill-usbmp-base6:1.29
	jmcneill-usbmp-base5:1.29
	jmcneill-usbmp-base4:1.29
	jmcneill-usbmp-base3:1.29
	jmcneill-usbmp-pre-base2:1.29
	jmcneill-usbmp-base2:1.29
	netbsd-6:1.29.0.10
	netbsd-6-base:1.29
	netbsd-5-1-2-RELEASE:1.21
	netbsd-5-1-1-RELEASE:1.21
	jmcneill-usbmp:1.29.0.8
	jmcneill-usbmp-base:1.29
	jmcneill-audiomp3:1.29.0.6
	jmcneill-audiomp3-base:1.29
	yamt-pagecache-base3:1.29
	yamt-pagecache-base2:1.29
	yamt-pagecache:1.29.0.4
	yamt-pagecache-base:1.29
	rmind-uvmplock-nbase:1.29
	cherry-xenmp:1.29.0.2
	cherry-xenmp-base:1.29
	uebayasi-xip-base7:1.28
	bouyer-quota2-nbase:1.28
	bouyer-quota2:1.26.0.2
	bouyer-quota2-base:1.28
	jruoho-x86intr:1.25.0.2
	jruoho-x86intr-base:1.25
	matt-mips64-premerge-20101231:1.25
	matt-nb5-mips64-premerge-20101231:1.21
	matt-nb5-pq3:1.21.0.42
	matt-nb5-pq3-base:1.21
	netbsd-5-1:1.21.0.40
	uebayasi-xip-base6:1.25
	uebayasi-xip-base5:1.25
	netbsd-5-1-RELEASE:1.21
	uebayasi-xip-base4:1.25
	uebayasi-xip-base3:1.25
	yamt-nfs-mp-base11:1.25
	netbsd-5-1-RC4:1.21
	matt-nb5-mips64-k15:1.21
	uebayasi-xip-base2:1.24
	yamt-nfs-mp-base10:1.24
	netbsd-5-1-RC3:1.21
	netbsd-5-1-RC2:1.21
	uebayasi-xip-base1:1.23
	netbsd-5-1-RC1:1.21
	rmind-uvmplock:1.22.0.4
	rmind-uvmplock-base:1.29
	yamt-nfs-mp-base9:1.22
	uebayasi-xip:1.22.0.2
	uebayasi-xip-base:1.22
	netbsd-5-0-2-RELEASE:1.21
	matt-nb5-mips64-premerge-20091211:1.21
	matt-premerge-20091211:1.22
	yamt-nfs-mp-base8:1.21
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.21
	matt-nb4-mips64-k7-u2a-k9b:1.21
	matt-nb5-mips64-u1-k1-k5:1.21
	yamt-nfs-mp-base7:1.21
	matt-nb5-mips64:1.21.0.38
	netbsd-5-0-1-RELEASE:1.21
	jymxensuspend-base:1.21
	yamt-nfs-mp-base6:1.21
	yamt-nfs-mp-base5:1.21
	yamt-nfs-mp-base4:1.21
	jym-xensuspend-nbase:1.28
	yamt-nfs-mp-base3:1.21
	nick-hppapmap-base4:1.21
	nick-hppapmap-base3:1.21
	netbsd-5-0:1.21.0.36
	netbsd-5-0-RELEASE:1.21
	netbsd-5-0-RC4:1.21
	netbsd-5-0-RC3:1.21
	nick-hppapmap-base2:1.21
	netbsd-5-0-RC2:1.21
	jym-xensuspend:1.21.0.34
	jym-xensuspend-base:1.28
	netbsd-5-0-RC1:1.21
	haad-dm-base2:1.21
	haad-nbase2:1.21
	ad-audiomp2:1.21.0.32
	ad-audiomp2-base:1.21
	netbsd-5:1.21.0.30
	netbsd-5-base:1.21
	nick-hppapmap:1.21.0.28
	nick-hppapmap-base:1.21
	matt-mips64-base2:1.21
	haad-dm-base1:1.21
	wrstuden-revivesa-base-4:1.21
	netbsd-4-0-1-RELEASE:1.18
	wrstuden-revivesa-base-3:1.21
	wrstuden-revivesa-base-2:1.21
	wrstuden-fixsa-newbase:1.18
	nick-csl-alignment-base5:1.18
	haad-dm:1.21.0.26
	haad-dm-base:1.21
	wrstuden-revivesa-base-1:1.21
	simonb-wapbl-nbase:1.21
	yamt-pf42-base4:1.21
	simonb-wapbl:1.21.0.24
	simonb-wapbl-base:1.21
	yamt-pf42-base3:1.21
	hpcarm-cleanup-nbase:1.21
	yamt-pf42-baseX:1.21
	yamt-pf42-base2:1.21
	yamt-nfs-mp-base2:1.21
	wrstuden-revivesa:1.21.0.22
	wrstuden-revivesa-base:1.21
	yamt-nfs-mp:1.21.0.20
	yamt-nfs-mp-base:1.21
	yamt-pf42:1.21.0.18
	yamt-pf42-base:1.21
	ad-socklock-base1:1.21
	yamt-lazymbuf-base15:1.21
	yamt-lazymbuf-base14:1.21
	keiichi-mipv6-nbase:1.21
	mjf-devfs2:1.21.0.16
	mjf-devfs2-base:1.21
	nick-net80211-sync:1.21.0.14
	nick-net80211-sync-base:1.21
	keiichi-mipv6:1.21.0.12
	keiichi-mipv6-base:1.21
	bouyer-xeni386-merge1:1.21
	matt-armv6-prevmlocking:1.18.48.1
	wrstuden-fixsa-base-1:1.18
	vmlocking2-base3:1.21
	netbsd-4-0:1.18.0.52
	netbsd-4-0-RELEASE:1.18
	bouyer-xeni386-nbase:1.21
	yamt-kmem-base3:1.21
	cube-autoconf:1.21.0.10
	cube-autoconf-base:1.21
	yamt-kmem-base2:1.21
	bouyer-xeni386:1.21.0.8
	bouyer-xeni386-base:1.21
	yamt-kmem:1.21.0.6
	yamt-kmem-base:1.21
	vmlocking2-base2:1.21
	reinoud-bufcleanup-nbase:1.21
	vmlocking2:1.21.0.4
	vmlocking2-base1:1.21
	netbsd-4-0-RC5:1.18
	matt-nb4-arm:1.18.0.50
	matt-nb4-arm-base:1.18
	matt-armv6-nbase:1.21
	jmcneill-base:1.21
	netbsd-4-0-RC4:1.18
	mjf-devfs:1.21.0.2
	mjf-devfs-base:1.21
	bouyer-xenamd64-base2:1.21
	vmlocking-nbase:1.21
	yamt-x86pmap-base4:1.21
	bouyer-xenamd64:1.20.0.2
	bouyer-xenamd64-base:1.21
	netbsd-4-0-RC3:1.18
	yamt-x86pmap-base3:1.20
	yamt-x86pmap-base2:1.20
	netbsd-4-0-RC2:1.18
	yamt-x86pmap:1.19.0.2
	yamt-x86pmap-base:1.19
	netbsd-4-0-RC1:1.18
	matt-armv6:1.18.0.48
	matt-armv6-base:1.21
	jmcneill-pm:1.18.0.46
	jmcneill-pm-base:1.21
	hpcarm-cleanup:1.18.0.44
	hpcarm-cleanup-base:1.21
	nick-csl-alignment:1.18.0.42
	nick-csl-alignment-base:1.18
	matt-mips64:1.18.0.40
	matt-mips64-base:1.18
	netbsd-3-1-1-RELEASE:1.13.10.1
	netbsd-3-0-3-RELEASE:1.13.10.1
	yamt-idlelwp-base8:1.18
	wrstuden-fixsa:1.18.0.38
	wrstuden-fixsa-base:1.18
	ppcoea-renovation:1.18.0.36
	ppcoea-renovation-base:1.20
	thorpej-atomic:1.18.0.34
	thorpej-atomic-base:1.18
	reinoud-bufcleanup:1.18.0.32
	reinoud-bufcleanup-base:1.21
	mjf-ufs-trans:1.18.0.30
	mjf-ufs-trans-base:1.18
	vmlocking:1.18.0.28
	vmlocking-base:1.20
	ad-audiomp:1.18.0.26
	ad-audiomp-base:1.18
	yamt-idlelwp:1.18.0.24
	post-newlock2-merge:1.18
	newlock2-nbase:1.18
	yamt-splraiseipl-base5:1.18
	yamt-splraiseipl-base4:1.18
	yamt-splraiseipl-base3:1.18
	abandoned-netbsd-4-base:1.18
	abandoned-netbsd-4:1.18.0.16
	netbsd-3-1:1.13.10.1.0.4
	netbsd-3-1-RELEASE:1.13.10.1
	netbsd-3-0-2-RELEASE:1.13.10.1
	yamt-splraiseipl-base2:1.18
	netbsd-3-1-RC4:1.13.10.1
	yamt-splraiseipl:1.18.0.20
	yamt-splraiseipl-base:1.18
	netbsd-3-1-RC3:1.13.10.1
	yamt-pdpolicy-base9:1.18
	newlock2:1.18.0.18
	newlock2-base:1.18
	yamt-pdpolicy-base8:1.18
	netbsd-3-1-RC2:1.13.10.1
	netbsd-3-1-RC1:1.13.10.1
	yamt-pdpolicy-base7:1.18
	netbsd-4:1.18.0.22
	netbsd-4-base:1.18
	yamt-pdpolicy-base6:1.18
	chap-midi-nbase:1.18
	netbsd-3-0-1-RELEASE:1.13.10.1
	gdamore-uart:1.18.0.14
	gdamore-uart-base:1.18
	simonb-timcounters-final:1.18
	yamt-pdpolicy-base5:1.18
	chap-midi:1.18.0.12
	chap-midi-base:1.18
	yamt-pdpolicy-base4:1.18
	yamt-pdpolicy-base3:1.18
	peter-altq-base:1.18
	peter-altq:1.18.0.10
	yamt-pdpolicy-base2:1.18
	elad-kernelauth-base:1.18
	elad-kernelauth:1.18.0.8
	yamt-pdpolicy:1.18.0.6
	yamt-pdpolicy-base:1.18
	yamt-uio_vmspace-base5:1.18
	simonb-timecounters:1.18.0.4
	simonb-timecounters-base:1.18
	rpaulo-netinet-merge-pcb:1.18.0.2
	rpaulo-netinet-merge-pcb-base:1.18
	yamt-uio_vmspace:1.15.0.2
	netbsd-3-0:1.13.10.1.0.2
	netbsd-3-0-RELEASE:1.13.10.1
	netbsd-3-0-RC6:1.13.10.1
	yamt-readahead-base3:1.14
	netbsd-3-0-RC5:1.13.10.1
	netbsd-3-0-RC4:1.13.10.1
	netbsd-3-0-RC3:1.13.10.1
	yamt-readahead-base2:1.14
	netbsd-3-0-RC2:1.13.10.1
	yamt-readahead-pervnode:1.14
	yamt-readahead-perfile:1.14
	yamt-readahead:1.14.0.6
	yamt-readahead-base:1.14
	netbsd-3-0-RC1:1.13.10.1
	yamt-vop-base3:1.14
	netbsd-2-0-3-RELEASE:1.11.2.1
	netbsd-2-1:1.11.2.1.0.4
	yamt-vop-base2:1.14
	thorpej-vnode-attr:1.14.0.4
	thorpej-vnode-attr-base:1.14
	netbsd-2-1-RELEASE:1.11.2.1
	yamt-vop:1.14.0.2
	yamt-vop-base:1.14
	netbsd-2-1-RC6:1.11.2.1
	netbsd-2-1-RC5:1.11.2.1
	netbsd-2-1-RC4:1.11.2.1
	netbsd-2-1-RC3:1.11.2.1
	netbsd-2-1-RC2:1.11.2.1
	netbsd-2-1-RC1:1.11.2.1
	yamt-lazymbuf:1.13.0.12
	yamt-km-base4:1.13
	netbsd-2-0-2-RELEASE:1.11.2.1
	yamt-km-base3:1.13
	netbsd-3:1.13.0.10
	netbsd-3-base:1.13
	yamt-km-base2:1.13
	yamt-km:1.13.0.6
	yamt-km-base:1.13
	kent-audio2:1.13.0.4
	kent-audio2-base:1.13
	netbsd-2-0-1-RELEASE:1.11.2.1
	kent-audio1-beforemerge:1.13
	netbsd-2:1.11.2.1.0.2
	netbsd-2-base:1.11.2.1
	kent-audio1:1.13.0.2
	kent-audio1-base:1.13
	netbsd-2-0-RELEASE:1.11.2.1
	netbsd-2-0-RC5:1.11.2.1
	netbsd-2-0-RC4:1.11.2.1
	netbsd-2-0-RC3:1.11.2.1
	netbsd-2-0-RC2:1.11.2.1
	netbsd-2-0-RC1:1.11.2.1
	netbsd-2-0:1.11.0.2
	netbsd-2-0-base:1.11
	netbsd-1-6-PATCH002-RELEASE:1.5
	netbsd-1-6-PATCH002:1.5
	netbsd-1-6-PATCH002-RC4:1.5
	netbsd-1-6-PATCH002-RC3:1.5
	netbsd-1-6-PATCH002-RC2:1.5
	netbsd-1-6-PATCH002-RC1:1.5
	ktrace-lwp:1.8.0.2
	ktrace-lwp-base:1.14
	netbsd-1-6-PATCH001:1.5
	netbsd-1-6-PATCH001-RELEASE:1.5
	netbsd-1-6-PATCH001-RC3:1.5
	netbsd-1-6-PATCH001-RC2:1.5
	netbsd-1-6-PATCH001-RC1:1.5
	nathanw_sa_end:1.3.4.2
	nathanw_sa_before_merge:1.5
	fvdl_fs64_base:1.5
	gmcgarry_ctxsw:1.5.0.14
	gmcgarry_ctxsw_base:1.5
	gmcgarry_ucred:1.5.0.12
	gmcgarry_ucred_base:1.5
	nathanw_sa_base:1.5
	kqueue-aftermerge:1.5
	kqueue-beforemerge:1.5
	netbsd-1-6-RELEASE:1.5
	netbsd-1-6-RC3:1.5
	netbsd-1-6-RC2:1.5
	netbsd-1-6-RC1:1.5
	netbsd-1-6:1.5.0.10
	netbsd-1-6-base:1.5
	gehenna-devsw:1.5.0.8
	gehenna-devsw-base:1.5
	netbsd-1-5-PATCH003:1.1.2.3
	eeh-devprop:1.5.0.6
	eeh-devprop-base:1.5
	newlock:1.5.0.4
	newlock-base:1.5
	ifpoll-base:1.5
	nathanw_sa:1.3.0.4
	thorpej-mips-cache:1.3.0.2
	thorpej-mips-cache-base:1.3
	thorpej-devvp-base3:1.3
	thorpej-devvp-base2:1.3
	post-chs-ubcperf:1.2
	pre-chs-ubcperf:1.2
	thorpej-devvp:1.2.0.2
	thorpej-devvp-base:1.2
	netbsd-1-5-PATCH002:1.1.2.3
	kqueue:1.2.0.4
	kqueue-base:1.5
	netbsd-1-5-PATCH001:1.1.2.3
	thorpej_scsipi_beforemerge:1.2
	thorpej_scsipi_nbase:1.2
	thorpej_scsipi_base:1.2
	thorpej_scsipi:1.1.0.4
	netbsd-1-5-RELEASE:1.1.2.3
	netbsd-1-5-BETA2:1.1.2.3
	netbsd-1-5-BETA:1.1.2.3
	netbsd-1-5:1.1.0.2;
locks; strict;
comment	@# @;


1.42
date	2023.06.03.21.26.28;	author lukem;	state Exp;
branches;
next	1.41;
commitid	Ei0aZMNlbMuRXxrE;

1.41
date	2023.06.03.08.52.57;	author lukem;	state Exp;
branches;
next	1.40;
commitid	JFrjk5m11qFkNtrE;

1.40
date	2020.09.06.07.20.29;	author mrg;	state Exp;
branches;
next	1.39;
commitid	IFqEYW6MZdeXkXmC;

1.39
date	2020.04.20.02.04.44;	author riastradh;	state Exp;
branches;
next	1.38;
commitid	gxxFTkjTbRva945C;

1.38
date	2017.04.08.19.53.23;	author christos;	state Exp;
branches
	1.38.14.1
	1.38.24.1;
next	1.37;

1.37
date	2016.10.01.13.57.44;	author christos;	state Exp;
branches
	1.37.2.1;
next	1.36;

1.36
date	2015.10.26.07.11.33;	author mrg;	state Exp;
branches
	1.36.2.1;
next	1.35;

1.35
date	2015.10.10.06.49.40;	author martin;	state Exp;
branches;
next	1.34;

1.34
date	2015.10.02.20.36.54;	author joerg;	state Exp;
branches;
next	1.33;

1.33
date	2015.01.11.22.59.25;	author martin;	state Exp;
branches;
next	1.32;

1.32
date	2014.01.12.15.26.31;	author tsutsui;	state Exp;
branches
	1.32.4.1
	1.32.6.1;
next	1.31;

1.31
date	2013.12.08.14.41.28;	author palle;	state Exp;
branches;
next	1.30;

1.30
date	2013.08.21.06.41.52;	author matt;	state Exp;
branches;
next	1.29;

1.29
date	2011.05.21.15.50.42;	author tsutsui;	state Exp;
branches
	1.29.4.1
	1.29.14.1
	1.29.18.1;
next	1.28;

1.28
date	2011.01.23.11.29.46;	author nakayama;	state Exp;
branches;
next	1.27;

1.27
date	2011.01.22.19.19.24;	author joerg;	state Exp;
branches;
next	1.26;

1.26
date	2011.01.17.18.11.10;	author joerg;	state Exp;
branches
	1.26.2.1;
next	1.25;

1.25
date	2010.08.25.20.16.49;	author christos;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2010.05.27.06.58.15;	author dholland;	state Exp;
branches;
next	1.23;

1.23
date	2010.04.02.18.39.44;	author martin;	state Exp;
branches;
next	1.22;

1.22
date	2009.11.27.11.14.23;	author tsutsui;	state Exp;
branches
	1.22.2.1
	1.22.4.1;
next	1.21;

1.21
date	2007.10.17.19.57.16;	author garbled;	state Exp;
branches
	1.21.20.1;
next	1.20;

1.20
date	2007.09.29.21.43.52;	author martin;	state Exp;
branches;
next	1.19;

1.19
date	2007.09.14.09.26.45;	author martin;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2006.01.27.18.31.11;	author cdi;	state Exp;
branches
	1.18.28.1
	1.18.36.1
	1.18.46.1
	1.18.48.1;
next	1.17;

1.17
date	2006.01.27.04.29.02;	author uwe;	state Exp;
branches;
next	1.16;

1.16
date	2006.01.22.09.17.14;	author dsl;	state Exp;
branches;
next	1.15;

1.15
date	2005.12.11.12.19.08;	author christos;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2005.07.10.06.40.35;	author christos;	state Exp;
branches;
next	1.13;

1.13
date	2004.07.28.01.05.35;	author simonb;	state Exp;
branches
	1.13.10.1
	1.13.12.1;
next	1.12;

1.12
date	2004.06.21.18.20.09;	author jmc;	state Exp;
branches;
next	1.11;

1.11
date	2004.03.21.23.41.21;	author martin;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2003.12.07.09.05.18;	author mrg;	state Exp;
branches;
next	1.9;

1.9
date	2003.10.26.07.25.37;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	2003.06.01.00.43.47;	author thorpej;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2003.05.17.02.30.15;	author nakayama;	state Exp;
branches;
next	1.6;

1.6
date	2003.05.17.02.26.27;	author nakayama;	state Exp;
branches;
next	1.5;

1.5
date	2001.12.12.01.49.52;	author tv;	state Exp;
branches;
next	1.4;

1.4
date	2001.12.04.18.54.35;	author thorpej;	state Exp;
branches;
next	1.3;

1.3
date	2001.09.22.03.34.20;	author tv;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	2001.03.04.14.50.05;	author mrg;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2000.08.20.14.58.37;	author mrg;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.38.14.1
date	2020.04.21.18.42.11;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;

1.38.24.1
date	2020.04.20.11.29.00;	author bouyer;	state Exp;
branches;
next	;
commitid	4WLfIgNPymVsg75C;

1.37.2.1
date	2017.04.21.16.53.37;	author bouyer;	state Exp;
branches;
next	;

1.36.2.1
date	2016.11.04.14.49.05;	author pgoyette;	state Exp;
branches;
next	1.36.2.2;

1.36.2.2
date	2017.04.26.02.53.07;	author pgoyette;	state Exp;
branches;
next	;

1.32.4.1
date	2015.01.12.20.57.31;	author snj;	state Exp;
branches;
next	;

1.32.6.1
date	2015.04.06.15.18.02;	author skrll;	state Exp;
branches;
next	1.32.6.2;

1.32.6.2
date	2015.12.27.12.09.43;	author skrll;	state Exp;
branches;
next	1.32.6.3;

1.32.6.3
date	2016.10.05.20.55.35;	author skrll;	state Exp;
branches;
next	1.32.6.4;

1.32.6.4
date	2017.08.28.17.51.52;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.29.4.1
date	2014.05.22.11.40.09;	author yamt;	state Exp;
branches;
next	;

1.29.14.1
date	2014.08.20.00.03.25;	author tls;	state Exp;
branches;
next	1.29.14.2;

1.29.14.2
date	2017.12.03.11.36.44;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.29.18.1
date	2013.08.28.23.59.22;	author rmind;	state Exp;
branches;
next	1.29.18.2;

1.29.18.2
date	2014.05.18.17.45.26;	author rmind;	state Exp;
branches;
next	;

1.26.2.1
date	2011.02.08.16.19.41;	author bouyer;	state Exp;
branches;
next	;

1.25.2.1
date	2011.06.06.09.06.48;	author jruoho;	state Exp;
branches;
next	;

1.22.2.1
date	2010.04.30.14.39.50;	author uebayasi;	state Exp;
branches;
next	1.22.2.2;

1.22.2.2
date	2010.08.17.06.45.16;	author uebayasi;	state Exp;
branches;
next	1.22.2.3;

1.22.2.3
date	2010.10.22.07.21.33;	author uebayasi;	state Exp;
branches;
next	;

1.22.4.1
date	2010.05.30.05.17.07;	author rmind;	state Exp;
branches;
next	1.22.4.2;

1.22.4.2
date	2011.03.05.20.52.05;	author rmind;	state Exp;
branches;
next	1.22.4.3;

1.22.4.3
date	2011.05.31.03.04.18;	author rmind;	state Exp;
branches;
next	;

1.21.20.1
date	2010.03.11.15.02.59;	author yamt;	state Exp;
branches;
next	1.21.20.2;

1.21.20.2
date	2010.08.11.22.52.46;	author yamt;	state Exp;
branches;
next	1.21.20.3;

1.21.20.3
date	2010.10.09.03.31.54;	author yamt;	state Exp;
branches;
next	;

1.19.2.1
date	2007.10.06.15.34.28;	author yamt;	state Exp;
branches;
next	;

1.18.28.1
date	2007.10.09.13.38.29;	author ad;	state Exp;
branches;
next	;

1.18.36.1
date	2007.10.03.19.25.18;	author garbled;	state Exp;
branches;
next	;

1.18.46.1
date	2007.10.02.18.27.40;	author joerg;	state Exp;
branches;
next	;

1.18.48.1
date	2007.11.06.23.22.37;	author matt;	state Exp;
branches;
next	;

1.15.2.1
date	2006.02.01.14.51.37;	author yamt;	state Exp;
branches;
next	;

1.13.10.1
date	2005.07.10.20.54.59;	author tron;	state Exp;
branches;
next	;

1.13.12.1
date	2006.06.21.14.56.40;	author yamt;	state Exp;
branches;
next	1.13.12.2;

1.13.12.2
date	2007.10.27.11.28.36;	author yamt;	state Exp;
branches;
next	;

1.11.2.1
date	2004.06.22.07.53.13;	author tron;	state Exp;
branches;
next	;

1.8.2.1
date	2004.08.03.10.41.22;	author skrll;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2004.09.18.14.41.04;	author skrll;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	2004.09.21.13.22.40;	author skrll;	state Exp;
branches;
next	1.8.2.4;

1.8.2.4
date	2005.11.10.13.59.17;	author skrll;	state Exp;
branches;
next	;

1.3.4.1
date	2001.09.22.03.34.20;	author nathanw;	state dead;
branches;
next	1.3.4.2;

1.3.4.2
date	2002.01.08.00.27.56;	author nathanw;	state Exp;
branches;
next	;

1.2.2.1
date	2001.10.01.12.42.19;	author fvdl;	state Exp;
branches;
next	;

1.2.4.1
date	2002.01.10.19.49.10;	author thorpej;	state Exp;
branches;
next	;

1.1.2.1
date	2000.08.20.14.58.37;	author mrg;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2000.08.26.00.05.15;	author mrg;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2000.08.26.00.38.15;	author mrg;	state Exp;
branches;
next	;

1.1.4.1
date	2000.08.20.14.58.37;	author bouyer;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2000.11.20.20.25.50;	author bouyer;	state Exp;
branches;
next	1.1.4.3;

1.1.4.3
date	2001.03.12.13.29.27;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.42
log
@adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
which works for both clang and gcc, and remove compiler-specific
equivalents.
@
text
@#	$NetBSD: Makefile,v 1.41 2023/06/03 08:52:57 lukem Exp $

.include <bsd.init.mk>

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

#
# Override normal settings
#

WARNS?=		2
KLINK_MACHINE=	sparc64

PROG?=		ofwboot
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c
SRCS+=		bootinfo.c loadfile_machdep.c promlib.c prf.c isfloppy.c
.if ${MACHINE_ARCH} == "sparc64"
SRCS+=		hvcall.S
CPPFLAGS+=	-DSUN4V
.endif
.PATH:		${S}/arch/sparc64/sparc64 ${S}/arch/sparc/stand/common

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

COPTS+=		-ffreestanding -mcpu=v9
CWARNFLAGS+=	-Wno-main
CFLAGS+=	${COPTS}
CPPFLAGS+=	-D_STANDALONE
CPPFLAGS+=	-DBOOT_ELF32 -DBOOT_ELF64 -DBOOT_AOUT
CPPFLAGS+=	-DNETBOOT
CPPFLAGS+=	-DSUPPORT_DHCP
#CPPFLAGS+=	-DNETIF_DEBUG 
#CPPFLAGS+=	-D_DEBUG

# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
# accessors -- they don't actually dereference the resulting pointer,
# just use it for type-checking.
CWARNFLAGS+=	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

LINKS+=		${BINDIR}/ofwboot ${BINDIR}/ofwboot.net

NOMAN=		# defined
STRIPFLAG=
BINMODE=	444

NEWVERSWHAT=	"OpenFirmware Boot"

#
# Elf64 defaults to 1MB
#
# We may get address conflicts with other bootloaders, say
# Sun's ufsboot, so we'll pick a reasonably empty address.
#
RELOC=		100000

ENTRY=		_start

CPPFLAGS+=	-I${CURDIR}/../../.. -I${CURDIR}/../../../.. -I${CURDIR} -I.
CPPFLAGS+=	-I${CURDIR}/../../../../../common/include
CPPFLAGS+=	-DRELOC=0x${RELOC}

#
# XXXXX FIXME
#
CPPFLAGS+=	-DSPARC_BOOT_AOUT
CPPFLAGS+=	-DSPARC_BOOT_ELF
CPPFLAGS+=	-DSPARC_BOOT_UFS
CPPFLAGS+=	-DSPARC_BOOT_NFS
CPPFLAGS+=	-DSPARC_BOOT_CD9660

### 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_USE_LOADFILE=yes SA_USE_CREAD=yes
SAMISCCPPFLAGS+= -DCOMPAT_SOLARIS_UFS
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

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

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

.if CROSS
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${_MKTARGET_LINK}
	${LD} -N -p -Ttext ${RELOC} -e ${ENTRY} >lderr -o ${PROG} \
	    ${OBJS} -L${SADST} -lsa -L${ZDST} -lz -L${KERNDST} -lkern # solaris linker
.else
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${_MKTARGET_LINK}
	${LD} -X -N -S -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
	    ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}	# native linker
.endif

.include <bsd.prog.mk>

CPUFLAGS+=		-mcpu=v9
AFLAGS+=		-Wa,-Av9a
AFLAGS+=		-x assembler-with-cpp -D_LOCORE -D__ELF__

NORMAL_S=	${CC} ${AFLAGS} ${AFLAGS.${<:T}}  ${CPPFLAGS} -c $<
srt0.o: srt0.s
	${NORMAL_S}

hvcall.o: hvcall.S
	${NORMAL_S}


# Explicit dependency for this.
boot.o: boot.c
@


1.41
log
@bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
	CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
	CLANG_NO_ADDR_OF_PACKED_MEMBER
	CC_NO_ADDR_OF_PACKED_MEMBER
	GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.40 2020/09/06 07:20:29 mrg Exp $
d44 1
a44 2
CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member
CWARNFLAGS.gcc+=	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
@


1.40
log
@add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.39 2020/04/20 02:04:44 riastradh Exp $
d45 1
a45 1
CWARNFLAGS.gcc+=	${GCC_NO_ADDR_OF_PACKED_MEMBER}
@


1.39
log
@More -Wno-error=address-of-packed-member to placate clang.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2017/04/08 19:53:23 christos Exp $
d45 1
@


1.38
log
@centralize vers.c building for standalone programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2016/10/01 13:57:44 christos Exp $
d41 5
@


1.38.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
a40 5
# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
# accessors -- they don't actually dereference the resulting pointer,
# just use it for type-checking.
CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member

@


1.38.24.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.39 2020/04/20 02:04:44 riastradh Exp $
a40 5
# Follow the suit of Makefile.kern.inc; needed for the lfs64 union
# accessors -- they don't actually dereference the resulting pointer,
# just use it for type-checking.
CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member

@


1.37
log
@deal with PIE and SSP
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2015/10/26 07:11:33 mrg Exp $
d16 1
a16 1
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c vers.c
d89 2
a93 6
vers.c: version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${CURDIR}/version "sparc64" ${NEWVERSWHAT}

CLEANFILES+= vers.c

@


1.37.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2017/04/08 19:53:23 christos Exp $
d16 1
a16 1
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c
a88 2
.include "${S}/conf/newvers_stand.mk"

d92 6
@


1.36
log
@force -mcpu=v9 for ofwboot, which demands v9 cpus.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.35 2015/10/10 06:49:40 martin Exp $
@


1.36.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 3
#	$NetBSD: Makefile,v 1.37 2016/10/01 13:57:44 christos Exp $

.include <bsd.init.mk>
@


1.36.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2017/04/08 19:53:23 christos Exp $
d16 1
a16 1
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c
a88 2
.include "${S}/conf/newvers_stand.mk"

d92 6
@


1.35
log
@Simplify, get rid of manual _LP64 define.
Do not pass a SUN4U define, as that is no longer used in the relevant headers.
Instead tell the compiler we are compiling for a v9 CPU (so it internally
defines everything we need).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2015/10/02 20:36:54 joerg Exp $
d29 1
a29 1
COPTS+=		-ffreestanding
@


1.34
log
@Support per-target AFLAGS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2015/01/11 22:59:25 martin Exp $
d18 1
d31 2
a32 5
CFLAGS+=	${COPTS} ${CEXTRAFLAGS}
CPPFLAGS+=	-D_STANDALONE -DSUN4U
.if ${MACHINE_ARCH} == "sparc64"
CPPFLAGS+=	-DSUN4V
.endif
d110 1
a110 1
.if ${MACHINE_ARCH} == "sparc64"
a111 6
CEXTRAFLAGS?=		-D_LP64
.else
AFLAGS+=		-Wa,-Av8plusa
.endif

.if CROSS
a112 4
CEXTRAFLAGS?=		-D_LP64
.else
AFLAGS+=		-x assembler-with-cpp -D_LOCORE -D__ELF__ ${CEXTRAFLAGS}
.endif
@


1.33
log
@Strip debug symbols from ofwboot.

The forth bootsector loading this file when booting from disk is
"simplistic" and does not skip non loadable sections. The five times
bigger file with debug info overruns some important memory contents
with some firmware versions otherwise.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2014/01/12 15:26:31 tsutsui Exp $
d126 1
a126 1
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<
@


1.32
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,v 1.31 2013/12/08 14:41:28 palle Exp $
d106 1
a106 1
	${LD} -X -N -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
@


1.32.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2015/01/11 22:59:25 martin Exp $
d106 1
a106 1
	${LD} -X -N -S -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
@


1.32.6.2
log
@Sync with HEAD (as of 26th Dec)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32.6.1 2015/04/06 15:18:02 skrll Exp $
a17 1
CPPFLAGS+=	-DSUN4V
d28 1
a28 1
COPTS+=		-ffreestanding -mcpu=v9
d30 5
a34 2
CFLAGS+=	${COPTS}
CPPFLAGS+=	-D_STANDALONE
d112 1
a112 1
CPUFLAGS+=		-mcpu=v9
d114 6
d121 4
d126 1
a126 1
NORMAL_S=	${CC} ${AFLAGS} ${AFLAGS.${<:T}}  ${CPPFLAGS} -c $<
@


1.32.6.3
log
@Sync with HEAD
@
text
@d1 1
a1 3
#	$NetBSD: Makefile,v 1.32.6.2 2015/12/27 12:09:43 skrll Exp $

.include <bsd.init.mk>
d36 1
a36 1
#CPPFLAGS+=	-DNETIF_DEBUG
@


1.32.6.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32.6.3 2016/10/05 20:55:35 skrll Exp $
d16 1
a16 1
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c
a88 2
.include "${S}/conf/newvers_stand.mk"

d92 6
@


1.32.4.1
log
@Pull up following revision(s) (requested by martin in ticket #411):
	sys/arch/sparc/stand/ofwboot/Makefile: revision 1.33
Strip debug symbols from ofwboot.
The forth bootsector loading this file when booting from disk is
"simplistic" and does not skip non loadable sections. The five times
bigger file with debug info overruns some important memory contents
with some firmware versions otherwise.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2014/01/12 15:26:31 tsutsui Exp $
d106 1
a106 1
	${LD} -X -N -S -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
@


1.31
log
@Add support for running ofwboot on sun4v. Please note that the kernel on sun4v will be loaded properly but when the kernel takes over it will crash immediately since the kernel is not sun4v ready yet
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2013/08/21 06:41:52 matt Exp $
d23 1
@


1.30
log
@Use <bsd.klinks.mk>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2011/05/21 15:50:42 tsutsui Exp $
d16 3
d31 3
d129 4
@


1.29
log
@WARNSfy and fix dumb bugs noticed by warnings.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2011/01/23 11:29:46 nakayama Exp $
d11 1
a81 14
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
	@@([ -h machine ] || ln -s ${S}/arch/sparc64/include machine)
	@@([ -h sparc64 ] || ln -s ${S}/arch/sparc64/include sparc64)
	@@([ -h sparc ] || ln -s ${S}/arch/sparc/include sparc)
.NOPATH: machine sparc64 sparc
.endif
CLEANFILES+= machine sparc64 sparc

cleandir distclean: .WAIT cleanlibdir

cleanlibdir:
	-rm -rf lib

d83 1
d93 1
d98 1
@


1.29.14.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
a10 1
KLINK_MACHINE=	sparc64
a14 3
.if ${MACHINE_ARCH} == "sparc64"
SRCS+=		hvcall.S
.endif
a18 1
LIBCRTI=
a26 3
.if ${MACHINE_ARCH} == "sparc64"
CPPFLAGS+=	-DSUN4V
.endif
d81 14
a95 1
.include <bsd.klinks.mk>
a104 1
	${_MKTARGET_LINK}
a108 1
	${_MKTARGET_LINK}
a132 4
hvcall.o: hvcall.S
	${NORMAL_S}


@


1.29.14.2
log
@update from HEAD
@
text
@a2 2
.include <bsd.init.mk>

d14 1
a14 1
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c
a17 1
CPPFLAGS+=	-DSUN4V
d28 1
a28 1
COPTS+=		-ffreestanding -mcpu=v9
d30 5
a34 2
CFLAGS+=	${COPTS}
CPPFLAGS+=	-D_STANDALONE
a88 2
.include "${S}/conf/newvers_stand.mk"

d92 6
d106 1
a106 1
	${LD} -X -N -S -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
d112 1
a112 1
CPUFLAGS+=		-mcpu=v9
d114 6
d121 4
d126 1
a126 1
NORMAL_S=	${CC} ${AFLAGS} ${AFLAGS.${<:T}}  ${CPPFLAGS} -c $<
@


1.29.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,v 1.29 2011/05/21 15:50:42 tsutsui Exp $
a10 1
KLINK_MACHINE=	sparc64
a14 3
.if ${MACHINE_ARCH} == "sparc64"
SRCS+=		hvcall.S
.endif
a18 1
LIBCRTI=
a26 3
.if ${MACHINE_ARCH} == "sparc64"
CPPFLAGS+=	-DSUN4V
.endif
d81 14
a95 1
.include <bsd.klinks.mk>
a104 1
	${_MKTARGET_LINK}
a108 1
	${_MKTARGET_LINK}
a132 4
hvcall.o: hvcall.S
	${NORMAL_S}


@


1.29.18.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a10 1
KLINK_MACHINE=	sparc64
d81 14
a95 1
.include <bsd.klinks.mk>
a104 1
	${_MKTARGET_LINK}
a108 1
	${_MKTARGET_LINK}
@


1.29.18.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29.18.1 2013/08/28 23:59:22 rmind Exp $
a15 3
.if ${MACHINE_ARCH} == "sparc64"
SRCS+=		hvcall.S
.endif
a19 1
LIBCRTI=
a27 3
.if ${MACHINE_ARCH} == "sparc64"
CPPFLAGS+=	-DSUN4V
.endif
a122 4
hvcall.o: hvcall.S
	${NORMAL_S}


@


1.28
log
@Redo previous.
bsd.own.mk must be included after NOMAN=.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2011/01/22 19:19:24 joerg Exp $
d10 1
a10 1
WARNS=		0
@


1.27
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: Makefile,v 1.26 2011/01/17 18:11:10 joerg Exp $
a5 2
.include <bsd.own.mk>

d95 2
@


1.26
log
@Move SPARC and SPARC64 to modern CPP. Update UPDATING note for this and
Alpha.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/sparc/stand/ofwboot/Makefile,v 1.25 2010-08-25 20:16:49 christos Exp $
d6 2
d98 2
a99 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${CURDIR}/version "sparc64" ${NEWVERSWHAT}
@


1.26.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2011/01/23 11:29:46 nakayama Exp $
a94 2
.include <bsd.own.mk>

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


1.25
log
@factor out the floppy detection code.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2010/05/27 06:58:15 dholland Exp $
d120 1
a120 1
AFLAGS+=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__
d123 1
a123 1
AFLAGS+=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__ ${CEXTRAFLAGS}
@


1.25.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2011/05/21 15:50:42 tsutsui Exp $
d10 1
a10 1
WARNS?=		2
a94 2
.include <bsd.own.mk>

d96 1
a96 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${CURDIR}/version "sparc64" ${NEWVERSWHAT}
d120 1
a120 1
AFLAGS+=		-x assembler-with-cpp -D_LOCORE -D__ELF__
d123 1
a123 1
AFLAGS+=		-x assembler-with-cpp -D_LOCORE -D__ELF__ ${CEXTRAFLAGS}
@


1.24
log
@Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2010/04/02 18:39:44 martin Exp $
d14 2
a15 2
SRCS+=		bootinfo.c loadfile_machdep.c promlib.c prf.c
.PATH:		${S}/arch/sparc64/sparc64
@


1.23
log
@Add support for /boot.cfg. Implement a single command for now: override
the boot partition, which will be used for bootable CDs. Add cd9660
support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2009/11/27 11:14:23 tsutsui Exp $
d90 1
a90 1
cleandir distclean: cleanlibdir
@


1.22
log
@Add src/common/include to -Ipath for proplib(3) so that build works
even without installed DESTDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2007/10/17 19:57:16 garbled Exp $
d62 1
a62 1
#CPPFLAGS+=	-DSPARC_BOOT_CD9660
@


1.22.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2009/11/27 11:14:23 tsutsui Exp $
d62 1
a62 1
CPPFLAGS+=	-DSPARC_BOOT_CD9660
d90 1
a90 1
cleandir distclean: .WAIT cleanlibdir
@


1.22.4.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d14 2
a15 2
SRCS+=		bootinfo.c loadfile_machdep.c promlib.c prf.c isfloppy.c
.PATH:		${S}/arch/sparc64/sparc64 ${S}/arch/sparc/stand/common
a94 2
.include <bsd.own.mk>

d96 1
a96 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${CURDIR}/version "sparc64" ${NEWVERSWHAT}
d120 1
a120 1
AFLAGS+=		-x assembler-with-cpp -D_LOCORE -D__ELF__
d123 1
a123 1
AFLAGS+=		-x assembler-with-cpp -D_LOCORE -D__ELF__ ${CEXTRAFLAGS}
@


1.22.4.3
log
@sync with head
@
text
@d10 1
a10 1
WARNS?=		2
@


1.22.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d62 1
a62 1
CPPFLAGS+=	-DSPARC_BOOT_CD9660
@


1.22.2.2
log
@Sync with HEAD.
@
text
@d90 1
a90 1
cleandir distclean: .WAIT cleanlibdir
@


1.22.2.3
log
@Sync with HEAD (-D20101022).
@
text
@d14 2
a15 2
SRCS+=		bootinfo.c loadfile_machdep.c promlib.c prf.c isfloppy.c
.PATH:		${S}/arch/sparc64/sparc64 ${S}/arch/sparc/stand/common
@


1.21
log
@Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18.36.1 2007/10/03 19:25:18 garbled Exp $
d52 1
@


1.21.20.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2007/10/17 19:57:16 garbled Exp $
a51 1
CPPFLAGS+=	-I${CURDIR}/../../../../../common/include
@


1.21.20.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21.20.1 2010/03/11 15:02:59 yamt Exp $
d62 1
a62 1
CPPFLAGS+=	-DSPARC_BOOT_CD9660
d90 1
a90 1
cleandir distclean: .WAIT cleanlibdir
@


1.21.20.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21.20.2 2010/08/11 22:52:46 yamt Exp $
d14 2
a15 2
SRCS+=		bootinfo.c loadfile_machdep.c promlib.c prf.c isfloppy.c
.PATH:		${S}/arch/sparc64/sparc64 ${S}/arch/sparc/stand/common
@


1.20
log
@Enable booting from news Solaris ufs partitions.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2007/09/14 09:26:45 martin Exp $
@


1.19
log
@Rename the option to enable ISO 9660 file system support from ..._HSFS
to ..._CD9660.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2006/01/27 18:31:11 cdi Exp $
d76 1
@


1.19.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2007/09/14 09:26:45 martin Exp $
a75 1
SAMISCCPPFLAGS+= -DCOMPAT_SOLARIS_UFS
@


1.18
log
@Alter sparc64 bootstrap:

 - Map kernel with permanent 4MB pages to ease kernel's life
 - Pass mappings down to the kernel as part of bootinfo structure
 - Try to detect whether kernel is aware of the new boot scheme or not and
   in the former case map the kernel using OpenFirmware and do not pass
   bootinfo structure
 - Provide -C switch to force compatibility mode if autodetection fails
 - While on this, fix PR #25763: If load of default kernel fails, try one by
   one those specified in compiled-in list

Much inspired by the bootloader of FreeBSD, with some imported code from there.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2005/12/11 12:19:08 christos Exp $
d61 1
a61 1
#CPPFLAGS+=	-DSPARC_BOOT_HSFS
@


1.18.48.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2007/10/17 19:57:16 garbled Exp $
d61 1
a61 1
#CPPFLAGS+=	-DSPARC_BOOT_CD9660
a75 1
SAMISCCPPFLAGS+= -DCOMPAT_SOLARIS_UFS
@


1.18.28.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2006/01/27 18:31:11 cdi Exp $
d61 1
a61 1
#CPPFLAGS+=	-DSPARC_BOOT_CD9660
a75 1
SAMISCCPPFLAGS+= -DCOMPAT_SOLARIS_UFS
@


1.18.36.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2007/09/29 21:43:52 martin Exp $
d61 1
a61 1
#CPPFLAGS+=	-DSPARC_BOOT_CD9660
a75 1
SAMISCCPPFLAGS+= -DCOMPAT_SOLARIS_UFS
@


1.18.46.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2007/09/29 21:43:52 martin Exp $
d61 1
a61 1
#CPPFLAGS+=	-DSPARC_BOOT_CD9660
a75 1
SAMISCCPPFLAGS+= -DCOMPAT_SOLARIS_UFS
@


1.17
log
@Use the same code to create machine, sparc and sparc64 symlinks that
../Makefile.buildboot uses.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2006/01/22 09:17:14 dsl Exp $
d14 1
d27 1
a27 1
CPPFLAGS+=	-DBOOT_ELF32 -DBOOT_ELF64
d31 1
d47 1
a47 1
RELOC=		800000
a50 2
CLEANFILES+=	vers.c sparc64 sparc machine

a51 1
CPPFLAGS+=	-I${CURDIR}/../../../../lib/libsa
d75 1
a75 1
SAMISCMAKEFLAGS= SA_USE_CREAD=yes
d96 2
d129 1
a129 1
boot.o: boot.c elfXX_exec.c
@


1.16
log
@Add an explicit -I for sys/lib/libsa so that we find the <iodesc.h>
requested inside sys/lib/libsa/net.h
This used to be "iodesc.h" but another build needs to override it with
a local copy.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2005/12/11 12:19:08 christos Exp $
d80 5
d86 2
a87 13
${SRCS}: machine sparc64 sparc

machine:
	rm -f machine
	ln -s sparc64 machine

sparc64:
	rm -f sparc64
	ln -s ${.CURDIR}/../../../sparc64/include sparc64

sparc:
	rm -f sparc
	ln -s ${.CURDIR}/../../../sparc/include sparc
@


1.15
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.2.4 2005/11/10 13:59:17 skrll Exp $
d52 1
@


1.15.2.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2005/12/11 12:19:08 christos Exp $
a13 1
SRCS+=		bootinfo.c loadfile_machdep.c promlib.c prf.c
d26 1
a26 1
CPPFLAGS+=	-DBOOT_ELF32 -DBOOT_ELF64 -DBOOT_AOUT
a29 1
#CPPFLAGS+=	-D_DEBUG
d45 1
a45 1
RELOC=		100000
d49 2
d75 1
a75 1
SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_USE_CREAD=yes
a78 5
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
	@@([ -h machine ] || ln -s ${S}/arch/sparc64/include machine)
	@@([ -h sparc64 ] || ln -s ${S}/arch/sparc64/include sparc64)
	@@([ -h sparc ] || ln -s ${S}/arch/sparc/include sparc)
d80 13
a92 2
.endif
CLEANFILES+= machine sparc64 sparc
a101 2
CLEANFILES+= vers.c

d133 1
a133 1
boot.o: boot.c
@


1.14
log
@Turn on dhcp support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2004/07/28 01:05:35 simonb Exp $
@


1.13
log
@Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2004/06/21 18:20:09 jmc Exp $
d28 1
@


1.13.12.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2004/07/28 01:05:35 simonb Exp $
a13 1
SRCS+=		bootinfo.c loadfile_machdep.c promlib.c prf.c
d26 1
a26 1
CPPFLAGS+=	-DBOOT_ELF32 -DBOOT_ELF64 -DBOOT_AOUT
a27 1
CPPFLAGS+=	-DSUPPORT_DHCP
a28 1
#CPPFLAGS+=	-D_DEBUG
d44 1
a44 1
RELOC=		100000
d48 2
d74 1
a74 1
SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_USE_CREAD=yes
a77 5
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
	@@([ -h machine ] || ln -s ${S}/arch/sparc64/include machine)
	@@([ -h sparc64 ] || ln -s ${S}/arch/sparc64/include sparc64)
	@@([ -h sparc ] || ln -s ${S}/arch/sparc/include sparc)
d79 13
a91 2
.endif
CLEANFILES+= machine sparc64 sparc
a100 2
CLEANFILES+= vers.c

d132 1
a132 1
boot.o: boot.c
@


1.13.12.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13.12.1 2006/06/21 14:56:40 yamt Exp $
d61 1
a61 1
#CPPFLAGS+=	-DSPARC_BOOT_CD9660
a75 1
SAMISCCPPFLAGS+= -DCOMPAT_SOLARIS_UFS
@


1.13.10.1
log
@Pull up revision 1.14 (requested by christos in ticket #567):
Turn on dhcp support.
@
text
@d1 1
a1 1
#	$NetBSD$
a27 1
CPPFLAGS+=	-DSUPPORT_DHCP
@


1.12
log
@Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2004/03/21 23:41:21 martin Exp $
d16 6
@


1.11
log
@Create a symlink for <sparc/...> include paths as well, the new openfirm.h
needs it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2003/12/07 09:05:18 mrg Exp $
d90 1
a90 1
	rm -rf lib
@


1.11.2.1
log
@Pull up revision 1.12 (requested by jmc in ticket #531):
Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
@
text
@d1 1
a1 1
#	$NetBSD$
d90 1
a90 1
	-rm -rf lib
@


1.10
log
@merge ultrasparc ofwboot / ofwboot.net.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2003/10/26 07:25:37 lukem Exp $
d42 1
a42 1
CLEANFILES+=	vers.c sparc64 machine
d72 2
a73 2
.NOPATH: machine sparc64
${SRCS}: machine sparc64
d83 4
@


1.9
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,v 1.8 2003/06/01 00:43:47 thorpej Exp $
d21 1
d23 2
@


1.8
log
@Add -ffreestanding.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2003/05/17 02:30:15 nakayama Exp $
d86 1
a86 1
	sh ${S}/conf/newvers_stand.sh ${CURDIR}/version "sparc64" ${NEWVERSWHAT}
@


1.8.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2004/06/21 18:20:09 jmc Exp $
a15 6
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

a20 1
CPPFLAGS+=	-DNETBOOT
a22 2
LINKS+=		${BINDIR}/ofwboot ${BINDIR}/ofwboot.net

d39 1
a39 1
CLEANFILES+=	vers.c sparc64 sparc machine
d69 2
a70 2
.NOPATH: machine sparc64 sparc
${SRCS}: machine sparc64 sparc
a79 4
sparc:
	rm -f sparc
	ln -s ${.CURDIR}/../../../sparc/include sparc

d83 1
a83 1
	-rm -rf lib
d86 1
a86 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${CURDIR}/version "sparc64" ${NEWVERSWHAT}
@


1.8.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2004/07/28 01:05:35 simonb Exp $
@


1.8.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.2.1 2004/08/03 10:41:22 skrll Exp $
@


1.8.2.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.2.3 2004/09/21 13:22:40 skrll Exp $
a27 1
CPPFLAGS+=	-DSUPPORT_DHCP
@


1.7
log
@Make sure to remove lib directories.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2003/05/17 02:26:27 nakayama Exp $
d16 1
@


1.6
log
@Make sure to remove proper link.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2001/12/12 01:49:52 tv Exp $
d78 5
@


1.5
log
@MKfoo=no -> NOfoo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2001/12/04 18:54:35 thorpej Exp $
d38 1
a38 1
CLEANFILES+=	vers.c sparc machine
@


1.4
log
@Don't declare which exec formats to support in loadfile_machdep.h.
Instead, give each user of loadfile() control over which exec formats
it wants to support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2001/09/22 03:34:20 tv Exp $
d22 1
a22 1
MKMAN=		no
@


1.3
log
@objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2001/03/04 14:50:05 mrg Exp $
d19 1
@


1.3.4.1
log
@file Makefile was added on branch nathanw_sa on 2002-01-08 00:27:56 +0000
@
text
@d1 112
@


1.3.4.2
log
@Catch up to -current.
@
text
@a0 113
#	$NetBSD: Makefile,v 1.3.4.1 2002/01/08 00:27:56 nathanw Exp $

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

#
# Override normal settings
#

WARNS=		0

PROG?=		ofwboot
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c vers.c
.PATH:		${S}/arch/sparc64/sparc64

CWARNFLAGS+=	-Wno-main
CFLAGS+=	${COPTS} ${CEXTRAFLAGS}
CPPFLAGS+=	-D_STANDALONE -DSUN4U
CPPFLAGS+=	-DBOOT_ELF32 -DBOOT_ELF64
#CPPFLAGS+=	-DNETIF_DEBUG 

NOMAN=		# defined
STRIPFLAG=
BINMODE=	444

NEWVERSWHAT=	"OpenFirmware Boot"

#
# Elf64 defaults to 1MB
#
# We may get address conflicts with other bootloaders, say
# Sun's ufsboot, so we'll pick a reasonably empty address.
#
RELOC=		800000

ENTRY=		_start

CLEANFILES+=	vers.c sparc machine

CPPFLAGS+=	-I${CURDIR}/../../.. -I${CURDIR}/../../../.. -I${CURDIR} -I.
CPPFLAGS+=	-DRELOC=0x${RELOC}

#
# XXXXX FIXME
#
CPPFLAGS+=	-DSPARC_BOOT_AOUT
CPPFLAGS+=	-DSPARC_BOOT_ELF
CPPFLAGS+=	-DSPARC_BOOT_UFS
CPPFLAGS+=	-DSPARC_BOOT_NFS
#CPPFLAGS+=	-DSPARC_BOOT_HSFS

### 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_USE_CREAD=yes
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

.NOPATH: machine sparc64
${SRCS}: machine sparc64

machine:
	rm -f machine
	ln -s sparc64 machine

sparc64:
	rm -f sparc64
	ln -s ${.CURDIR}/../../../sparc64/include sparc64

vers.c: version
	sh ${S}/conf/newvers_stand.sh ${CURDIR}/version "sparc64" ${NEWVERSWHAT}

.if CROSS
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -N -p -Ttext ${RELOC} -e ${ENTRY} >lderr -o ${PROG} \
	    ${OBJS} -L${SADST} -lsa -L${ZDST} -lz -L${KERNDST} -lkern # solaris linker
.else
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -X -N -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
	    ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}	# native linker
.endif

.include <bsd.prog.mk>

.if ${MACHINE_ARCH} == "sparc64"
AFLAGS+=		-Wa,-Av9a
CEXTRAFLAGS?=		-D_LP64
.else
AFLAGS+=		-Wa,-Av8plusa
.endif

.if CROSS
AFLAGS+=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__
CEXTRAFLAGS?=		-D_LP64
.else
AFLAGS+=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__ ${CEXTRAFLAGS}
.endif

NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<
srt0.o: srt0.s
	${NORMAL_S}

# Explicit dependency for this.
boot.o: boot.c elfXX_exec.c
@


1.2
log
@this is a sparc64 program.  so -DSUN4U, machine -> sparc64.  cleanup.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2000/08/20 14:58:37 mrg Exp $
a23 1
OBJCOPY?=	objcopy
@


1.2.4.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2001/12/12 01:49:52 tv Exp $
a18 1
CPPFLAGS+=	-DBOOT_ELF32 -DBOOT_ELF64
d21 1
a21 1
NOMAN=		# defined
d24 1
@


1.2.2.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2001/09/22 03:34:20 tv Exp $
d24 1
@


1.1
log
@move ofwboot & bootblk here; add a Makefile to build ofwboot.net
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2000/07/25 21:53:55 mycroft Exp $
a15 5
.if CROSS
CEXTRAFLAGS?=	-nostdinc
.else
CEXTRAFLAGS?=	-D_LP64
.endif
d17 2
a18 2
CFLAGS+=	${COPTS} -D__ELF__ ${CEXTRAFLAGS}
CPPFLAGS+=	-D_STANDALONE
d68 2
a69 2
.NOPATH: machine sparc
${SRCS}: machine sparc
d73 1
a73 1
	ln -s ${.CURDIR}/../../../${MACHINE}/include machine
d75 3
a77 3
sparc:
	rm -f sparc
	ln -s ${.CURDIR}/../../../sparc/include sparc
d94 7
d102 2
a103 1
AFLAGS=		-x assembler-with-cpp -Wa,-Av9a -traditional-cpp -D_LOCORE -D__ELF__
d105 1
a105 1
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__ -Wa,-Av9a ${CEXTRAFLAGS} #-Wa,-Av8plusa
d107 1
@


1.1.2.1
log
@file Makefile was added on branch netbsd-1-5 on 2000-08-26 00:05:15 +0000
@
text
@d1 109
@


1.1.2.2
log
@move these from arch/sparc64/stand; approved by thorpej.
@
text
@a0 109
#	$NetBSD: Makefile,v 1.1.2.1 2000/08/26 00:05:15 mrg Exp $

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

#
# Override normal settings
#

WARNS=		0

PROG?=		ofwboot
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c vers.c
.PATH:		${S}/arch/sparc64/sparc64

.if CROSS
CEXTRAFLAGS?=	-nostdinc
.else
CEXTRAFLAGS?=	-D_LP64
.endif
CWARNFLAGS+=	-Wno-main
CFLAGS+=	${COPTS} -D__ELF__ ${CEXTRAFLAGS}
CPPFLAGS+=	-D_STANDALONE
#CPPFLAGS+=	-DNETIF_DEBUG 

MKMAN=		no
STRIPFLAG=
BINMODE=	444
OBJCOPY?=	objcopy

NEWVERSWHAT=	"OpenFirmware Boot"

#
# Elf64 defaults to 1MB
#
# We may get address conflicts with other bootloaders, say
# Sun's ufsboot, so we'll pick a reasonably empty address.
#
RELOC=		800000

ENTRY=		_start

CLEANFILES+=	vers.c sparc machine

CPPFLAGS+=	-I${CURDIR}/../../.. -I${CURDIR}/../../../.. -I${CURDIR} -I.
CPPFLAGS+=	-DRELOC=0x${RELOC}

#
# XXXXX FIXME
#
CPPFLAGS+=	-DSPARC_BOOT_AOUT
CPPFLAGS+=	-DSPARC_BOOT_ELF
CPPFLAGS+=	-DSPARC_BOOT_UFS
CPPFLAGS+=	-DSPARC_BOOT_NFS
#CPPFLAGS+=	-DSPARC_BOOT_HSFS

### 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_USE_CREAD=yes
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

.NOPATH: machine sparc
${SRCS}: machine sparc

machine:
	rm -f machine
	ln -s ${.CURDIR}/../../../${MACHINE}/include machine

sparc:
	rm -f sparc
	ln -s ${.CURDIR}/../../../sparc/include sparc

vers.c: version
	sh ${.CURDIR}/../common/newvers.sh ${CURDIR}/version ${NEWVERSWHAT}

.if CROSS
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -N -p -Ttext ${RELOC} -e ${ENTRY} >lderr -o ${PROG} \
	    ${OBJS} -L${SADST} -lsa -L${ZDST} -lz -L${KERNDST} -lkern # solaris linker
.else
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -X -N -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
	    ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}	# native linker
.endif

.include <bsd.prog.mk>

.if CROSS
AFLAGS=		-x assembler-with-cpp -Wa,-Av9a -traditional-cpp -D_LOCORE -D__ELF__
.else
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__ -Wa,-Av9a ${CEXTRAFLAGS} #-Wa,-Av8plusa
.endif
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<
srt0.o: srt0.s
	${NORMAL_S}

# Explicit dependency for this.
boot.o: boot.c elfXX_exec.c
@


1.1.2.3
log
@"pull up" (via patch) fixes for sparc64 vs sparc boot blocks.  (this is
resolved on the trunk with newvers_stand.sh).  approved by thorpej.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2000/08/26 00:38:15 mrg Exp $
d85 1
a85 1
	MACHINE=${MACHINE} sh ${.CURDIR}/../common/newvers.sh ${CURDIR}/version ${NEWVERSWHAT}
@


1.1.4.1
log
@file Makefile was added on branch thorpej_scsipi on 2000-11-20 20:25:50 +0000
@
text
@d1 109
@


1.1.4.2
log
@Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
@
text
@a0 109
#	$NetBSD: Makefile,v 1.1.4.1 2000/11/20 20:25:50 bouyer Exp $

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

#
# Override normal settings
#

WARNS=		0

PROG?=		ofwboot
SRCS=		srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c vers.c
.PATH:		${S}/arch/sparc64/sparc64

.if CROSS
CEXTRAFLAGS?=	-nostdinc
.else
CEXTRAFLAGS?=	-D_LP64
.endif
CWARNFLAGS+=	-Wno-main
CFLAGS+=	${COPTS} -D__ELF__ ${CEXTRAFLAGS}
CPPFLAGS+=	-D_STANDALONE
#CPPFLAGS+=	-DNETIF_DEBUG 

MKMAN=		no
STRIPFLAG=
BINMODE=	444
OBJCOPY?=	objcopy

NEWVERSWHAT=	"OpenFirmware Boot"

#
# Elf64 defaults to 1MB
#
# We may get address conflicts with other bootloaders, say
# Sun's ufsboot, so we'll pick a reasonably empty address.
#
RELOC=		800000

ENTRY=		_start

CLEANFILES+=	vers.c sparc machine

CPPFLAGS+=	-I${CURDIR}/../../.. -I${CURDIR}/../../../.. -I${CURDIR} -I.
CPPFLAGS+=	-DRELOC=0x${RELOC}

#
# XXXXX FIXME
#
CPPFLAGS+=	-DSPARC_BOOT_AOUT
CPPFLAGS+=	-DSPARC_BOOT_ELF
CPPFLAGS+=	-DSPARC_BOOT_UFS
CPPFLAGS+=	-DSPARC_BOOT_NFS
#CPPFLAGS+=	-DSPARC_BOOT_HSFS

### 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_USE_CREAD=yes
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

.NOPATH: machine sparc
${SRCS}: machine sparc

machine:
	rm -f machine
	ln -s ${.CURDIR}/../../../${MACHINE}/include machine

sparc:
	rm -f sparc
	ln -s ${.CURDIR}/../../../sparc/include sparc

vers.c: version
	sh ${S}/conf/newvers_stand.sh ${CURDIR}/version "sparc64" ${NEWVERSWHAT}

.if CROSS
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -N -p -Ttext ${RELOC} -e ${ENTRY} >lderr -o ${PROG} \
	    ${OBJS} -L${SADST} -lsa -L${ZDST} -lz -L${KERNDST} -lkern # solaris linker
.else
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	${LD} -X -N -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
	    ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}	# native linker
.endif

.include <bsd.prog.mk>

.if CROSS
AFLAGS=		-x assembler-with-cpp -Wa,-Av9a -traditional-cpp -D_LOCORE -D__ELF__
.else
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__ -Wa,-Av9a ${CEXTRAFLAGS} #-Wa,-Av8plusa
.endif
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<
srt0.o: srt0.s
	${NORMAL_S}

# Explicit dependency for this.
boot.o: boot.c elfXX_exec.c
@


1.1.4.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.4.2 2001/03/12 13:29:27 bouyer Exp $
d16 5
d22 2
a23 2
CFLAGS+=	${COPTS} ${CEXTRAFLAGS}
CPPFLAGS+=	-D_STANDALONE -DSUN4U
d73 2
a74 2
.NOPATH: machine sparc64
${SRCS}: machine sparc64
d78 1
a78 1
	ln -s sparc64 machine
d80 3
a82 3
sparc64:
	rm -f sparc64
	ln -s ${.CURDIR}/../../../sparc64/include sparc64
a98 7
.if ${MACHINE_ARCH} == "sparc64"
AFLAGS+=		-Wa,-Av9a
CEXTRAFLAGS?=		-D_LP64
.else
AFLAGS+=		-Wa,-Av8plusa
.endif

d100 1
a100 2
AFLAGS+=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__
CEXTRAFLAGS?=		-D_LP64
d102 1
a102 1
AFLAGS+=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -D__ELF__ ${CEXTRAFLAGS}
a103 1

@
