head	1.86;
access;
symbols
	netbsd-11-0-RC6:1.85
	netbsd-11-0-RC5:1.85
	netbsd-11-0-RC4:1.85
	netbsd-11-0-RC3:1.85
	netbsd-11-0-RC2:1.85
	netbsd-11-0-RC1:1.85
	perseant-exfatfs-base-20250801:1.85
	netbsd-11:1.85.0.38
	netbsd-11-base:1.85
	netbsd-10-1-RELEASE:1.85
	perseant-exfatfs-base-20240630:1.85
	perseant-exfatfs:1.85.0.36
	perseant-exfatfs-base:1.85
	netbsd-8-3-RELEASE:1.82
	netbsd-9-4-RELEASE:1.85
	netbsd-10-0-RELEASE:1.85
	netbsd-10-0-RC6:1.85
	netbsd-10-0-RC5:1.85
	netbsd-10-0-RC4:1.85
	netbsd-10-0-RC3:1.85
	netbsd-10-0-RC2:1.85
	thorpej-ifq:1.85.0.34
	thorpej-ifq-base:1.85
	thorpej-altq-separation:1.85.0.32
	thorpej-altq-separation-base:1.85
	netbsd-10-0-RC1:1.85
	netbsd-10:1.85.0.30
	netbsd-10-base:1.85
	bouyer-sunxi-drm:1.85.0.28
	bouyer-sunxi-drm-base:1.85
	netbsd-9-3-RELEASE:1.85
	thorpej-i2c-spi-conf2:1.85.0.26
	thorpej-i2c-spi-conf2-base:1.85
	thorpej-futex2:1.85.0.24
	thorpej-futex2-base:1.85
	thorpej-cfargs2:1.85.0.22
	thorpej-cfargs2-base:1.85
	cjep_sun2x-base1:1.85
	cjep_sun2x:1.85.0.20
	cjep_sun2x-base:1.85
	cjep_staticlib_x-base1:1.85
	netbsd-9-2-RELEASE:1.85
	cjep_staticlib_x:1.85.0.18
	cjep_staticlib_x-base:1.85
	thorpej-i2c-spi-conf:1.85.0.16
	thorpej-i2c-spi-conf-base:1.85
	thorpej-cfargs:1.85.0.14
	thorpej-cfargs-base:1.85
	thorpej-futex:1.85.0.12
	thorpej-futex-base:1.85
	netbsd-9-1-RELEASE:1.85
	bouyer-xenpvh-base2:1.85
	phil-wifi-20200421:1.85
	bouyer-xenpvh-base1:1.85
	phil-wifi-20200411:1.85
	bouyer-xenpvh:1.85.0.10
	bouyer-xenpvh-base:1.85
	is-mlppp:1.85.0.8
	is-mlppp-base:1.85
	phil-wifi-20200406:1.85
	netbsd-8-2-RELEASE:1.82
	ad-namecache-base3:1.85
	netbsd-9-0-RELEASE:1.85
	netbsd-9-0-RC2:1.85
	ad-namecache-base2:1.85
	ad-namecache-base1:1.85
	ad-namecache:1.85.0.6
	ad-namecache-base:1.85
	netbsd-9-0-RC1:1.85
	phil-wifi-20191119:1.85
	netbsd-9:1.85.0.4
	netbsd-9-base:1.85
	phil-wifi-20190609:1.85
	netbsd-8-1-RELEASE:1.82
	netbsd-8-1-RC1:1.82
	isaki-audio2:1.85.0.2
	isaki-audio2-base:1.85
	pgoyette-compat-merge-20190127:1.84.2.1
	pgoyette-compat-20190127:1.85
	pgoyette-compat-20190118:1.85
	pgoyette-compat-1226:1.85
	pgoyette-compat-1126:1.85
	pgoyette-compat-1020:1.85
	pgoyette-compat-0930:1.85
	pgoyette-compat-0906:1.84
	netbsd-7-2-RELEASE:1.74
	pgoyette-compat-0728:1.84
	netbsd-8-0-RELEASE:1.82
	phil-wifi:1.84.0.4
	phil-wifi-base:1.84
	pgoyette-compat-0625:1.84
	netbsd-8-0-RC2:1.82
	pgoyette-compat-0521:1.84
	pgoyette-compat-0502:1.84
	pgoyette-compat-0422:1.84
	netbsd-8-0-RC1:1.82
	pgoyette-compat-0415:1.84
	pgoyette-compat-0407:1.84
	pgoyette-compat-0330:1.84
	pgoyette-compat-0322:1.84
	pgoyette-compat-0315:1.84
	netbsd-7-1-2-RELEASE:1.74
	pgoyette-compat:1.84.0.2
	pgoyette-compat-base:1.84
	netbsd-7-1-1-RELEASE:1.74
	tls-maxphys-base-20171202:1.82
	matt-nb8-mediatek:1.82.0.14
	matt-nb8-mediatek-base:1.82
	nick-nhusb-base-20170825:1.82
	perseant-stdc-iso10646:1.82.0.12
	perseant-stdc-iso10646-base:1.82
	netbsd-8:1.82.0.10
	netbsd-8-base:1.82
	prg-localcount2-base3:1.82
	prg-localcount2-base2:1.82
	prg-localcount2-base1:1.82
	prg-localcount2:1.82.0.8
	prg-localcount2-base:1.82
	pgoyette-localcount-20170426:1.82
	bouyer-socketcan-base1:1.82
	jdolecek-ncq:1.82.0.6
	jdolecek-ncq-base:1.82
	pgoyette-localcount-20170320:1.82
	netbsd-7-1:1.74.0.10
	netbsd-7-1-RELEASE:1.74
	netbsd-7-1-RC2:1.74
	nick-nhusb-base-20170204:1.82
	netbsd-7-nhusb-base-20170116:1.74
	bouyer-socketcan:1.82.0.4
	bouyer-socketcan-base:1.82
	pgoyette-localcount-20170107:1.82
	netbsd-7-1-RC1:1.74
	nick-nhusb-base-20161204:1.82
	pgoyette-localcount-20161104:1.82
	netbsd-7-0-2-RELEASE:1.74
	nick-nhusb-base-20161004:1.82
	localcount-20160914:1.82
	netbsd-7-nhusb:1.74.0.8
	netbsd-7-nhusb-base:1.74
	pgoyette-localcount-20160806:1.82
	pgoyette-localcount-20160726:1.82
	pgoyette-localcount:1.82.0.2
	pgoyette-localcount-base:1.82
	nick-nhusb-base-20160907:1.82
	nick-nhusb-base-20160529:1.82
	netbsd-7-0-1-RELEASE:1.74
	nick-nhusb-base-20160422:1.82
	nick-nhusb-base-20160319:1.81
	nick-nhusb-base-20151226:1.80
	netbsd-7-0:1.74.0.6
	netbsd-7-0-RELEASE:1.74
	nick-nhusb-base-20150921:1.80
	netbsd-7-0-RC3:1.74
	netbsd-7-0-RC2:1.74
	netbsd-7-0-RC1:1.74
	nick-nhusb-base-20150606:1.75
	nick-nhusb-base-20150406:1.75
	nick-nhusb:1.75.0.2
	nick-nhusb-base:1.75
	netbsd-5-2-3-RELEASE:1.67.4.2
	netbsd-5-1-5-RELEASE:1.67.4.1.2.1
	netbsd-6-0-6-RELEASE:1.70.12.1
	netbsd-6-1-5-RELEASE:1.70.12.1
	netbsd-7:1.74.0.4
	netbsd-7-base:1.74
	yamt-pagecache-base9:1.74
	yamt-pagecache-tag8:1.70.6.1
	netbsd-6-1-4-RELEASE:1.70.12.1
	netbsd-6-0-5-RELEASE:1.70.12.1
	tls-earlyentropy:1.74.0.2
	tls-earlyentropy-base:1.74
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.74
	riastradh-drm2-base3:1.74
	netbsd-6-1-3-RELEASE:1.70.12.1
	netbsd-6-0-4-RELEASE:1.70.12.1
	netbsd-5-2-2-RELEASE:1.67.4.2
	netbsd-5-1-4-RELEASE:1.67.4.1.2.1
	netbsd-6-1-2-RELEASE:1.70.12.1
	netbsd-6-0-3-RELEASE:1.70.12.1
	netbsd-5-2-1-RELEASE:1.67.4.2
	netbsd-5-1-3-RELEASE:1.67.4.1.2.1
	rmind-smpnet-nbase:1.74
	netbsd-6-1-1-RELEASE:1.70.12.1
	riastradh-drm2-base2:1.73
	riastradh-drm2-base1:1.73
	riastradh-drm2:1.73.0.8
	riastradh-drm2-base:1.73
	rmind-smpnet:1.73.0.6
	rmind-smpnet-base:1.74
	netbsd-6-1:1.70.12.1.0.6
	netbsd-6-0-2-RELEASE:1.70.12.1
	netbsd-6-1-RELEASE:1.70.12.1
	khorben-n900:1.73.0.4
	netbsd-6-1-RC4:1.70.12.1
	netbsd-6-1-RC3:1.70.12.1
	agc-symver:1.73.0.2
	agc-symver-base:1.73
	netbsd-6-1-RC2:1.70.12.1
	netbsd-6-1-RC1:1.70.12.1
	yamt-pagecache-base8:1.71
	netbsd-5-2:1.67.4.2.0.2
	netbsd-6-0-1-RELEASE:1.70.12.1
	yamt-pagecache-base7:1.71
	netbsd-5-2-RELEASE:1.67.4.2
	netbsd-5-2-RC1:1.67.4.2
	matt-nb6-plus-nbase:1.70.12.1
	yamt-pagecache-base6:1.71
	netbsd-6-0:1.70.12.1.0.4
	netbsd-6-0-RELEASE:1.70.12.1
	netbsd-6-0-RC2:1.70.12.1
	tls-maxphys:1.71.0.2
	tls-maxphys-base:1.74
	matt-nb6-plus:1.70.12.1.0.2
	matt-nb6-plus-base:1.70.12.1
	netbsd-6-0-RC1:1.70.12.1
	jmcneill-usbmp-base10:1.71
	yamt-pagecache-base5:1.71
	jmcneill-usbmp-base9:1.71
	yamt-pagecache-base4:1.71
	jmcneill-usbmp-base8:1.71
	jmcneill-usbmp-base7:1.71
	jmcneill-usbmp-base6:1.71
	jmcneill-usbmp-base5:1.70
	jmcneill-usbmp-base4:1.71
	jmcneill-usbmp-base3:1.70
	jmcneill-usbmp-pre-base2:1.70
	jmcneill-usbmp-base2:1.70
	netbsd-6:1.70.0.12
	netbsd-6-base:1.70
	netbsd-5-1-2-RELEASE:1.67.4.1
	netbsd-5-1-1-RELEASE:1.67.4.1
	jmcneill-usbmp:1.70.0.10
	jmcneill-usbmp-base:1.70
	jmcneill-audiomp3:1.70.0.8
	jmcneill-audiomp3-base:1.70
	yamt-pagecache-base3:1.70
	yamt-pagecache-base2:1.70
	yamt-pagecache:1.70.0.6
	yamt-pagecache-base:1.70
	rmind-uvmplock-nbase:1.70
	cherry-xenmp:1.70.0.4
	cherry-xenmp-base:1.70
	uebayasi-xip-base7:1.70
	bouyer-quota2-nbase:1.70
	bouyer-quota2:1.70.0.2
	bouyer-quota2-base:1.70
	jruoho-x86intr:1.69.0.2
	jruoho-x86intr-base:1.69
	matt-mips64-premerge-20101231:1.69
	matt-nb5-mips64-premerge-20101231:1.67.10.1
	matt-nb5-pq3:1.67.4.1.0.4
	matt-nb5-pq3-base:1.67.4.1
	netbsd-5-1:1.67.4.1.0.2
	uebayasi-xip-base6:1.69
	uebayasi-xip-base5:1.69
	netbsd-5-1-RELEASE:1.67.4.1
	uebayasi-xip-base4:1.69
	uebayasi-xip-base3:1.69
	yamt-nfs-mp-base11:1.69
	netbsd-5-1-RC4:1.67.4.1
	matt-nb5-mips64-k15:1.67.10.1
	uebayasi-xip-base2:1.69
	yamt-nfs-mp-base10:1.69
	netbsd-5-1-RC3:1.67.4.1
	netbsd-5-1-RC2:1.67.4.1
	uebayasi-xip-base1:1.68
	netbsd-5-1-RC1:1.67.4.1
	rmind-uvmplock:1.68.0.6
	rmind-uvmplock-base:1.70
	yamt-nfs-mp-base9:1.68
	uebayasi-xip:1.68.0.4
	uebayasi-xip-base:1.68
	netbsd-5-0-2-RELEASE:1.67
	matt-nb5-mips64-premerge-20091211:1.67
	matt-premerge-20091211:1.68
	yamt-nfs-mp-base8:1.68
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.67
	matt-nb4-mips64-k7-u2a-k9b:1.67
	matt-nb5-mips64-u1-k1-k5:1.67
	yamt-nfs-mp-base7:1.68
	matt-nb5-mips64:1.67.0.10
	netbsd-5-0-1-RELEASE:1.67
	jymxensuspend-base:1.68
	yamt-nfs-mp-base6:1.68
	yamt-nfs-mp-base5:1.68
	yamt-nfs-mp-base4:1.68
	jym-xensuspend-nbase:1.70
	yamt-nfs-mp-base3:1.68
	nick-hppapmap-base4:1.68
	nick-hppapmap-base3:1.68
	netbsd-5-0:1.67.0.8
	netbsd-5-0-RELEASE:1.67
	netbsd-5-0-RC4:1.67
	netbsd-5-0-RC3:1.67
	nick-hppapmap-base2:1.68
	netbsd-5-0-RC2:1.67
	jym-xensuspend:1.68.0.2
	jym-xensuspend-base:1.70
	netbsd-5-0-RC1:1.67
	haad-dm-base2:1.68
	haad-nbase2:1.68
	ad-audiomp2:1.67.0.6
	ad-audiomp2-base:1.67
	netbsd-5:1.67.0.4
	netbsd-5-base:1.67
	nick-hppapmap:1.67.0.2
	nick-hppapmap-base:1.68
	matt-mips64-base2:1.67
	haad-dm-base1:1.67
	wrstuden-revivesa-base-4:1.67
	netbsd-4-0-1-RELEASE:1.62.12.1
	wrstuden-revivesa-base-3:1.67
	wrstuden-revivesa-base-2:1.67
	wrstuden-fixsa-newbase:1.62.12.1
	nick-csl-alignment-base5:1.63
	haad-dm:1.66.0.16
	haad-dm-base:1.68
	wrstuden-revivesa-base-1:1.66
	simonb-wapbl-nbase:1.66
	yamt-pf42-base4:1.66
	simonb-wapbl:1.66.0.14
	simonb-wapbl-base:1.66
	yamt-pf42-base3:1.66
	hpcarm-cleanup-nbase:1.66
	yamt-pf42-baseX:1.66
	yamt-pf42-base2:1.66
	yamt-nfs-mp-base2:1.66
	wrstuden-revivesa:1.66.0.12
	wrstuden-revivesa-base:1.66
	yamt-nfs-mp:1.66.0.10
	yamt-nfs-mp-base:1.66
	yamt-pf42:1.66.0.8
	yamt-pf42-base:1.66
	ad-socklock-base1:1.66
	yamt-lazymbuf-base15:1.66
	yamt-lazymbuf-base14:1.66
	keiichi-mipv6-nbase:1.66
	mjf-devfs2:1.66.0.6
	mjf-devfs2-base:1.68
	nick-net80211-sync:1.66.0.4
	nick-net80211-sync-base:1.66
	keiichi-mipv6:1.66.0.2
	keiichi-mipv6-base:1.66
	bouyer-xeni386-merge1:1.64
	matt-armv6-prevmlocking:1.63.10.1
	wrstuden-fixsa-base-1:1.62.12.1
	vmlocking2-base3:1.64
	netbsd-4-0:1.62.12.1.0.4
	netbsd-4-0-RELEASE:1.62.12.1
	bouyer-xeni386-nbase:1.64
	yamt-kmem-base3:1.64
	cube-autoconf:1.64.0.10
	cube-autoconf-base:1.64
	yamt-kmem-base2:1.64
	bouyer-xeni386:1.64.0.8
	bouyer-xeni386-base:1.64
	yamt-kmem:1.64.0.6
	yamt-kmem-base:1.64
	vmlocking2-base2:1.64
	reinoud-bufcleanup-nbase:1.64
	vmlocking2:1.64.0.4
	vmlocking2-base1:1.64
	netbsd-4-0-RC5:1.62.12.1
	matt-nb4-arm:1.62.12.1.0.2
	matt-nb4-arm-base:1.62.12.1
	matt-armv6-nbase:1.66
	jmcneill-base:1.64
	netbsd-4-0-RC4:1.62.12.1
	mjf-devfs:1.64.0.2
	mjf-devfs-base:1.66
	bouyer-xenamd64-base2:1.64
	vmlocking-nbase:1.64
	yamt-x86pmap-base4:1.64
	bouyer-xenamd64:1.63.0.14
	bouyer-xenamd64-base:1.64
	netbsd-4-0-RC3:1.62.12.1
	yamt-x86pmap-base3:1.63
	yamt-x86pmap-base2:1.63
	netbsd-4-0-RC2:1.62.12.1
	yamt-x86pmap:1.63.0.12
	yamt-x86pmap-base:1.63
	netbsd-4-0-RC1:1.62.12.1
	matt-armv6:1.63.0.10
	matt-armv6-base:1.64
	jmcneill-pm:1.63.0.8
	jmcneill-pm-base:1.64
	hpcarm-cleanup:1.63.0.6
	hpcarm-cleanup-base:1.66
	nick-csl-alignment:1.63.0.4
	nick-csl-alignment-base:1.63
	matt-mips64:1.63.0.2
	matt-mips64-base:1.63
	netbsd-3-1-1-RELEASE:1.55
	netbsd-3-0-3-RELEASE:1.55
	yamt-idlelwp-base8:1.62
	wrstuden-fixsa:1.62.0.28
	wrstuden-fixsa-base:1.62.12.1
	ppcoea-renovation:1.62.0.26
	ppcoea-renovation-base:1.63
	thorpej-atomic:1.62.0.24
	thorpej-atomic-base:1.62
	reinoud-bufcleanup:1.62.0.22
	reinoud-bufcleanup-base:1.64
	mjf-ufs-trans:1.62.0.20
	mjf-ufs-trans-base:1.63
	vmlocking:1.62.0.18
	vmlocking-base:1.63
	ad-audiomp:1.62.0.16
	ad-audiomp-base:1.62
	yamt-idlelwp:1.62.0.14
	post-newlock2-merge:1.62
	newlock2-nbase:1.62
	yamt-splraiseipl-base5:1.62
	yamt-splraiseipl-base4:1.62
	yamt-splraiseipl-base3:1.62
	abandoned-netbsd-4-base:1.62
	abandoned-netbsd-4:1.62.0.6
	netbsd-3-1:1.55.0.14
	netbsd-3-1-RELEASE:1.55
	netbsd-3-0-2-RELEASE:1.55
	yamt-splraiseipl-base2:1.62
	netbsd-3-1-RC4:1.55
	yamt-splraiseipl:1.62.0.10
	yamt-splraiseipl-base:1.62
	netbsd-3-1-RC3:1.55
	yamt-pdpolicy-base9:1.62
	newlock2:1.62.0.8
	newlock2-base:1.62
	yamt-pdpolicy-base8:1.62
	netbsd-3-1-RC2:1.55
	netbsd-3-1-RC1:1.55
	yamt-pdpolicy-base7:1.62
	netbsd-4:1.62.0.12
	netbsd-4-base:1.62
	yamt-pdpolicy-base6:1.62
	chap-midi-nbase:1.62
	netbsd-3-0-1-RELEASE:1.55
	gdamore-uart:1.62.0.4
	gdamore-uart-base:1.62
	simonb-timcounters-final:1.57.6.1
	yamt-pdpolicy-base5:1.62
	chap-midi:1.62.0.2
	chap-midi-base:1.62
	yamt-pdpolicy-base4:1.62
	yamt-pdpolicy-base3:1.60
	peter-altq-base:1.60
	peter-altq:1.60.0.2
	yamt-pdpolicy-base2:1.60
	elad-kernelauth-base:1.62
	elad-kernelauth:1.59.0.4
	yamt-pdpolicy:1.59.0.2
	yamt-pdpolicy-base:1.59
	yamt-uio_vmspace-base5:1.57
	simonb-timecounters:1.57.0.6
	simonb-timecounters-base:1.62
	rpaulo-netinet-merge-pcb:1.57.0.4
	rpaulo-netinet-merge-pcb-base:1.62
	yamt-uio_vmspace:1.57.0.2
	netbsd-3-0:1.55.0.12
	netbsd-3-0-RELEASE:1.55
	netbsd-3-0-RC6:1.55
	yamt-readahead-base3:1.56
	netbsd-3-0-RC5:1.55
	netbsd-3-0-RC4:1.55
	netbsd-3-0-RC3:1.55
	yamt-readahead-base2:1.56
	netbsd-3-0-RC2:1.55
	yamt-readahead-pervnode:1.56
	yamt-readahead-perfile:1.56
	yamt-readahead:1.56.0.8
	yamt-readahead-base:1.56
	netbsd-3-0-RC1:1.55
	yamt-vop-base3:1.56
	netbsd-2-0-3-RELEASE:1.54
	netbsd-2-1:1.54.4.1.0.2
	yamt-vop-base2:1.56
	thorpej-vnode-attr:1.56.0.6
	thorpej-vnode-attr-base:1.56
	netbsd-2-1-RELEASE:1.54.4.1
	yamt-vop:1.56.0.4
	yamt-vop-base:1.56
	netbsd-2-1-RC6:1.54.4.1
	netbsd-2-1-RC5:1.54.4.1
	netbsd-2-1-RC4:1.54.4.1
	netbsd-2-1-RC3:1.54.4.1
	netbsd-2-1-RC2:1.54.4.1
	netbsd-2-1-RC1:1.54.4.1
	yamt-lazymbuf:1.56.0.2
	yamt-km-base4:1.55
	netbsd-2-0-2-RELEASE:1.54
	yamt-km-base3:1.55
	netbsd-3:1.55.0.10
	netbsd-3-base:1.55
	yamt-km-base2:1.55
	yamt-km:1.55.0.6
	yamt-km-base:1.55
	kent-audio2:1.55.0.4
	kent-audio2-base:1.55
	netbsd-2-0-1-RELEASE:1.54
	kent-audio1-beforemerge:1.55
	netbsd-2:1.54.0.4
	netbsd-2-base:1.54
	kent-audio1:1.55.0.2
	kent-audio1-base:1.55
	netbsd-2-0-RELEASE:1.54
	netbsd-2-0-RC5:1.54
	netbsd-2-0-RC4:1.54
	netbsd-2-0-RC3:1.54
	netbsd-2-0-RC2:1.54
	netbsd-2-0-RC1:1.54
	netbsd-2-0:1.54.0.2
	netbsd-2-0-base:1.54
	netbsd-1-6-PATCH002-RELEASE:1.45
	netbsd-1-6-PATCH002:1.45
	netbsd-1-6-PATCH002-RC4:1.45
	netbsd-1-6-PATCH002-RC3:1.45
	netbsd-1-6-PATCH002-RC2:1.45
	netbsd-1-6-PATCH002-RC1:1.45
	ktrace-lwp:1.49.0.6
	ktrace-lwp-base:1.56
	netbsd-1-6-PATCH001:1.45
	netbsd-1-6-PATCH001-RELEASE:1.45
	netbsd-1-6-PATCH001-RC3:1.45
	netbsd-1-6-PATCH001-RC2:1.45
	netbsd-1-6-PATCH001-RC1:1.45
	nathanw_sa_end:1.42.2.7
	nathanw_sa_before_merge:1.49
	fvdl_fs64_base:1.49
	gmcgarry_ctxsw:1.49.0.4
	gmcgarry_ctxsw_base:1.49
	gmcgarry_ucred:1.49.0.2
	gmcgarry_ucred_base:1.49
	nathanw_sa_base:1.49
	kqueue-aftermerge:1.48
	kqueue-beforemerge:1.48
	netbsd-1-6-RELEASE:1.45
	netbsd-1-6-RC3:1.45
	netbsd-1-6-RC2:1.45
	netbsd-1-6-RC1:1.45
	netbsd-1-6:1.45.0.6
	netbsd-1-6-base:1.45
	gehenna-devsw:1.45.0.4
	gehenna-devsw-base:1.47
	netbsd-1-5-PATCH003:1.26.2.3
	eeh-devprop:1.45.0.2
	eeh-devprop-base:1.45
	newlock:1.44.0.4
	newlock-base:1.44
	ifpoll-base:1.44
	nathanw_sa:1.42.0.2
	thorpej-mips-cache:1.39.0.2
	thorpej-mips-cache-base:1.42
	thorpej-devvp-base3:1.38
	thorpej-devvp-base2:1.38
	post-chs-ubcperf:1.38
	pre-chs-ubcperf:1.38
	thorpej-devvp:1.38.0.2
	thorpej-devvp-base:1.38
	netbsd-1-5-PATCH002:1.26.2.3
	kqueue:1.37.0.2
	kqueue-base:1.48
	netbsd-1-5-PATCH001:1.26.2.3
	thorpej_scsipi_beforemerge:1.36
	thorpej_scsipi_nbase:1.36
	netbsd-1-5-RELEASE:1.26.2.3
	netbsd-1-5-BETA2:1.26.2.3
	netbsd-1-5-BETA:1.26.2.3
	netbsd-1-4-PATCH003:1.8
	netbsd-1-5-ALPHA2:1.26.2.2
	mrg-merge-1-5-top:1.26
	netbsd-1-5:1.26.0.2
	netbsd-1-5-base:1.26
	minoura-xpg4dl-base:1.23
	minoura-xpg4dl:1.23.0.2
	netbsd-1-4-PATCH002:1.8
	chs-ubc2-newbase:1.19
	wrstuden-devbsize-19991221:1.13
	wrstuden-devbsize:1.12.0.8
	wrstuden-devbsize-base:1.13
	kame_141_19991130:1.8
	comdex-fall-1999:1.12.0.6
	comdex-fall-1999-base:1.12
	fvdl-softdep:1.12.0.4
	fvdl-softdep-base:1.12
	thorpej_scsipi:1.12.0.2
	thorpej_scsipi_base:1.36
	netbsd-1-4-PATCH001:1.8
	kame_14_19990705:1.8
	kame_14_19990628:1.8
	kame:1.8.0.6
	chs-ubc2:1.8.0.4
	chs-ubc2-base:1.12
	netbsd-1-4-RELEASE:1.8
	netbsd-1-4:1.8.0.2
	netbsd-1-4-base:1.8
	kenh-if-detach:1.6.0.4
	kenh-if-detach-base:1.6
	chs-ubc:1.6.0.2
	chs-ubc-base:1.6
	PMAP32:1.4
	eeh-paddr_t:1.1.1.1.0.2
	eeh-paddr_t-base:1.1.1.1
	eeh-19980609:1.1.1.1
	eeh:1.1.1;
locks; strict;
comment	@# @;


1.86
date	2026.03.10.01.26.17;	author gutteridge;	state Exp;
branches;
next	1.85;
commitid	qSChdRZTtm7ZOmxG;

1.85
date	2018.09.22.12.24.03;	author rin;	state Exp;
branches;
next	1.84;
commitid	oPiNEJ7VnAF626TA;

1.84
date	2017.12.10.14.29.47;	author christos;	state Exp;
branches
	1.84.2.1
	1.84.4.1;
next	1.83;
commitid	d9aiTEWUrGjBYliA;

1.83
date	2017.12.04.09.44.33;	author martin;	state Exp;
branches;
next	1.82;
commitid	yXU0q1fjLdIwAyhA;

1.82
date	2016.03.19.18.50.25;	author martin;	state Exp;
branches;
next	1.81;

1.81
date	2016.02.27.19.26.14;	author joerg;	state Exp;
branches;
next	1.80;

1.80
date	2015.08.31.08.00.44;	author martin;	state Exp;
branches;
next	1.79;

1.79
date	2015.08.30.18.20.27;	author martin;	state Exp;
branches;
next	1.78;

1.78
date	2015.08.24.14.04.25;	author uebayasi;	state Exp;
branches;
next	1.77;

1.77
date	2015.08.18.10.00.11;	author uebayasi;	state Exp;
branches;
next	1.76;

1.76
date	2015.08.18.08.39.12;	author uebayasi;	state Exp;
branches;
next	1.75;

1.75
date	2014.11.15.12.41.36;	author uebayasi;	state Exp;
branches
	1.75.2.1;
next	1.74;

1.74
date	2014.02.21.20.45.12;	author joerg;	state Exp;
branches;
next	1.73;

1.73
date	2013.03.19.19.59.40;	author christos;	state Exp;
branches
	1.73.6.1;
next	1.72;

1.72
date	2013.03.10.07.18.21;	author christos;	state Exp;
branches;
next	1.71;

1.71
date	2012.03.03.03.21.16;	author nakayama;	state Exp;
branches
	1.71.2.1;
next	1.70;

1.70
date	2011.01.17.18.11.10;	author joerg;	state Exp;
branches
	1.70.6.1
	1.70.10.1
	1.70.12.1;
next	1.69;

1.69
date	2010.05.23.18.49.14;	author martin;	state Exp;
branches
	1.69.2.1;
next	1.68;

1.68
date	2008.12.11.05.27.42;	author alc;	state Exp;
branches
	1.68.4.1
	1.68.6.1;
next	1.67;

1.67
date	2008.08.30.13.23.55;	author martin;	state Exp;
branches
	1.67.2.1
	1.67.4.1
	1.67.8.1
	1.67.10.1;
next	1.66;

1.66
date	2008.02.18.15.02.20;	author joerg;	state Exp;
branches
	1.66.6.1
	1.66.10.1
	1.66.12.1
	1.66.16.1;
next	1.65;

1.65
date	2008.01.25.21.12.13;	author joerg;	state Exp;
branches;
next	1.64;

1.64
date	2007.10.17.19.57.27;	author garbled;	state Exp;
branches
	1.64.2.1;
next	1.63;

1.63
date	2007.06.04.04.53.44;	author chs;	state Exp;
branches
	1.63.10.1;
next	1.62;

1.62
date	2006.04.04.03.13.12;	author gdamore;	state Exp;
branches
	1.62.12.1
	1.62.18.1
	1.62.20.1
	1.62.26.1
	1.62.28.1;
next	1.61;

1.61
date	2006.04.02.05.52.14;	author gdamore;	state Exp;
branches;
next	1.60;

1.60
date	2006.03.08.17.06.07;	author dyoung;	state Exp;
branches
	1.60.2.1;
next	1.59;

1.59
date	2006.03.03.14.55.14;	author he;	state Exp;
branches
	1.59.2.1
	1.59.4.1;
next	1.58;

1.58
date	2006.03.02.10.44.33;	author martin;	state Exp;
branches;
next	1.57;

1.57
date	2005.12.11.12.19.08;	author christos;	state Exp;
branches
	1.57.4.1
	1.57.6.1;
next	1.56;

1.56
date	2005.05.31.04.03.11;	author christos;	state Exp;
branches
	1.56.2.1;
next	1.55;

1.55
date	2004.06.04.04.45.51;	author thorpej;	state Exp;
branches;
next	1.54;

1.54
date	2004.03.22.00.43.37;	author martin;	state Exp;
branches
	1.54.4.1;
next	1.53;

1.53
date	2004.03.21.13.12.30;	author martin;	state Exp;
branches;
next	1.52;

1.52
date	2003.11.09.11.24.38;	author martin;	state Exp;
branches;
next	1.51;

1.51
date	2003.10.27.05.49.15;	author christos;	state Exp;
branches;
next	1.50;

1.50
date	2003.09.19.16.35.31;	author martin;	state Exp;
branches;
next	1.49;

1.49
date	2002.11.26.18.51.17;	author thorpej;	state Exp;
branches
	1.49.6.1;
next	1.48;

1.48
date	2002.09.06.06.16.57;	author jdolecek;	state Exp;
branches;
next	1.47;

1.47
date	2002.07.20.11.48.17;	author mrg;	state Exp;
branches;
next	1.46;

1.46
date	2002.06.04.21.39.12;	author thorpej;	state Exp;
branches;
next	1.45;

1.45
date	2002.03.19.18.10.33;	author eeh;	state Exp;
branches
	1.45.4.1;
next	1.44;

1.44
date	2001.12.09.05.00.51;	author atatat;	state Exp;
branches;
next	1.43;

1.43
date	2001.11.20.12.56.39;	author lukem;	state Exp;
branches;
next	1.42;

1.42
date	2001.10.26.06.45.40;	author jmc;	state Exp;
branches
	1.42.2.1;
next	1.41;

1.41
date	2001.10.24.19.12.18;	author thorpej;	state Exp;
branches;
next	1.40;

1.40
date	2001.10.24.18.49.39;	author thorpej;	state Exp;
branches;
next	1.39;

1.39
date	2001.10.21.19.46.16;	author thorpej;	state Exp;
branches
	1.39.2.1;
next	1.38;

1.38
date	2001.07.19.23.31.06;	author eeh;	state Exp;
branches;
next	1.37;

1.37
date	2001.05.29.02.20.26;	author mrg;	state Exp;
branches
	1.37.2.1;
next	1.36;

1.36
date	2001.04.19.07.35.14;	author mrg;	state Exp;
branches;
next	1.35;

1.35
date	2001.03.04.10.11.56;	author mrg;	state Exp;
branches
	1.35.2.1;
next	1.34;

1.34
date	2001.02.28.15.17.48;	author mrg;	state Exp;
branches;
next	1.33;

1.33
date	2000.12.17.15.52.43;	author jdolecek;	state Exp;
branches;
next	1.32;

1.32
date	2000.12.04.16.01.18;	author fvdl;	state Exp;
branches;
next	1.31;

1.31
date	2000.09.28.19.56.15;	author eeh;	state Exp;
branches;
next	1.30;

1.30
date	2000.08.02.22.24.38;	author eeh;	state Exp;
branches;
next	1.29;

1.29
date	2000.07.24.04.54.16;	author mycroft;	state Exp;
branches;
next	1.28;

1.28
date	2000.07.24.04.45.49;	author mycroft;	state Exp;
branches;
next	1.27;

1.27
date	2000.07.24.04.39.01;	author mycroft;	state Exp;
branches;
next	1.26;

1.26
date	2000.06.19.23.30.32;	author eeh;	state Exp;
branches
	1.26.2.1;
next	1.25;

1.25
date	2000.06.09.15.28.21;	author eeh;	state Exp;
branches;
next	1.24;

1.24
date	2000.06.08.21.25.18;	author eeh;	state Exp;
branches;
next	1.23;

1.23
date	2000.05.09.00.56.27;	author hubertf;	state Exp;
branches
	1.23.2.1;
next	1.22;

1.22
date	2000.04.13.16.57.51;	author eeh;	state Exp;
branches;
next	1.21;

1.21
date	2000.04.13.09.23.38;	author mrg;	state Exp;
branches;
next	1.20;

1.20
date	2000.04.08.04.46.15;	author mrg;	state Exp;
branches;
next	1.19;

1.19
date	2000.01.31.22.47.11;	author eeh;	state Exp;
branches;
next	1.18;

1.18
date	2000.01.26.22.04.18;	author eeh;	state Exp;
branches;
next	1.17;

1.17
date	2000.01.24.20.36.17;	author tron;	state Exp;
branches;
next	1.16;

1.16
date	2000.01.19.16.30.01;	author tsutsui;	state Exp;
branches;
next	1.15;

1.15
date	2000.01.19.14.45.12;	author tsutsui;	state Exp;
branches;
next	1.14;

1.14
date	99.12.30.16.19.00;	author eeh;	state Exp;
branches;
next	1.13;

1.13
date	99.11.21.00.17.18;	author eeh;	state Exp;
branches;
next	1.12;

1.12
date	99.07.26.05.20.48;	author cgd;	state Exp;
branches
	1.12.2.1
	1.12.8.1;
next	1.11;

1.11
date	99.07.18.23.51.08;	author eeh;	state Exp;
branches;
next	1.10;

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

1.9
date	99.06.05.01.56.31;	author mrg;	state Exp;
branches;
next	1.8;

1.8
date	99.03.15.01.15.06;	author mrg;	state Exp;
branches
	1.8.4.1;
next	1.7;

1.7
date	99.01.08.19.26.15;	author augustss;	state Exp;
branches;
next	1.6;

1.6
date	98.10.15.18.37.16;	author drochner;	state Exp;
branches;
next	1.5;

1.5
date	98.09.02.05.51.35;	author eeh;	state Exp;
branches;
next	1.4;

1.4
date	98.08.26.10.31.36;	author mrg;	state Exp;
branches;
next	1.3;

1.3
date	98.08.13.02.10.40;	author eeh;	state Exp;
branches;
next	1.2;

1.2
date	98.07.30.13.34.09;	author mrg;	state Exp;
branches;
next	1.1;

1.1
date	98.06.20.04.58.50;	author eeh;	state Exp;
branches
	1.1.1.1;
next	;

1.84.2.1
date	2018.09.30.01.45.47;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.84.4.1
date	2019.06.10.22.06.47;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.75.2.1
date	2015.09.22.12.05.52;	author skrll;	state Exp;
branches;
next	1.75.2.2;

1.75.2.2
date	2016.03.19.11.30.05;	author skrll;	state Exp;
branches;
next	1.75.2.3;

1.75.2.3
date	2016.04.22.15.44.12;	author skrll;	state Exp;
branches;
next	;

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

1.71.2.1
date	2013.06.23.06.20.12;	author tls;	state Exp;
branches;
next	1.71.2.2;

1.71.2.2
date	2014.08.20.00.03.25;	author tls;	state Exp;
branches;
next	1.71.2.3;

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

1.70.6.1
date	2012.04.17.00.06.55;	author yamt;	state Exp;
branches;
next	1.70.6.2;

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

1.70.10.1
date	2012.03.04.00.46.12;	author mrg;	state Exp;
branches;
next	1.70.10.2;

1.70.10.2
date	2012.03.06.09.56.09;	author mrg;	state Exp;
branches;
next	1.70.10.3;

1.70.10.3
date	2012.03.06.18.26.38;	author mrg;	state Exp;
branches;
next	;

1.70.12.1
date	2012.03.05.20.59.25;	author sborrill;	state Exp;
branches;
next	;

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

1.68.4.1
date	2010.08.17.06.45.16;	author uebayasi;	state Exp;
branches;
next	;

1.68.6.1
date	2010.05.30.05.17.08;	author rmind;	state Exp;
branches;
next	1.68.6.2;

1.68.6.2
date	2011.03.05.20.52.05;	author rmind;	state Exp;
branches;
next	;

1.67.2.1
date	2009.01.19.13.16.47;	author skrll;	state Exp;
branches;
next	;

1.67.4.1
date	2009.08.07.18.33.48;	author snj;	state Exp;
branches
	1.67.4.1.2.1;
next	1.67.4.2;

1.67.4.2
date	2012.03.17.18.44.07;	author bouyer;	state Exp;
branches;
next	;

1.67.4.1.2.1
date	2012.03.17.18.46.29;	author bouyer;	state Exp;
branches;
next	;

1.67.8.1
date	2012.03.17.18.45.09;	author bouyer;	state Exp;
branches;
next	;

1.67.10.1
date	2010.04.21.00.33.48;	author matt;	state Exp;
branches;
next	;

1.66.6.1
date	2008.09.28.10.40.08;	author mjf;	state Exp;
branches;
next	1.66.6.2;

1.66.6.2
date	2009.01.17.13.28.31;	author mjf;	state Exp;
branches;
next	;

1.66.10.1
date	2009.05.04.08.11.57;	author yamt;	state Exp;
branches;
next	1.66.10.2;

1.66.10.2
date	2010.08.11.22.52.46;	author yamt;	state Exp;
branches;
next	;

1.66.12.1
date	2008.09.18.04.33.34;	author wrstuden;	state Exp;
branches;
next	;

1.66.16.1
date	2008.10.19.22.16.00;	author haad;	state Exp;
branches;
next	1.66.16.2;

1.66.16.2
date	2008.12.13.01.13.29;	author haad;	state Exp;
branches;
next	;

1.64.2.1
date	2008.02.18.21.05.06;	author mjf;	state Exp;
branches;
next	;

1.63.10.1
date	2007.11.06.23.22.40;	author matt;	state Exp;
branches;
next	1.63.10.2;

1.63.10.2
date	2008.03.23.02.04.23;	author matt;	state Exp;
branches;
next	;

1.62.12.1
date	2007.06.05.20.22.33;	author bouyer;	state Exp;
branches
	1.62.12.1.4.1;
next	1.62.12.2;

1.62.12.2
date	2012.03.17.19.40.40;	author bouyer;	state Exp;
branches;
next	;

1.62.12.1.4.1
date	2012.03.17.19.39.32;	author bouyer;	state Exp;
branches;
next	;

1.62.18.1
date	2007.06.09.23.55.27;	author ad;	state Exp;
branches;
next	;

1.62.20.1
date	2007.07.11.20.02.31;	author mjf;	state Exp;
branches;
next	;

1.62.26.1
date	2007.06.26.18.13.41;	author garbled;	state Exp;
branches;
next	;

1.62.28.1
date	2007.09.03.07.04.05;	author wrstuden;	state Exp;
branches;
next	;

1.60.2.1
date	2006.05.24.15.48.23;	author tron;	state Exp;
branches;
next	;

1.59.2.1
date	2006.03.13.09.07.02;	author yamt;	state Exp;
branches;
next	1.59.2.2;

1.59.2.2
date	2006.04.11.11.53.47;	author yamt;	state Exp;
branches;
next	;

1.59.4.1
date	2006.04.19.02.33.45;	author elad;	state Exp;
branches;
next	;

1.57.4.1
date	2006.09.09.02.43.35;	author rpaulo;	state Exp;
branches;
next	;

1.57.6.1
date	2006.04.22.11.37.59;	author simonb;	state Exp;
branches;
next	;

1.56.2.1
date	2006.06.21.14.56.40;	author yamt;	state Exp;
branches;
next	1.56.2.2;

1.56.2.2
date	2007.09.03.14.30.11;	author yamt;	state Exp;
branches;
next	1.56.2.3;

1.56.2.3
date	2008.02.04.09.22.32;	author yamt;	state Exp;
branches;
next	1.56.2.4;

1.56.2.4
date	2008.02.27.08.36.25;	author yamt;	state Exp;
branches;
next	;

1.54.4.1
date	2005.02.06.07.45.26;	author jmc;	state Exp;
branches;
next	;

1.49.6.1
date	2004.08.03.10.41.23;	author skrll;	state Exp;
branches;
next	1.49.6.2;

1.49.6.2
date	2004.09.18.14.41.04;	author skrll;	state Exp;
branches;
next	1.49.6.3;

1.49.6.3
date	2004.09.21.13.22.40;	author skrll;	state Exp;
branches;
next	1.49.6.4;

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

1.45.4.1
date	2002.07.15.01.21.38;	author gehenna;	state Exp;
branches;
next	1.45.4.2;

1.45.4.2
date	2002.08.31.14.52.27;	author gehenna;	state Exp;
branches;
next	;

1.42.2.1
date	2001.10.26.06.45.40;	author nathanw;	state dead;
branches;
next	1.42.2.2;

1.42.2.2
date	2002.01.08.00.27.57;	author nathanw;	state Exp;
branches;
next	1.42.2.3;

1.42.2.3
date	2002.04.01.07.42.57;	author nathanw;	state Exp;
branches;
next	1.42.2.4;

1.42.2.4
date	2002.06.20.03.41.17;	author nathanw;	state Exp;
branches;
next	1.42.2.5;

1.42.2.5
date	2002.08.01.02.43.34;	author nathanw;	state Exp;
branches;
next	1.42.2.6;

1.42.2.6
date	2002.09.17.21.17.53;	author nathanw;	state Exp;
branches;
next	1.42.2.7;

1.42.2.7
date	2002.12.11.06.12.20;	author thorpej;	state Exp;
branches;
next	;

1.39.2.1
date	2001.11.12.21.17.34;	author thorpej;	state Exp;
branches;
next	;

1.37.2.1
date	2001.08.03.04.12.25;	author lukem;	state Exp;
branches;
next	1.37.2.2;

1.37.2.2
date	2002.01.10.19.49.11;	author thorpej;	state Exp;
branches;
next	1.37.2.3;

1.37.2.3
date	2002.06.23.17.42.03;	author jdolecek;	state Exp;
branches;
next	1.37.2.4;

1.37.2.4
date	2002.09.06.08.41.22;	author jdolecek;	state Exp;
branches;
next	;

1.35.2.1
date	2001.06.21.19.35.36;	author nathanw;	state Exp;
branches;
next	;

1.26.2.1
date	2000.07.27.00.00.31;	author mycroft;	state Exp;
branches;
next	1.26.2.2;

1.26.2.2
date	2000.08.07.01.25.25;	author mrg;	state Exp;
branches;
next	1.26.2.3;

1.26.2.3
date	2000.10.18.16.31.27;	author tv;	state Exp;
branches;
next	;

1.23.2.1
date	2000.06.22.17.04.17;	author minoura;	state Exp;
branches;
next	;

1.12.2.1
date	2000.11.20.20.26.40;	author bouyer;	state Exp;
branches;
next	1.12.2.2;

1.12.2.2
date	2000.12.08.09.30.32;	author bouyer;	state Exp;
branches;
next	1.12.2.3;

1.12.2.3
date	2001.01.05.17.35.03;	author bouyer;	state Exp;
branches;
next	1.12.2.4;

1.12.2.4
date	2001.03.12.13.29.27;	author bouyer;	state Exp;
branches;
next	1.12.2.5;

1.12.2.5
date	2001.04.21.17.54.41;	author bouyer;	state Exp;
branches;
next	;

1.12.8.1
date	99.12.27.18.33.55;	author wrstuden;	state Exp;
branches;
next	;

1.8.4.1
date	99.06.21.01.02.28;	author thorpej;	state Exp;
branches;
next	1.8.4.2;

1.8.4.2
date	99.08.02.21.43.51;	author thorpej;	state Exp;
branches;
next	;

1.1.1.1
date	98.06.20.04.58.50;	author eeh;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	98.07.30.14.03.50;	author eeh;	state Exp;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	98.08.02.00.06.46;	author eeh;	state Exp;
branches;
next	;


desc
@@


1.86
log
@mk: drop old, now unused version of DTB generation

This was replaced by bsd.dtb.mk back in 2020.

Build-tested on evbarm-aarch64, evbarm-earmv7hf, riscv-riscv64, amd64,
and sparc64.
@
text
@# 	$NetBSD: Makefile.sparc64,v 1.85 2018/09/22 12:24:03 rin Exp $

#=========================================================================
#
#			***** WARNING ******
#
# ANYONE WHO CHANGES THIS MAKEFILE AND DOES NOT TEST BOTH A 32-BIT
# AND 64-BIT KERNEL WILL BE SHOT.
#
#=========================================================================


# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
#	config machineid
# Most changes should be made in the machine description
#	/sys/arch/sparc64/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/sparc64/conf/Makefile.sparc64
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"

# Default to 32-bit.  Set the MACHINE_ARCH accordingly.
#
# You must also be using the correct toolchain or the kernel build
# will fail.
#
LP64?=	no
.if ${LP64} == "yes"
MACHINE_ARCH=sparc64
.else
MACHINE_ARCH=sparc
.endif

USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

USE_SSP?=	yes

##
## (1) port identification
##
SPARC64=	$S/arch/sparc64
GENASSYM_CONF=	${SPARC64}/sparc64/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Dsparc64 -D__sparc64__
.if ${LP64} == "yes"
# 64-bit kernels
CPPFLAGS+=	-D_LP64 -Wa,-Av9a
CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
AFLAGS+=	-Wa,-Av9a
.if defined(PROF)
# Profiling is only supported in the medium low memory model.
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
CFLAGS+=	${${ACTIVE_CC} == "clang":? -mcmodel=small :}
.else
# Since the kernel resides in the lower 32 bits, use medium low for now anyway.
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
CFLAGS+=	${${ACTIVE_CC} == "clang":? -mcmodel=small :}
.endif
.else
# 32-bit kernels
CPPFLAGS+=	-m32 -Wa,-Av8plusa -mcpu=ultrasparc
CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
AFLAGS+=	-Wa,-Av8plusa
AFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
.endif
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mno-fpu :}
AFLAGS+=	-x assembler-with-cpp

##
## (3) libkern and compat
##
OPT_MODULAR=	%MODULAR%

##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS=	locore.o copy.o mp_subr.o
MD_CFILES=
MD_SFILES=	${SPARC64}/sparc64/locore.s ${SPARC64}/sparc64/copy.S \
	 ${SPARC64}/sparc64/mp_subr.S

locore.o: ${SPARC64}/sparc64/locore.s assym.h
	${NORMAL_S}

copy.o:	${SPARC64}/sparc64/copy.S assym.h
	${NORMAL_S}

mp_subr.o:	${SPARC64}/sparc64/mp_subr.S assym.h
	${NORMAL_S}

# Our libkern needs stuff from assym.h for memcpy and memset.
dependkernlib:	assym.h

##
## (5) link settings
##
TEXTADDR?=	01000000
.if ${LP64} == "yes"
KERNLDSCRIPT?= ${SPARC64}/conf/kern.ldscript
.else
KERNLDSCRIPT?= ${SPARC64}/conf/kern32.ldscript
.endif

##
## (6) port specific target dependencies
##

# depend on CPU configuration
bwtwo.o cgsix.o cgthree.o cgtwo.o cons.o dma.o esp.o fb.o if_ie.o: Makefile
ms.c obio.o zs.c autoconf.o clock.o cpu.o disksubr.o locore.o: Makefile
machdep.o mem.o openprom.o pmap.o vm_machdep.o: Makefile

cpu_in_cksum.o lock_stubs.o: assym.h

##
## (7) misc settings
##

# define .MAIN _before_ the make() check, so that implicit target
# would be defined
.MAIN: all

.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN::
	-@@rm -f sparc && \
		ln -s $S/arch/sparc/include sparc
.endif

##
## (8) config(8) generated machinery
##
%INCLUDES

%OBJS

%CFILES

%SFILES

%LOAD

%RULES

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"

##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND
@


1.85
log
@- Determine KERN_AS automatically depending on whether OPT_MODULAR is
  set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.84 2017/12/10 14:29:47 christos Exp $
a159 1
_SKIP_DTS=yes
@


1.84
log
@- Allow multiple .BEGIN targets
- Make their protection consistent
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.83 2017/12/04 09:44:33 martin Exp $
a85 5
.if !empty(OPT_MODULAR)
KERN_AS=	obj
.else
KERN_AS=	library
.endif
@


1.84.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.85 2018/09/22 12:24:03 rin Exp $
d86 5
@


1.84.2.1
log
@Ssync with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.85 2018/09/22 12:24:03 rin Exp $
d86 5
@


1.83
log
@We use .BEGIN for our own cleanup and won't ever need DTS support - so
avoid inclusion of dts.mk by defining _SKIP_DTS
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.82 2016/03/19 18:50:25 martin Exp $
d141 3
a143 3
.if make(depend) || make(all) || make(dependall)
.BEGIN:
	@@rm -f sparc && \
@


1.82
log
@Default kernel builds to USE_SSP=yes.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.81 2016/02/27 19:26:14 joerg Exp $
d165 1
@


1.81
log
@Ignore unused arguments for clang as we pass assembler flags and the
like to the preprocessor-only mode. Conditionalize GCC flags that are
not known to clang accordingly.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.80 2015/08/31 08:00:44 martin Exp $
d46 2
@


1.80
log
@Revert previous, not needed after sys/conf/Makefile.kern.inc rev. 1.215.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.79 2015/08/30 18:20:27 martin Exp $
d59 1
d73 1
d75 1
d77 1
a77 1
CFLAGS+=	-mno-fpu
@


1.79
log
@We preprocess .s files, so add ${INCLUDES} to AFLAGS
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.78 2015/08/24 14:04:25 uebayasi Exp $
d75 1
a75 1
AFLAGS+=	-x assembler-with-cpp ${INCLUDES}
@


1.78
log
@Define ${LINKSCRIPT} in one place.
@
text
@d1 1
a1 1
# 	$NetBSD$
d75 1
a75 1
AFLAGS+=	-x assembler-with-cpp
@


1.77
log
@Adjust paths to ${KERNLDSCRIPT} files so that dependency is resolved.
@
text
@a110 1
LINKSCRIPT=	-T ${KERNLDSCRIPT}
@


1.76
log
@Use ${KERNLDSCRIPT} instead of ${KERN_LDSCRIPT}.  The former is added
to ${SYSTEM_DEP} if defined.
@
text
@d111 1
a111 1
LINKSCRIPT=	-T ${SPARC64}/conf/${KERNLDSCRIPT}
d113 1
a113 1
KERNLDSCRIPT?= kern.ldscript
d115 1
a115 1
KERNLDSCRIPT?= kern32.ldscript
@


1.75
log
@Use LINKSCRIPT.
@
text
@d111 1
a111 1
LINKSCRIPT=	-T ${SPARC64}/conf/${KERN_LDSCRIPT}
d113 1
a113 1
KERN_LDSCRIPT?= kern.ldscript
d115 1
a115 1
KERN_LDSCRIPT?= kern32.ldscript
@


1.75.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.80 2015/08/31 08:00:44 martin Exp $
d111 1
d113 1
a113 1
KERNLDSCRIPT?= ${SPARC64}/conf/kern.ldscript
d115 1
a115 1
KERNLDSCRIPT?= ${SPARC64}/conf/kern32.ldscript
@


1.75.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.75.2.1 2015/09/22 12:05:52 skrll Exp $
a58 1
CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
a71 1
CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
a72 1
AFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
d74 1
a74 1
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mno-fpu :}
@


1.75.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.75.2.2 2016/03/19 11:30:05 skrll Exp $
a45 2
USE_SSP?=	yes

@


1.74
log
@Use code model small for LLVM, it should be equivalent to GCC's medlow.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.73 2013/03/19 19:59:40 christos Exp $
d111 1
a111 1
LINKFORMAT=	-T ${SPARC64}/conf/${KERN_LDSCRIPT}
@


1.73
log
@Need assym.h for libkern
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.72 2013/03/10 07:18:21 christos Exp $
d62 2
a63 1
CFLAGS+=	-mcmodel=medlow
d66 2
a67 1
CFLAGS+=	-mcmodel=medlow
@


1.73.6.1
log
@sync with head
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.73 2013/03/19 19:59:40 christos Exp $
d62 1
a62 2
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
CFLAGS+=	${${ACTIVE_CC} == "clang":? -mcmodel=small :}
d65 1
a65 2
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
CFLAGS+=	${${ACTIVE_CC} == "clang":? -mcmodel=small :}
@


1.72
log
@Explicitly set KERN_AS (this could be done in /usr/src/sys/conf/Makefile.*)
so that modules work, on config files that did not set it explicitly. All
the files now use the standard logic, except the ones that set KERN_AS=obj
and Makefile.usermode which sets KERN_AS=library.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.71 2012/03/03 03:21:16 nakayama Exp $
d102 3
@


1.71
log
@The hack has been resolved in the revision 1.340 of
sys/arch/sparc64/sparc64/locore.s.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.70 2011/01/17 18:11:10 joerg Exp $
d78 6
a83 1
# KERN_AS=	obj	# memcpy, memset, etc. are in locore.s
@


1.71.2.1
log
@resync from head
@
text
@d1 1
a1 1
# 	$NetBSD$
d78 1
a78 6
OPT_MODULAR=	%MODULAR%
.if !empty(OPT_MODULAR)
KERN_AS=	obj
.else
KERN_AS=	library
.endif
a96 3
# Our libkern needs stuff from assym.h for memcpy and memset.
dependkernlib:	assym.h

@


1.71.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d62 1
a62 2
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
CFLAGS+=	${${ACTIVE_CC} == "clang":? -mcmodel=small :}
d65 1
a65 2
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
CFLAGS+=	${${ACTIVE_CC} == "clang":? -mcmodel=small :}
@


1.71.2.3
log
@update from HEAD
@
text
@a45 2
USE_SSP?=	yes

a58 1
CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
a71 1
CPPFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
a72 1
AFLAGS+=	${${ACTIVE_CC} == "clang":? -Qunused-arguments :}
d74 1
a74 1
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mno-fpu :}
d111 1
d113 1
a113 1
KERNLDSCRIPT?= ${SPARC64}/conf/kern.ldscript
d115 1
a115 1
KERNLDSCRIPT?= ${SPARC64}/conf/kern32.ldscript
@


1.70
log
@Move SPARC and SPARC64 to modern CPP. Update UPDATING note for this and
Alpha.
@
text
@d1 1
a1 1
# 	$NetBSD: src/sys/arch/sparc64/conf/Makefile.sparc64,v 1.69 2010-05-23 18:49:14 martin Exp $
a59 1
CC_NOOPT=	${NORMAL_C}
a70 4
# XXX
# The sparc gcc version 3.3.3 (NetBSD nb1 20040301) does not compile this
# file properly with higher optimizations
CC_NOOPT=	${NORMAL_C:C/-O./-O0/}
@


1.70.6.1
log
@sync with head
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.70 2011/01/17 18:11:10 joerg Exp $
d60 1
d72 4
@


1.70.6.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.70.6.1 2012/04/17 00:06:55 yamt Exp $
d62 1
a62 2
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
CFLAGS+=	${${ACTIVE_CC} == "clang":? -mcmodel=small :}
d65 1
a65 2
CFLAGS+=	${${ACTIVE_CC} == "gcc":? -mcmodel=medlow :}
CFLAGS+=	${${ACTIVE_CC} == "clang":? -mcmodel=small :}
d78 1
a78 6
OPT_MODULAR=	%MODULAR%
.if !empty(OPT_MODULAR)
KERN_AS=	obj
.else
KERN_AS=	library
.endif
a96 3
# Our libkern needs stuff from assym.h for memcpy and memset.
dependkernlib:	assym.h

@


1.70.12.1
log
@Pull up the following revisions(s) (requested by nakayama in ticket #85):
	sys/arch/sparc64/sparc64/locore.s:	revision 1.340
	doc/HACKS:				revision 1.123
	sys/arch/sparc64/conf/Makefile.sparc64:	revision 1.71
	sys/arch/sparc64/conf/files.sparc64:	revision 1.138

Fix the root cause of the hack "disable optimizations for uvm_bio.c
on 32 bit kernels".
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.70 2011/01/17 18:11:10 joerg Exp $
d60 1
d72 4
@


1.70.10.1
log
@sync to latest -current.
@
text
@d1 1
a1 1
# 	$NetBSD$
d60 1
d72 4
@


1.70.10.2
log
@sync to -current
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.70.10.1 2012/03/04 00:46:12 mrg Exp $
a59 1
CC_NOOPT=	${NORMAL_C}
a70 4
# XXX
# The sparc gcc version 3.3.3 (NetBSD nb1 20040301) does not compile this
# file properly with higher optimizations
CC_NOOPT=	${NORMAL_C:C/-O./-O0/}
@


1.70.10.3
log
@sync to -current
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.70.10.2 2012/03/06 09:56:09 mrg Exp $
d60 1
d72 4
@


1.69
log
@Split copy related functions out of locore.s into copy.S, move functions
only needed on multiprocessors into mp_subr.S.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.68 2008/12/11 05:27:42 alc Exp $
d78 1
a78 1
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
@


1.69.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.70 2011/01/17 18:11:10 joerg Exp $
d78 1
a78 1
AFLAGS+=	-x assembler-with-cpp
@


1.68
log
@Clean-up makefile stub used to include in the build the binary HAL object
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.67 2008/08/30 13:23:55 martin Exp $
d88 1
a88 1
MD_OBJS=	locore.o
d90 2
a91 1
MD_SFILES=	${SPARC64}/sparc64/locore.s
d96 6
@


1.68.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD$
d88 1
a88 1
MD_OBJS=	locore.o copy.o mp_subr.o
d90 1
a90 2
MD_SFILES=	${SPARC64}/sparc64/locore.s ${SPARC64}/sparc64/copy.S \
	 ${SPARC64}/sparc64/mp_subr.S
a94 6
copy.o:	${SPARC64}/sparc64/copy.S assym.h
	${NORMAL_S}

mp_subr.o:	${SPARC64}/sparc64/mp_subr.S assym.h
	${NORMAL_S}

@


1.68.6.1
log
@sync with head
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.68 2008/12/11 05:27:42 alc Exp $
d88 1
a88 1
MD_OBJS=	locore.o copy.o mp_subr.o
d90 1
a90 2
MD_SFILES=	${SPARC64}/sparc64/locore.s ${SPARC64}/sparc64/copy.S \
	 ${SPARC64}/sparc64/mp_subr.S
a94 6
copy.o:	${SPARC64}/sparc64/copy.S assym.h
	${NORMAL_S}

mp_subr.o:	${SPARC64}/sparc64/mp_subr.S assym.h
	${NORMAL_S}

@


1.68.6.2
log
@sync with head
@
text
@d1 1
a1 1
# 	$NetBSD$
d78 1
a78 1
AFLAGS+=	-x assembler-with-cpp
@


1.67
log
@We are not creating a.out NMAGIC files, and handling the required alignement
of sections explicitly in the ldscript, so do not pass -n to ld.
This fixes the strange combined text/data sections seen with certain
(smaller) kernels as explained on tech-toolchain.
Found by Nick Hudson, ok: matthew green.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.66 2008/02/18 15:02:20 joerg Exp $
a145 3
## Include rules for Atheros WLAN
.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"

@


1.67.8.1
log
@Pull up following revision(s) (requested by nakayama in ticket #1736):
	sys/arch/sparc64/conf/Makefile.sparc64: revision 1.71
	doc/HACKS: revision 1.123
	sys/arch/sparc64/conf/files.sparc64: revision 1.138
	sys/arch/sparc64/sparc64/locore.s: revision 1.340
Fix the root cause of the hack "disable optimizations for uvm_bio.c
on 32 bit kernels".
gcc converts a division in the calculation of UBC_UMAP_ADDR macro
to multiplication (smul or combination of add/sll), and the
register of its result contains a garbage in upper 32 bits (the
upper 32 bits of smul/add/sll's result isn't zero cleared).
Then it passes to pseg_get{,_real} through pmap_extract without the
zero clear of upper 32 bits in the optimization case.  So the
result of pseg_get and pmap_extact sometimes gets screwed up.
The hack has been resolved in the revision 1.340 of
sys/arch/sparc64/sparc64/locore.s.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.67 2008/08/30 13:23:55 martin Exp $
d60 1
d72 4
@


1.67.10.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.67.4.1 2009/08/07 18:33:48 snj Exp $
d146 3
@


1.67.4.1
log
@Pull up following revision(s) (requested by sborrill in ticket #905):
	sys/arch/alpha/conf/Makefile.alpha: revision 1.81
	sys/arch/amd64/conf/Makefile.amd64: revision 1.26
	sys/arch/i386/conf/Makefile.i386: revision 1.162
	sys/arch/macppc/conf/Makefile.macppc: revision 1.31
	sys/arch/mips/conf/Makefile.mips: revision 1.52
	sys/arch/sparc64/conf/Makefile.sparc64: revision 1.68
	sys/arch/xen/conf/Makefile.xen: revision 1.28
Clean-up makefile stub used to include in the build the binary HAL object
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.67 2008/08/30 13:23:55 martin Exp $
d146 3
@


1.67.4.1.2.1
log
@Pull up following revision(s) (requested by nakayama in ticket #1736):
	sys/arch/sparc64/conf/Makefile.sparc64: revision 1.71
	doc/HACKS: revision 1.123
	sys/arch/sparc64/conf/files.sparc64: revision 1.138
	sys/arch/sparc64/sparc64/locore.s: revision 1.340
Fix the root cause of the hack "disable optimizations for uvm_bio.c
on 32 bit kernels".
gcc converts a division in the calculation of UBC_UMAP_ADDR macro
to multiplication (smul or combination of add/sll), and the
register of its result contains a garbage in upper 32 bits (the
upper 32 bits of smul/add/sll's result isn't zero cleared).
Then it passes to pseg_get{,_real} through pmap_extract without the
zero clear of upper 32 bits in the optimization case.  So the
result of pseg_get and pmap_extact sometimes gets screwed up.
The hack has been resolved in the revision 1.340 of
sys/arch/sparc64/sparc64/locore.s.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.67.4.1 2009/08/07 18:33:48 snj Exp $
d60 1
d72 4
@


1.67.4.2
log
@Pull up following revision(s) (requested by nakayama in ticket #1736):
	sys/arch/sparc64/conf/Makefile.sparc64: revision 1.71
	doc/HACKS: revision 1.123
	sys/arch/sparc64/conf/files.sparc64: revision 1.138
	sys/arch/sparc64/sparc64/locore.s: revision 1.340
Fix the root cause of the hack "disable optimizations for uvm_bio.c
on 32 bit kernels".
gcc converts a division in the calculation of UBC_UMAP_ADDR macro
to multiplication (smul or combination of add/sll), and the
register of its result contains a garbage in upper 32 bits (the
upper 32 bits of smul/add/sll's result isn't zero cleared).
Then it passes to pseg_get{,_real} through pmap_extract without the
zero clear of upper 32 bits in the optimization case.  So the
result of pseg_get and pmap_extact sometimes gets screwed up.
The hack has been resolved in the revision 1.340 of
sys/arch/sparc64/sparc64/locore.s.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.67.4.1 2009/08/07 18:33:48 snj Exp $
d60 1
d72 4
@


1.67.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.68 2008/12/11 05:27:42 alc Exp $
d146 3
@


1.66
log
@Add assym.h dependencies.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.65 2008/01/25 21:12:13 joerg Exp $
d99 1
a99 1
LINKFORMAT=	-n -T ${SPARC64}/conf/${KERN_LDSCRIPT}
@


1.66.10.1
log
@sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.66 2008/02/18 15:02:20 joerg Exp $
d99 1
a99 1
LINKFORMAT=	-T ${SPARC64}/conf/${KERN_LDSCRIPT}
d146 3
@


1.66.10.2
log
@sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.66.10.1 2009/05/04 08:11:57 yamt Exp $
d88 1
a88 1
MD_OBJS=	locore.o copy.o mp_subr.o
d90 1
a90 2
MD_SFILES=	${SPARC64}/sparc64/locore.s ${SPARC64}/sparc64/copy.S \
	 ${SPARC64}/sparc64/mp_subr.S
a94 6
copy.o:	${SPARC64}/sparc64/copy.S assym.h
	${NORMAL_S}

mp_subr.o:	${SPARC64}/sparc64/mp_subr.S assym.h
	${NORMAL_S}

@


1.66.16.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.67 2008/08/30 13:23:55 martin Exp $
d99 1
a99 1
LINKFORMAT=	-T ${SPARC64}/conf/${KERN_LDSCRIPT}
@


1.66.16.2
log
@Update haad-dm branch to haad-dm-base2.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.68 2008/12/11 05:27:42 alc Exp $
d146 3
@


1.66.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD$
d99 1
a99 1
LINKFORMAT=	-T ${SPARC64}/conf/${KERN_LDSCRIPT}
@


1.66.6.2
log
@Sync with HEAD.
@
text
@d146 3
@


1.66.12.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.66 2008/02/18 15:02:20 joerg Exp $
d99 1
a99 1
LINKFORMAT=	-T ${SPARC64}/conf/${KERN_LDSCRIPT}
@


1.65
log
@Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
  They call a backend function cpu_in_cksum after possibly
  computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
  The default implementation is moderate fast on most platforms
  and provides a 32bit accumulator with 16bit addends for L32 platforms
  and a 64bit accumulator with 32bit addends for L64 platforms.
  It handles edge cases like very large mbuf chains (could happen with
  native IPv6 in the future) and provides a good base for new native
  implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.64 2007/10/17 19:57:27 garbled Exp $
d115 2
@


1.64
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.sparc64,v 1.62.26.1 2007/06/26 18:13:41 garbled Exp $
a94 2
in_cksum.o: assym.h

@


1.64.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.66 2008/02/18 15:02:20 joerg Exp $
d95 2
a116 2
cpu_in_cksum.o lock_stubs.o: assym.h

@


1.63
log
@instead of specifying the start of the data section in the makefile,
just round it up to the next 4MB boundary in the ldscript.
this prevents parts of the kernel-image range from being left unmapped.
fixes PR 36388.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.62 2006/04/04 03:13:12 gdamore Exp $
@


1.63.10.1
log
@sync with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.64 2007/10/17 19:57:27 garbled Exp $
@


1.63.10.2
log
@sync with HEAD
@
text
@d1 1
a1 1
# 	Makefile.sparc64,v 1.63.10.1 2007/11/06 23:22:40 matt Exp
d95 2
a116 2
cpu_in_cksum.o lock_stubs.o: assym.h

@


1.62
log
@Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.61 2006/04/02 05:52:14 gdamore Exp $
a100 1
DATAADDR?=	01800000
@


1.62.28.1
log
@Sync w/ NetBSD-4-RC_1
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.62.12.1 2007/06/05 20:22:33 bouyer Exp $
d101 1
@


1.62.20.1
log
@Sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.63 2007/06/04 04:53:44 chs Exp $
d101 1
@


1.62.26.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.63 2007/06/04 04:53:44 chs Exp $
d101 1
@


1.62.18.1
log
@Sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.62 2006/04/04 03:13:12 gdamore Exp $
d101 1
@


1.62.12.1
log
@Pull up following revision(s) (requested by martin in ticket #700):
	sys/arch/sparc64/conf/kern32.ldscript: revision 1.8
	sys/arch/sparc64/conf/kern.ldscript: revision 1.9
	sys/arch/sparc64/conf/Makefile.sparc64: revision 1.63
instead of specifying the start of the data section in the makefile,
just round it up to the next 4MB boundary in the ldscript.
this prevents parts of the kernel-image range from being left unmapped.
fixes PR 36388.
@
text
@d1 1
a1 1
# 	$NetBSD$
d101 1
@


1.62.12.2
log
@Pull up following revision(s) via patch (requested by nakayama in ticket #1443):
	sys/arch/sparc64/conf/Makefile.sparc64: revision 1.71
	doc/HACKS: revision 1.123
	sys/arch/sparc64/conf/files.sparc64: revision 1.138
	sys/arch/sparc64/sparc64/locore.s: revision 1.340
Fix the root cause of the hack "disable optimizations for uvm_bio.c
on 32 bit kernels".
gcc converts a division in the calculation of UBC_UMAP_ADDR macro
to multiplication (smul or combination of add/sll), and the
register of its result contains a garbage in upper 32 bits (the
upper 32 bits of smul/add/sll's result isn't zero cleared).
Then it passes to pseg_get{,_real} through pmap_extract without the
zero clear of upper 32 bits in the optimization case.  So the
result of pseg_get and pmap_extact sometimes gets screwed up.
The hack has been resolved in the revision 1.340 of
sys/arch/sparc64/sparc64/locore.s.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.62.12.1 2007/06/05 20:22:33 bouyer Exp $
d60 1
d72 4
@


1.62.12.1.4.1
log
@Pull up following revision(s) via patch (requested by nakayama in ticket #1443):
	sys/arch/sparc64/conf/Makefile.sparc64: revision 1.71
	doc/HACKS: revision 1.123
	sys/arch/sparc64/conf/files.sparc64: revision 1.138
	sys/arch/sparc64/sparc64/locore.s: revision 1.340
Fix the root cause of the hack "disable optimizations for uvm_bio.c
on 32 bit kernels".
gcc converts a division in the calculation of UBC_UMAP_ADDR macro
to multiplication (smul or combination of add/sll), and the
register of its result contains a garbage in upper 32 bits (the
upper 32 bits of smul/add/sll's result isn't zero cleared).
Then it passes to pseg_get{,_real} through pmap_extract without the
zero clear of upper 32 bits in the optimization case.  So the
result of pseg_get and pmap_extact sometimes gets screwed up.
The hack has been resolved in the revision 1.340 of
sys/arch/sparc64/sparc64/locore.s.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.62.12.1 2007/06/05 20:22:33 bouyer Exp $
d60 1
d72 4
@


1.61
log
@Reorganize ath layout as requested by sam@@ and suggested by dyoung@@ in
http://mail-index.netbsd.org/tech-net/2006/03/15/0000.html.

The new layout almost precisely matches FreeBSD, and should make
future imports much easier.

At the same time, import the current 0.9.16.16 HAL from FreeBSD.  According
to sam@@, this is the proper version we should be using.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.60 2006/03/08 17:06:07 dyoung Exp $
d147 2
a148 15
# XXX - Ugly, but make doesn't easily handle .o.uu (assumes it's a suffix)
# XXX - Also, config has no simple was to just add foo.o to the Makefile. 
#       It needs a pathname of some sort for "object"        
.if !empty(OBJS:M\/athhal-sparc64-be-elf.hal.o)
OBJS:=${OBJS:C/\/athhal-sparc64-be-elf.hal.o/athhal-sparc64-be-elf.hal.o/}
 
.PATH: $S/contrib/dev/ath/public
ATH_UUDEC?=	@@${_MKSHMSG} "uudecode ${.CURDIR:T}/${.TARGET}"; \
		${_MKSHECHO}\
		${UUDECODE} -p $> \> ${.TARGET}; \
		rm -f ${.TARGET}; \
		${UUDECODE} -p $> > ${.TARGET}
athhal-sparc64-be-elf.hal.o: sparc64-be-elf.hal.o.uu
	${ATH_UUDEC}
.endif
@


1.60
log
@config(8) creates opt_ah.h, no need to do so here.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.59 2006/03/03 14:55:14 he Exp $
d147 1
a147 1
# XXX - Ugly, but make doesn't easily handle .o.uue (assumes it's a suffix)
d153 1
a153 1
.PATH: $S/contrib/arch/sparc64/dev
d159 1
a159 1
athhal-sparc64-be-elf.hal.o: athhal-sparc64-be-elf.hal.o.uue
@


1.60.2.1
log
@Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
@
text
@d1 1
a1 1
# 	$NetBSD$
d147 15
a161 2
## Include rules for Atheros WLAN
.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"
@


1.59
log
@Before symlinking opt_ah.h, make sure the target doesn't already exist.
This fixes a build problem with UPDATE set.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.58 2006/03/02 10:44:33 martin Exp $
a160 4
all depend:	opt_ah.h
opt_ah.h:	athhal-sparc64-be-elf.opt_ah.h
	rm -f ${.TARGET}
	ln -s ${.ALLSRC} ${.TARGET}
@


1.59.4.1
log
@sync with head - hopefully this will work
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.62 2006/04/04 03:13:12 gdamore Exp $
d147 19
a165 2
## Include rules for Atheros WLAN
.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"
@


1.59.2.1
log
@sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.59 2006/03/03 14:55:14 he Exp $
d161 4
@


1.59.2.2
log
@sync with head
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.59.2.1 2006/03/13 09:07:02 yamt Exp $
d147 15
a161 2
## Include rules for Atheros WLAN
.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"
@


1.58
log
@Add glue to make ath* usable on sparc64.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.57 2005/12/11 12:19:08 christos Exp $
d163 1
@


1.57
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.49.6.4 2005/11/10 13:59:17 skrll Exp $
d147 19
@


1.57.4.1
log
@sync with head
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.62 2006/04/04 03:13:12 gdamore Exp $
a146 3
## Include rules for Atheros WLAN
.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"

@


1.57.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.62 2006/04/04 03:13:12 gdamore Exp $
a146 3
## Include rules for Atheros WLAN
.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"

@


1.56
log
@s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.55 2004/06/04 04:45:51 thorpej Exp $
@


1.56.2.1
log
@sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.56 2005/05/31 04:03:11 christos Exp $
a146 3
## Include rules for Atheros WLAN
.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"

@


1.56.2.2
log
@sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.56.2.1 2006/06/21 14:56:40 yamt Exp $
d101 1
@


1.56.2.3
log
@sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.56.2.2 2007/09/03 14:30:11 yamt Exp $
d95 2
@


1.56.2.4
log
@sync with head.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.56.2.3 2008/02/04 09:22:32 yamt Exp $
a114 2
cpu_in_cksum.o lock_stubs.o: assym.h

@


1.55
log
@Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.54 2004/03/22 00:43:37 martin Exp $
d50 1
a50 1
GENASSYM=	${SPARC64}/sparc64/genassym.cf
@


1.54
log
@Realy disable optimization for 32bit kernels when compiling uvm_bio.c.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.53 2004/03/21 13:12:30 martin Exp $
d151 5
@


1.54.4.1
log
@Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.54 2004/03/22 00:43:37 martin Exp $
a150 5

##
## (10) IPF source directory
##
CPPFLAGS+=	-I$S/dist/ipf
@


1.53
log
@Disable optimization when compiling uvm_bio.c with a 32 bit compiler.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.52 2003/11/09 11:24:38 martin Exp $
d60 1
d75 1
a75 1
COPTS.uvm_bio.c	= -O0
@


1.52
log
@Fix a comment (there is no bzero/bcopy any more)
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.51 2003/10/27 05:49:15 christos Exp $
d71 4
@


1.51
log
@fix make -jn by adding explicit dependency of in_cksum.o to assym.h
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.50 2003/09/19 16:35:31 martin Exp $
d78 1
a78 1
# KERN_AS=	obj	# bcopy, bzero, memcpy, memset, etc. are in locore.s
@


1.50
log
@Remove workarounds for bugs in the old compiler.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.49 2002/11/26 18:51:17 thorpej Exp $
d89 2
@


1.49
log
@The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.48 2002/09/06 06:16:57 jdolecek Exp $
a73 2

NOOPT_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -O0 -c $<
@


1.49.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.55 2004/06/04 04:45:51 thorpej Exp $
a59 1
CC_NOOPT=	${NORMAL_C}
a70 4
# XXX
# The sparc gcc version 3.3.3 (NetBSD nb1 20040301) does not compile this
# file properly with higher optimizations
CC_NOOPT=	${NORMAL_C:C/-O./-O0/}
d75 2
d80 1
a80 1
# KERN_AS=	obj	# memcpy, memset, etc. are in locore.s
a91 2
in_cksum.o: assym.h

a145 5

##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND
@


1.49.6.2
log
@Sync with HEAD.
@
text
@@


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


1.49.6.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.49.6.3 2004/09/21 13:22:40 skrll Exp $
d50 1
a50 1
GENASSYM_CONF=	${SPARC64}/sparc64/genassym.cf
@


1.48
log
@put an explicit .MAIN target before the .if make() condition; apparently
.MAIN must be defined for the implicit target rule to kick in
this fixes compilation with call like 'make', i.e. without specified target

another option would be to move the .if make() condition after config(8)
generated goo, since config(8) implicitly generates a .MAIN: directive too,
but the MD .if make() really belongs into (7) misc settings section IMHO
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.47 2002/07/20 11:48:17 mrg Exp $
a72 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a73 1
.endif
@


1.47
log
@create a "sparc" symlink as well.  sync kernels.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.46 2002/06/04 21:39:12 thorpej Exp $
d120 4
@


1.46
log
@Don't use -traditional-cpp if HAVE_GCC3.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.45 2002/03/19 18:10:33 eeh Exp $
d120 6
@


1.45
log
@Fix up compiler options:

1) Get things right for 32-bit kernels

2) Always use medium any memory model for 64-bit kernels for the moment.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.44 2001/12/09 05:00:51 atatat Exp $
d73 3
d77 1
@


1.45.4.1
log
@catch up with -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.46 2002/06/04 21:39:12 thorpej Exp $
a72 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a73 1
.endif
@


1.45.4.2
log
@catch up with -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.47 2002/07/20 11:48:17 mrg Exp $
a119 6

.if make(depend) || make(all) || make(dependall)
.BEGIN:
	@@rm -f sparc && \
		ln -s $S/arch/sparc/include sparc
.endif
@


1.44
log
@Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
@
text
@d1 11
a11 1
# 	$NetBSD: Makefile.sparc64,v 1.43 2001/11/20 12:56:39 lukem Exp $
d30 5
a34 2
# Default to 32-bit.  Set the MACHINE_ARCH accordingly, using either
# the 32-bit or 64-bit toolchain.
d55 1
a55 1
CPPFLAGS+=	-Dsparc64
d57 3
a59 3
CPPFLAGS+=	-D_LP64
.endif
CFLAGS+=	-Wa,-Av9a -mno-fpu
d61 4
a64 1
# We need to run the compiler in medlow memory model.
d67 7
a73 1
AFLAGS+=	-x assembler-with-cpp -traditional-cpp -Wa,-Av9a
@


1.43
log
@cleanup:
	options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.42 2001/10/26 06:45:40 jmc Exp $
d14 5
d30 1
a30 1

d33 3
a35 22
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.

AR?=	ar
AS?=	as
CC?=	cc
CPP?=	cpp
LD?=	ld
LORDER?=lorder
MKDEP?=	mkdep
NM?=	nm
RANLIB?=ranlib
SIZE?=	size
STRIP?=	strip
TSORT?=	tsort -q

COPTS?= 	-O2

# source tree is located via $S relative to the compilation directory
.ifndef S
S!=	cd ../../../..; pwd
.endif
d37 1
d39 4
a42 8
INCLUDES=	-I. -I$S/arch -I$S -nostdinc
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dsparc64
CWARNFLAGS=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
		-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right.  --thorpej
CWARNFLAGS+=	-Wno-uninitialized
CWARNFLAGS+=	-Wno-main
d46 1
a46 2

CFLAGS=		${DEBUG} ${COPTS} ${CWARNFLAGS} -Wa,-Av9a -mno-fpu
d51 1
a51 1
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -Wa,-Av9a
d53 13
a65 3
#
# Gotta find a way to make kernel base tuneable.
#
d67 2
a68 2
LINKFLAGS=	-Ttext 01000000 -Tdata 01800000 -e start
#LINKFLAGS=	-Ttext f1000000 -Tdata f1400000 -e start
d70 6
a75 1
LINKFLAGS+=	-n -T ${SPARC64}/conf/${KERN_LDSCRIPT}
d82 3
a84 1
STRIPFLAGS=	-g
d86 12
a99 24
### find out what to use for libkern
# KERN_AS=	obj	# bcopy, bzero, memcpy, memset, etc. are in locore.s
.include "$S/lib/libkern/Makefile.inc"
.ifndef PROF
LIBKERN=	${KERNLIB}
.else
LIBKERN=	${KERNLIB_PROF}
.endif

### find out what to use for libcompat
.include "$S/compat/common/Makefile.inc"
.ifndef PROF
LIBCOMPAT=	${COMPATLIB}
.else
LIBCOMPAT=	${COMPATLIB_PROF}
.endif

# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
# HOSTED, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).

NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOOPT_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -O0 -c $<
NORMAL_S=	${CC} ${AFLAGS} ${CPPFLAGS} -c $<

a105 24
# load lines for config "xxx" will be emitted as:
# xxx: ${SYSTEM_DEP} swapxxx.o
#	${SYSTEM_LD_HEAD}
#	${SYSTEM_LD} swapxxx.o
#	${SYSTEM_LD_TAIL}
SYSTEM_OBJ=	locore.o \
		param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
SYSTEM_DEP=	Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD=	rm -f $@@
SYSTEM_LD=	@@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \
		${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o
SYSTEM_LD_TAIL=	@@${SIZE} $@@; chmod 755 $@@

DEBUG?=
.if ${DEBUG} == "-g"
LINKFLAGS+=	-X
SYSTEM_LD_TAIL+=; \
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
.else
LINKFLAGS+=	-S
.endif

d108 1
a108 74
assym.h: $S/kern/genassym.sh ${SPARC64}/sparc64/genassym.cf
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
	    < ${SPARC64}/sparc64/genassym.cf > assym.h.tmp && \
	mv -f assym.h.tmp assym.h

param.c: $S/conf/param.c
	rm -f param.c
	cp $S/conf/param.c .

param.o: param.c Makefile
	${NORMAL_C}

ioconf.o: ioconf.c
	${NORMAL_C}

newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
	sh $S/conf/newvers.sh
	${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c


__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
	rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir distclean: __CLEANKERNEL __CLEANDEPEND

lint:
	@@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \
	    ${SPARC64}/sparc64/Locore.c ${CFILES} \
	    ioconf.c param.c | \
	    grep -v 'static function .* unused'

tags:
	@@echo "see $S/kern/Makefile for tags"

links:
	egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
	  sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
	echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
	  sort -u | comm -23 - dontlink | \
	  sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
	sh makelinks && rm -f dontlink

SRCS=	${SPARC64}/sparc64/locore.s \
	param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
	${MKDEP} ${AFLAGS} ${CPPFLAGS} ${SPARC64}/sparc64/locore.s
	${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
.if (${SFILES} != "")
	${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
.endif
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${COPTS} ${CFLAGS} \
	  ${CPPFLAGS} < ${SPARC64}/sparc64/genassym.cf
	@@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
	@@rm -f assym.dep

dependall: depend all


# depend on root or device configuration
autoconf.o conf.o: Makefile

# depend on network or filesystem configuration
uipc_proto.o vfs_conf.o: Makefile

# depend on maxusers
machdep.o: Makefile
d110 4
a113 22
# depend on CPU configuration
bwtwo.o cgsix.o cgthree.o cgtwo.o cons.o dma.o esp.o fb.o if_ie.o: Makefile
ms.c obio.o zs.c autoconf.o clock.o cpu.o disksubr.o locore.o: Makefile
machdep.o mem.o openprom.o pmap.o vm_machdep.o: Makefile


locore.o: ${SPARC64}/sparc64/locore.s assym.h
	${NORMAL_S}

# The install target can be redefined by putting a
# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
MACHINE_NAME!=  uname -n
install: install-kernel-${MACHINE_NAME}
.if !target(install-kernel-${MACHINE_NAME}})
install-kernel-${MACHINE_NAME}:
	rm -f /onetbsd
	ln /netbsd /onetbsd
	cp netbsd /nnetbsd
	mv /nnetbsd /netbsd
.endif

%RULES
@


1.42
log
@Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.41 2001/10/24 19:12:18 thorpej Exp $
d214 2
a215 2
# depend on network or filesystem configuration 
uipc_proto.o vfs_conf.o: Makefile 
d220 1
a220 1
# depend on CPU configuration 
@


1.42.2.1
log
@file Makefile.sparc64 was added on branch nathanw_sa on 2002-01-08 00:27:57 +0000
@
text
@d1 241
@


1.42.2.2
log
@Catch up to -current.
@
text
@a0 113
# 	$NetBSD: Makefile.sparc64,v 1.42.2.1 2002/01/08 00:27:57 nathanw Exp $

# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
#	config machineid
# Most changes should be made in the machine description
#	/sys/arch/sparc64/conf/``machineid''
# after which you should do
#	config machineid
# Machine generic makefile changes should be made in
#	/sys/arch/sparc64/conf/Makefile.sparc64
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"

# Default to 32-bit.  Set the MACHINE_ARCH accordingly, using either
# the 32-bit or 64-bit toolchain.
LP64?=	no
.if ${LP64} == "yes"
MACHINE_ARCH=sparc64
.else
MACHINE_ARCH=sparc
.endif

USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>

##
## (1) port identification
##
SPARC64=	$S/arch/sparc64
GENASSYM=	${SPARC64}/sparc64/genassym.cf

##
## (2) compile settings
##
CPPFLAGS+=	-Dsparc64
.if ${LP64} == "yes"
CPPFLAGS+=	-D_LP64
.endif
CFLAGS+=	-Wa,-Av9a -mno-fpu
.if defined(PROF)
# We need to run the compiler in medlow memory model.
CFLAGS+=	-mcmodel=medlow
.endif
AFLAGS+=	-x assembler-with-cpp -traditional-cpp -Wa,-Av9a

NOOPT_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -O0 -c $<

##
## (3) libkern and compat
##
# KERN_AS=	obj	# bcopy, bzero, memcpy, memset, etc. are in locore.s

##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS=	locore.o
MD_CFILES=
MD_SFILES=	${SPARC64}/sparc64/locore.s

locore.o: ${SPARC64}/sparc64/locore.s assym.h
	${NORMAL_S}

##
## (5) link settings
##
TEXTADDR?=	01000000
DATAADDR?=	01800000
LINKFORMAT=	-n -T ${SPARC64}/conf/${KERN_LDSCRIPT}
.if ${LP64} == "yes"
KERN_LDSCRIPT?= kern.ldscript
.else
KERN_LDSCRIPT?= kern32.ldscript
.endif

##
## (6) port specific target dependencies
##

# depend on CPU configuration
bwtwo.o cgsix.o cgthree.o cgtwo.o cons.o dma.o esp.o fb.o if_ie.o: Makefile
ms.c obio.o zs.c autoconf.o clock.o cpu.o disksubr.o locore.o: Makefile
machdep.o mem.o openprom.o pmap.o vm_machdep.o: Makefile

##
## (7) misc settings
##

##
## (8) config(8) generated machinery
##
%INCLUDES

%OBJS

%CFILES

%SFILES

%LOAD

%RULES

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"
@


1.42.2.3
log
@Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
@
text
@d1 1
a1 11
# 	$NetBSD: Makefile.sparc64,v 1.42.2.2 2002/04/01 07:42:57 nathanw Exp $

#=========================================================================
#
#			***** WARNING ******
#
# ANYONE WHO CHANGES THIS MAKEFILE AND DOES NOT TEST BOTH A 32-BIT
# AND 64-BIT KERNEL WILL BE SHOT.
#
#=========================================================================

d20 2
a21 5
# Default to 32-bit.  Set the MACHINE_ARCH accordingly.
#
# You must also be using the correct toolchain or the kernel build
# will fail.
#
d42 1
a42 1
CPPFLAGS+=	-Dsparc64 -D__sparc64__
d44 3
a46 3
# 64-bit kernels
CPPFLAGS+=	-D_LP64 -Wa,-Av9a
AFLAGS+=	-Wa,-Av9a
d48 1
a48 4
# Profiling is only supported in the medium low memory model.
CFLAGS+=	-mcmodel=medlow
.else
# Since the kernel resides in the lower 32 bits, use medium low for now anyway.
d51 1
a51 7
.else
# 32-bit kernels
CPPFLAGS+=	-m32 -Wa,-Av8plusa -mcpu=ultrasparc
AFLAGS+=	-Wa,-Av8plusa
.endif
CFLAGS+=	-mno-fpu
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
@


1.42.2.4
log
@Catch up to -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.42.2.3 2002/06/20 03:41:17 nathanw Exp $
a72 3
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
a73 1
.endif
@


1.42.2.5
log
@Catch up to -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.42.2.4 2002/08/01 02:43:34 nathanw Exp $
a120 6
.if make(depend) || make(all) || make(dependall)
.BEGIN:
	@@rm -f sparc && \
		ln -s $S/arch/sparc/include sparc
.endif

@


1.42.2.6
log
@Catch up to -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.42.2.5 2002/09/17 21:17:53 nathanw Exp $
a120 4
# define .MAIN _before_ the make() check, so that implicit target
# would be defined
.MAIN: all

@


1.42.2.7
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.42.2.6 2002/12/11 06:12:20 thorpej Exp $
d73 3
d77 1
@


1.41
log
@Per request of mrg@@netbsd.org, use MACHINE_ARCH of "sparc" for 32-bit
sparc64 kernels, thus defaulting to using the 32-bit "sparc" target
toolchain.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.40 2001/10/24 18:49:39 thorpej Exp $
d23 2
@


1.40
log
@Clean up the 32-bit vs. 64-bit kernel configuration stuff:
- Put all options necessary to build a 64-bit kernel into std.sparc64-64,
  which can be included after std.sparc64.
- Change the logic used to enable 64-bit kernels.  The kernel Makefile now
  uses an LP64 make variable, and explicitly sets compiler flags and linker
  scripts to generate 32-bit or 64-bit kernels.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.39 2001/10/21 19:46:16 thorpej Exp $
d15 4
a18 3
# Always use sparc64 as the MACHINE_ARCH, so we select the correct
# toolchain (i.e. need v9 instruction support in the assembler, etc.)
# 32-bit vs. 64-bit will be selected based on compiler/assember options.
d20 3
a57 4

# Select the compiler, assembler, and linker flags based on the
# LP64 variable.
LP64?=	no
a58 3
CC:=		${CC} -m64
AS:=		${AS} -64
LD:=		${LD} -m elf64_sparc
a59 4
.else
CC:=		${CC} -m32
AS:=		${AS} -32
LD:=		${LD} -m elf32_sparc
@


1.39
log
@Normalize the sparc64 kernel Makefile.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.38 2001/07/19 23:31:06 eeh Exp $
d15 5
d54 15
d72 1
a72 1
CFLAGS += -mcmodel=medlow
d84 1
a84 1
.if ${MACHINE_ARCH} == "sparc64"
@


1.39.2.1
log
@Sync the thorpej-mips-cache branch with -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.42 2001/10/26 06:45:40 jmc Exp $
a14 11
# Default to 32-bit.  Set the MACHINE_ARCH accordingly, using either
# the 32-bit or 64-bit toolchain.
LP64?=	no
.if ${LP64} == "yes"
MACHINE_ARCH=sparc64
.else
MACHINE_ARCH=sparc
.endif

USETOOLS?=	no

a48 4
.if ${LP64} == "yes"
CPPFLAGS+=	-D_LP64
.endif

d52 1
a52 1
CFLAGS+=	-mcmodel=medlow
d64 1
a64 1
.if ${LP64} == "yes"
@


1.38
log
@Make a bigger hole between kernel text and data.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.37 2001/05/29 02:20:26 mrg Exp $
d15 2
d20 2
a21 6
.if defined(MAKECONF) && exists(${MAKECONF})
.include "${MAKECONF}"
.elif exists(/etc/mk.conf)
.include "/etc/mk.conf"
.endif

d23 3
a25 3
.if exists(/usr/ccs/bin/ld)
LD?=	/usr/ccs/bin/ld #Need to use Solaris ld to use the solaris loader
.endif
d27 2
a28 1
STRIP?=strip
d30 3
a33 20
#### Stuff for cross compiling
NM?=nm
LORDER?=lorder
TSORT?=tsort


# deal with Solaris vs. NetBSD build environments for now ..
OS!=uname -s
.if (${OS} == "NetBSD")
USE_GENASSYM?=	no
.else
USE_GENASSYM?=	no
AWK=nawk
.endif

.if exists(/usr/ccs/bin/ld)
SVR4=-U__SVR4 -U__svr4__ -D__NetBSD__
.else
SVR4=
.endif
d42 5
a46 4
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dsparc64 ${SVR4}
#CWARNFLAGS=	-Wimplicit -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wparentheses -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main -Werror
#CWARNFLAGS=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
CWARNFLAGS=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main
d48 1
a129 1
.if ${USE_GENASSYM} == "no"
a133 16
.else
HOSTED_CC=	${CC}
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS=	${CFLAGS}

HOSTED_C=	${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<

assym.h: genassym
	./genassym >assym.h

genassym: genassym.o
	${CC} -o $@@ genassym.o

genassym.o: ${SPARC64}/sparc64/genassym.c
	${HOSTED_C}
.endif
@


1.37
log
@define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.36 2001/04/19 07:35:14 mrg Exp $
d76 1
a76 1
LINKFLAGS=	-Ttext 01000000 -Tdata 01400000 -e start
@


1.37.2.1
log
@update to -current
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.38 2001/07/19 23:31:06 eeh Exp $
d76 1
a76 1
LINKFLAGS=	-Ttext 01000000 -Tdata 01800000 -e start
@


1.37.2.2
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.37.2.1 2001/08/03 04:12:25 lukem Exp $
a13 5
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
#	makeoptions DEBUGLIST="uvm* trap if_*"
d15 27
a41 5
# Default to 32-bit.  Set the MACHINE_ARCH accordingly, using either
# the 32-bit or 64-bit toolchain.
LP64?=	no
.if ${LP64} == "yes"
MACHINE_ARCH=sparc64
d43 2
a44 1
MACHINE_ARCH=sparc
d47 5
a51 3
USETOOLS?=	no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>
d53 4
a56 3
##
## (1) port identification
##
a57 1
GENASSYM=	${SPARC64}/sparc64/genassym.cf
d59 7
a65 8
##
## (2) compile settings
##
CPPFLAGS+=	-Dsparc64
.if ${LP64} == "yes"
CPPFLAGS+=	-D_LP64
.endif
CFLAGS+=	-Wa,-Av9a -mno-fpu
d68 1
a68 1
CFLAGS+=	-mcmodel=medlow
d70 1
a70 1
AFLAGS+=	-x assembler-with-cpp -traditional-cpp -Wa,-Av9a
d72 6
a77 1
NOOPT_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -O0 -c $<
d79 6
a84 4
##
## (3) libkern and compat
##
# KERN_AS=	obj	# bcopy, bzero, memcpy, memset, etc. are in locore.s
d86 1
a86 6
##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS=	locore.o
MD_CFILES=
MD_SFILES=	${SPARC64}/sparc64/locore.s
d88 1
a88 2
locore.o: ${SPARC64}/sparc64/locore.s assym.h
	${NORMAL_S}
d90 5
a94 8
##
## (5) link settings
##
TEXTADDR?=	01000000
DATAADDR?=	01800000
LINKFORMAT=	-n -T ${SPARC64}/conf/${KERN_LDSCRIPT}
.if ${LP64} == "yes"
KERN_LDSCRIPT?= kern.ldscript
d96 1
a96 1
KERN_LDSCRIPT?= kern32.ldscript
d99 7
a105 3
##
## (6) port specific target dependencies
##
d107 2
a108 4
# depend on CPU configuration
bwtwo.o cgsix.o cgthree.o cgtwo.o cons.o dma.o esp.o fb.o if_ie.o: Makefile
ms.c obio.o zs.c autoconf.o clock.o cpu.o disksubr.o locore.o: Makefile
machdep.o mem.o openprom.o pmap.o vm_machdep.o: Makefile
d110 3
a112 8
##
## (7) misc settings
##

##
## (8) config(8) generated machinery
##
%INCLUDES
d120 24
d146 113
a259 5

##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"
@


1.37.2.3
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 11
# 	$NetBSD: Makefile.sparc64,v 1.37.2.2 2002/01/10 19:49:11 thorpej Exp $

#=========================================================================
#
#			***** WARNING ******
#
# ANYONE WHO CHANGES THIS MAKEFILE AND DOES NOT TEST BOTH A 32-BIT
# AND 64-BIT KERNEL WILL BE SHOT.
#
#=========================================================================

d20 2
a21 5
# Default to 32-bit.  Set the MACHINE_ARCH accordingly.
#
# You must also be using the correct toolchain or the kernel build
# will fail.
#
d42 1
a42 1
CPPFLAGS+=	-Dsparc64 -D__sparc64__
d44 3
a46 3
# 64-bit kernels
CPPFLAGS+=	-D_LP64 -Wa,-Av9a
AFLAGS+=	-Wa,-Av9a
d48 1
a48 4
# Profiling is only supported in the medium low memory model.
CFLAGS+=	-mcmodel=medlow
.else
# Since the kernel resides in the lower 32 bits, use medium low for now anyway.
d51 1
a51 11
.else
# 32-bit kernels
CPPFLAGS+=	-m32 -Wa,-Av8plusa -mcpu=ultrasparc
AFLAGS+=	-Wa,-Av8plusa
.endif
CFLAGS+=	-mno-fpu
.if defined(HAVE_GCC3)
AFLAGS+=	-x assembler-with-cpp
.else
AFLAGS+=	-x assembler-with-cpp -traditional-cpp
.endif
@


1.37.2.4
log
@sync kqueue branch with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.37.2.3 2002/06/23 17:42:03 jdolecek Exp $
a119 10

# define .MAIN _before_ the make() check, so that implicit target
# would be defined
.MAIN: all

.if make(depend) || make(all) || make(dependall)
.BEGIN:
	@@rm -f sparc && \
		ln -s $S/arch/sparc/include sparc
.endif
@


1.36
log
@-Dsparc64
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.35 2001/03/04 10:11:56 mrg Exp $
d60 1
a60 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dsparc64 ${SVR4}
@


1.35
log
@deal with 32 bit kernels.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.34 2001/02/28 15:17:48 mrg Exp $
d60 1
a60 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL ${SVR4}
@


1.35.2.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.35 2001/03/04 10:11:56 mrg Exp $
d60 1
a60 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dsparc64 ${SVR4}
@


1.34
log
@add and user a linker script.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.33 2000/12/17 15:52:43 jdolecek Exp $
d80 1
d82 3
@


1.33
log
@delete obsolete comment
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.32 2000/12/04 16:01:18 fvdl Exp $
d77 4
a81 1
#LINKFLAGS=	-Ttext f1000000 -Tdata f1400000 -e start
@


1.32
log
@Warning police. Mostly useless format warnings. Switch Makefile for
kernel compiles to the warning flags that other ports also use.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.31 2000/09/28 19:56:15 eeh Exp $
a13 6
#
# N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE
#	IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING
#
# -DTRACE	compile in kernel tracing hooks
# -DQUOTA	compile in file system quotas
@


1.31
log
@Separate user and kernel address spaces and move the kernel down to
0x0000000001000000 -- 0x00000000f0000000, below the PROM where the
PROM thinks we should be.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.30 2000/08/02 22:24:38 eeh Exp $
d67 1
a67 1
CWARNFLAGS=	-Wimplicit -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wparentheses -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
d69 2
@


1.30
log
@Get kernel profiling to work.  Now if only gprof worked....
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.29 2000/07/24 04:54:16 mycroft Exp $
d75 8
a82 2
LINKFLAGS=	-Ttext f1000000 -Tdata f1400000 -e start
#LINKFLAGS=	-N -Ttext f1000000 -e start
@


1.29
log
@Er, eliminate the -p link option as well, which just outputs huge amounts
of spooge.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.28 2000/07/24 04:45:49 mycroft Exp $
a23 1

d70 4
@


1.28
log
@Nuke lderr.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.27 2000/07/24 04:39:01 mycroft Exp $
d72 2
a73 2
LINKFLAGS=	-p -Ttext f1000000 -Tdata f1400000 -e start
#LINKFLAGS=	-N -p -Ttext f1000000 -e start
@


1.27
log
@Slight rearrangement.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.26 2000/06/19 23:30:32 eeh Exp $
d72 2
a73 2
LINKFLAGS=	-p -Ttext f1000000 -Tdata f1400000 -e start >lderr
#LINKFLAGS=	-N -p -Ttext f1000000 -e start >lderr
d174 1
a174 1
	    [Ee]rrs lderr linterrs makelinks assym.h.tmp assym.h
@


1.26
log
@Have separate data and text segments, make text read-only.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.25 2000/06/09 15:28:21 eeh Exp $
d70 2
a71 2
CFLAGS=		${DEBUG} ${CWARNFLAGS} -Wa,-Av9a -mno-fpu
AFLAGS=		-x assembler-with-cpp -Wa,-Av9a -traditional-cpp -D_LOCORE
d98 2
a99 2
NORMAL_C=	${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOOPT_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
d116 1
a116 1
SYSTEM_LD_HEAD=	@@rm -f $@@
d136 1
a136 1
	sh $S/kern/genassym.sh ${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} \
d142 1
a142 1
HOSTED_CFLAGS=	${COPTS} ${CFLAGS}
@


1.26.2.1
log
@Approved by thorpej:
A bit of cleanup.

syssrc/sys/arch/sparc64/conf/Makefile.sparc64		1.26 -> 1.29
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.29 2000/07/24 04:54:16 mycroft Exp $
d70 4
a73 4
CFLAGS=		${DEBUG} ${COPTS} ${CWARNFLAGS} -Wa,-Av9a -mno-fpu
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -Wa,-Av9a
LINKFLAGS=	-Ttext f1000000 -Tdata f1400000 -e start
#LINKFLAGS=	-N -Ttext f1000000 -e start
d98 2
a99 2
NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOOPT_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -O0 -c $<
d116 1
a116 1
SYSTEM_LD_HEAD=	rm -f $@@
d136 1
a136 1
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
d142 1
a142 1
HOSTED_CFLAGS=	${CFLAGS}
d174 1
a174 1
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h
@


1.26.2.2
log
@pull up 1.30 (approved by thorpej):
>Get kernel profiling to work.  Now if only gprof worked....
@
text
@d1 1
a1 1
# 	$NetBSD$
d24 1
a70 4
.if defined(PROF)
# We need to run the compiler in medlow memory model.
CFLAGS += -mcmodel=medlow
.endif
@


1.26.2.3
log
@Pullup by patch [eeh]:
Move KERNBASE from 0xf1000000 to 0x01000000.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.26.2.2 2000/08/07 01:25:25 mrg Exp $
d75 2
a76 8

#
# Gotta find a way to make kernel base tuneable.
#

LINKFLAGS=	-Ttext 01000000 -Tdata 01400000 -e start

#LINKFLAGS=	-Ttext f1000000 -Tdata f1400000 -e start
@


1.25
log
@Separate COPTS from CFLAGS to fix problems w/unoptimized files, and add
lfs_loop.c to the list that breaks optimization.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.24 2000/06/08 21:25:18 eeh Exp $
d72 2
a73 1
LINKFLAGS=	-N -p -Ttext f1000000 -e start >lderr
@


1.24
log
@Override optimization for files that break gcc.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.23 2000/05/09 00:56:27 hubertf Exp $
d70 1
a70 1
CFLAGS=		${DEBUG} ${COPTS} ${CWARNFLAGS} -O2 -Wa,-Av9a -mno-fpu
d97 2
a98 2
NORMAL_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOOPT_C=	${CC} ${CPPFLAGS} ${PROF} -c $<
d135 1
a135 1
	sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
d141 1
a141 1
HOSTED_CFLAGS=	${CFLAGS}
d167 1
a167 1
	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
d208 1
a208 1
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
@


1.23
log
@Add "install" target, so "make install" after building the kernel
does something useful.  The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.22 2000/04/13 16:57:51 eeh Exp $
d70 1
a70 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} -O2 -Wa,-Av9a -mno-fpu
d98 1
@


1.23.2.1
log
@Sync w/ netbsd-1-5-base.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.26 2000/06/19 23:30:32 eeh Exp $
d70 1
a70 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} -Wa,-Av9a -mno-fpu
d72 1
a72 2
LINKFLAGS=	-p -Ttext f1000000 -Tdata f1400000 -e start >lderr
#LINKFLAGS=	-N -p -Ttext f1000000 -e start >lderr
d97 1
a97 2
NORMAL_C=	${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NOOPT_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
d134 1
a134 1
	sh $S/kern/genassym.sh ${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} \
d140 1
a140 1
HOSTED_CFLAGS=	${COPTS} ${CFLAGS}
d166 1
a166 1
	${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
d207 1
a207 1
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${COPTS} ${CFLAGS} \
@


1.22
log
@Make /etc/mk.conf optional for kernel builds.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.21 2000/04/13 09:23:38 mrg Exp $
d232 12
@


1.21
log
@copy the "sparc" clean/cleandir target code, so that "cleandir" actually does a "clean"
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.20 2000/04/08 04:46:15 mrg Exp $
d24 4
d29 1
d167 1
@


1.20
log
@don't use -Wuninitialized
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.19 2000/01/31 22:47:11 eeh Exp $
d163 2
a164 3

clean: cleankernel
cleankernel:
d167 7
@


1.19
log
@Fix a couple more references to STRIPPROG.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.18 2000/01/26 22:04:18 eeh Exp $
d63 1
a63 1
CWARNFLAGS=	-Wimplicit -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wuninitialized -Wparentheses -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
@


1.18
log
@Use STRIP instead of STRIPPROG since install uses STRIP and I don't want to
define two different variables.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.17 2000/01/24 20:36:17 tron Exp $
d119 2
a120 2
		echo ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.17
log
@Add "dependall" target for comfort.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.16 2000/01/19 16:30:01 tsutsui Exp $
d31 1
a31 1
STRIPPROG?=strip
@


1.16
log
@STRIP -> STRIPPROG
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.15 2000/01/19 14:45:12 tsutsui Exp $
d199 3
@


1.15
log
@Change STRIPFLAGS=-g for cross-toolchains.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.14 1999/12/30 16:19:00 eeh Exp $
d31 1
a31 1
STRIP?=	strip
d119 2
a120 2
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.14
log
@Switch libkern back to a library 'cause bzero's back in locore.s.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.13 1999/11/21 00:17:18 eeh Exp $
a34 1
STRIPFLAGS=	-S
d68 1
a68 1
#STRIPFLAGS=	-d
@


1.13
log
@Move KERNBASE down from 0xf8000000 to 0xf1000000, just beyond the PROM.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.12 1999/07/26 05:20:48 cgd Exp $
d74 1
a74 1
KERN_AS=	obj
@


1.12
log
@be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.11 1999/07/18 23:51:08 eeh Exp $
d68 1
a68 1
LINKFLAGS=	-N -p -Ttext f8000000 -e start >lderr
@


1.12.2.1
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
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.31 2000/09/28 19:56:15 eeh Exp $
a23 3
.if defined(MAKECONF) && exists(${MAKECONF})
.include "${MAKECONF}"
.elif exists(/etc/mk.conf)
a24 1
.endif
d31 1
a31 1
STRIP?=strip
d35 1
d64 1
a64 1
CWARNFLAGS=	-Wimplicit -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wparentheses -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
d66 4
a69 15
CFLAGS=		${DEBUG} ${COPTS} ${CWARNFLAGS} -Wa,-Av9a -mno-fpu
.if defined(PROF)
# We need to run the compiler in medlow memory model.
CFLAGS += -mcmodel=medlow
.endif
AFLAGS=		-x assembler-with-cpp -traditional-cpp -D_LOCORE -Wa,-Av9a

#
# Gotta find a way to make kernel base tuneable.
#

LINKFLAGS=	-Ttext 01000000 -Tdata 01400000 -e start

#LINKFLAGS=	-Ttext f1000000 -Tdata f1400000 -e start
STRIPFLAGS=	-g
d74 1
a74 1
# KERN_AS=	obj	# bcopy, bzero, memcpy, memset, etc. are in locore.s
a93 1
NOOPT_C=	${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -O0 -c $<
d110 1
a110 1
SYSTEM_LD_HEAD=	rm -f $@@
d162 1
a162 1
	${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c
d165 2
a166 2
__CLEANKERNEL: .USE
	@@echo "${.TARGET}ing the kernel objects"
d168 1
a168 8
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h

__CLEANDEPEND: .USE
	rm -f .depend

clean: __CLEANKERNEL

cleandir distclean: __CLEANKERNEL __CLEANDEPEND
d196 1
a196 1
	sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${COPTS} ${CFLAGS} \
a200 3
dependall: depend all


a217 12

# The install target can be redefined by putting a
# install-kernel-${MACHINE_NAME} target into /etc/mk.conf
MACHINE_NAME!=  uname -n
install: install-kernel-${MACHINE_NAME}
.if !target(install-kernel-${MACHINE_NAME}})
install-kernel-${MACHINE_NAME}:
	rm -f /onetbsd
	ln /netbsd /onetbsd
	cp netbsd /nnetbsd
	mv /nnetbsd /netbsd
.endif
@


1.12.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD$
d67 1
a67 1
#CWARNFLAGS=	-Wimplicit -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wparentheses -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main -Werror
a68 2
CWARNFLAGS=	-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main
CWARNFLAGS+=	-Wno-uninitialized
@


1.12.2.3
log
@Sync with HEAD
@
text
@d14 6
@


1.12.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.12.2.3 2001/01/05 17:35:03 bouyer Exp $
d77 1
a78 8

LINKFLAGS+=	-n -T ${SPARC64}/conf/${KERN_LDSCRIPT}
.if ${MACHINE_ARCH} == "sparc64"
KERN_LDSCRIPT?= kern.ldscript
.else
KERN_LDSCRIPT?= kern32.ldscript
.endif

@


1.12.2.5
log
@Sync with HEAD
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.12.2.4 2001/03/12 13:29:27 bouyer Exp $
d60 1
a60 1
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dsparc64 ${SVR4}
@


1.12.8.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.13 1999/11/21 00:17:18 eeh Exp $
d68 1
a68 1
LINKFLAGS=	-N -p -Ttext f1000000 -e start >lderr
@


1.11
log
@Switch over to NetBSD/sparc ELF for 32-bit userland.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.10 1999/07/09 09:53:00 mrg Exp $
d119 3
a121 2
		echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} $@@; ${STRIP} ${STRIPFLAGS} $@@
@


1.10
log
@clean up a bit after jason :)

- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
  would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
  $INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.9 1999/06/05 01:56:31 mrg Exp $
d46 2
a47 1
USE_GENASSYM?=	yes
@


1.9
log
@only set LD to /usr/ccs/bin/ld if it exists.  avoid empty SFILES.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.8 1999/03/15 01:15:06 mrg Exp $
d69 2
@


1.8
log
@remove lderr in "make clean"
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.7 1999/01/08 19:26:15 augustss Exp $
d27 1
d29 1
a44 1
SVR4=
d47 3
d51 2
d189 1
d191 1
@


1.8.4.1
log
@Sync w/ -current.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.9 1999/06/05 01:56:31 mrg Exp $
a26 1
.if exists(/usr/ccs/bin/ld)
a27 1
.endif
d43 1
a45 3
.endif

.if exists(/usr/ccs/bin/ld)
a46 2
.else
SVR4=
a182 1
.if (${SFILES} != "")
a183 1
.endif
@


1.8.4.2
log
@Update from trunk.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.8.4.1 1999/06/21 01:02:28 thorpej Exp $
d46 1
a46 2
USE_GENASSYM?=	no
AWK=nawk
a69 2
%INCLUDES

d116 2
a117 3
		echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \
		echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \
		${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb
@


1.7
log
@Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.6 1998/10/15 18:37:16 drochner Exp $
d158 1
a158 1
	    [Ee]rrs linterrs makelinks assym.h.tmp assym.h
@


1.6
log
@change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.5 1998/09/02 05:51:35 eeh Exp $
d57 1
a57 1
CWARNFLAGS=	-Wimplicit -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wuninitialized -Wparentheses -Wstrict-prototypes -Wmissing-prototypes
@


1.5
log
@Periodic update: now starts probing devices.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.4 1998/08/26 10:31:36 mrg Exp $
d65 1
d99 1
a99 1
		param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
@


1.4
log
@- use UVM by default.
- clean up the Makefile a bit to be less solaris-centric :)
- add support for compat_sparc32 (32bit compat module for NetBSD/sparc).  this
  isn't yet fully tested but it mostly written and compiles if not totally
  links yet.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.3 1998/08/13 02:10:40 eeh Exp $
d24 2
d32 6
a62 6

#### Stuff for cross compiling
STRIPFLAGS=	-S
NM=nm
LORDER=lorder
TSORT=tsort
@


1.3
log
@Merge paddr_t changes into the main branch.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.2 1998/07/30 13:34:09 mrg Exp $
d31 10
d48 2
a49 2
CPPFLAGS=	${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -U__SVR4 -U__svr4__
CWARNFLAGS=	-Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wuninitialized -Wparentheses -Wstrict-prototypes -Wmissing-prototypes -D__NetBSD__
a113 3

# XXX fix me!
USE_GENASSYM?=	yes
@


1.2
log
@allow ${SIZE} to be set from the environment, also allow using genassym.sh (both for cross compiling).
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.1.1.1 1998/06/20 04:58:50 eeh Exp $
d41 1
a41 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} -O2 -Wa,-Av9a
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc,v 1.45 1997/07/12 22:08:05 leo Exp $
d28 1
d91 1
a91 1
SYSTEM_LD_TAIL=	@@size $@@; chmod 755 $@@
d105 4
a108 2
.undef	.USE_GENASSYM_H
.ifdef	.USE_GENASSYM_H
d181 1
a181 1
 
@


1.1.1.1
log
@Import of sparc64.
@
text
@@


1.1.1.1.2.1
log
@Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.1.1.1 1998/06/20 04:58:50 eeh Exp $
d40 1
a40 1
CFLAGS=		${DEBUG} ${CWARNFLAGS} -O2 -Wa,-Av9a -mno-fpu
@


1.1.1.1.2.2
log
@Cleanup work:

	Sync up with sys/dev/sbus
	get cgsix to work right
@
text
@d1 1
a1 1
# 	$NetBSD: Makefile.sparc64,v 1.1.1.1.2.1 1998/07/30 14:03:50 eeh Exp $
a27 1
SIZE?=	size
d90 1
a90 1
SYSTEM_LD_TAIL=	@@${SIZE} $@@; chmod 755 $@@
d104 2
a105 4
# XXX fix me!
USE_GENASSYM?=	yes

.if ${USE_GENASSYM} == "no"
d178 1
a178 1

@
