head	1.32;
access;
symbols
	netbsd-11-0-RC4:1.32
	netbsd-11-0-RC3:1.32
	netbsd-11-0-RC2:1.32
	netbsd-11-0-RC1:1.32
	perseant-exfatfs-base-20250801:1.32
	netbsd-11:1.32.0.52
	netbsd-11-base:1.32
	netbsd-10-1-RELEASE:1.32
	perseant-exfatfs-base-20240630:1.32
	perseant-exfatfs:1.32.0.50
	perseant-exfatfs-base:1.32
	netbsd-8-3-RELEASE:1.32
	netbsd-9-4-RELEASE:1.32
	netbsd-10-0-RELEASE:1.32
	netbsd-10-0-RC6:1.32
	netbsd-10-0-RC5:1.32
	netbsd-10-0-RC4:1.32
	netbsd-10-0-RC3:1.32
	netbsd-10-0-RC2:1.32
	thorpej-ifq:1.32.0.48
	thorpej-ifq-base:1.32
	thorpej-altq-separation:1.32.0.46
	thorpej-altq-separation-base:1.32
	netbsd-10-0-RC1:1.32
	netbsd-10:1.32.0.44
	netbsd-10-base:1.32
	bouyer-sunxi-drm:1.32.0.42
	bouyer-sunxi-drm-base:1.32
	netbsd-9-3-RELEASE:1.32
	thorpej-i2c-spi-conf2:1.32.0.40
	thorpej-i2c-spi-conf2-base:1.32
	thorpej-futex2:1.32.0.38
	thorpej-futex2-base:1.32
	thorpej-cfargs2:1.32.0.36
	thorpej-cfargs2-base:1.32
	cjep_sun2x-base1:1.32
	cjep_sun2x:1.32.0.34
	cjep_sun2x-base:1.32
	cjep_staticlib_x-base1:1.32
	netbsd-9-2-RELEASE:1.32
	cjep_staticlib_x:1.32.0.32
	cjep_staticlib_x-base:1.32
	thorpej-i2c-spi-conf:1.32.0.30
	thorpej-i2c-spi-conf-base:1.32
	thorpej-cfargs:1.32.0.28
	thorpej-cfargs-base:1.32
	thorpej-futex:1.32.0.26
	thorpej-futex-base:1.32
	netbsd-9-1-RELEASE:1.32
	bouyer-xenpvh-base2:1.32
	phil-wifi-20200421:1.32
	bouyer-xenpvh-base1:1.32
	phil-wifi-20200411:1.32
	bouyer-xenpvh:1.32.0.24
	bouyer-xenpvh-base:1.32
	is-mlppp:1.32.0.22
	is-mlppp-base:1.32
	phil-wifi-20200406:1.32
	netbsd-8-2-RELEASE:1.32
	ad-namecache-base3:1.32
	netbsd-9-0-RELEASE:1.32
	netbsd-9-0-RC2:1.32
	ad-namecache-base2:1.32
	ad-namecache-base1:1.32
	ad-namecache:1.32.0.20
	ad-namecache-base:1.32
	netbsd-9-0-RC1:1.32
	phil-wifi-20191119:1.32
	netbsd-9:1.32.0.18
	netbsd-9-base:1.32
	phil-wifi-20190609:1.32
	netbsd-8-1-RELEASE:1.32
	netbsd-8-1-RC1:1.32
	isaki-audio2:1.32.0.16
	isaki-audio2-base:1.32
	pgoyette-compat-merge-20190127:1.32
	pgoyette-compat-20190127:1.32
	pgoyette-compat-20190118:1.32
	pgoyette-compat-1226:1.32
	pgoyette-compat-1126:1.32
	pgoyette-compat-1020:1.32
	pgoyette-compat-0930:1.32
	pgoyette-compat-0906:1.32
	netbsd-7-2-RELEASE:1.29
	pgoyette-compat-0728:1.32
	netbsd-8-0-RELEASE:1.32
	phil-wifi:1.32.0.14
	phil-wifi-base:1.32
	pgoyette-compat-0625:1.32
	netbsd-8-0-RC2:1.32
	pgoyette-compat-0521:1.32
	pgoyette-compat-0502:1.32
	pgoyette-compat-0422:1.32
	netbsd-8-0-RC1:1.32
	pgoyette-compat-0415:1.32
	pgoyette-compat-0407:1.32
	pgoyette-compat-0330:1.32
	pgoyette-compat-0322:1.32
	pgoyette-compat-0315:1.32
	netbsd-7-1-2-RELEASE:1.29
	pgoyette-compat:1.32.0.12
	pgoyette-compat-base:1.32
	netbsd-7-1-1-RELEASE:1.29
	tls-maxphys-base-20171202:1.32
	matt-nb8-mediatek:1.32.0.10
	matt-nb8-mediatek-base:1.32
	nick-nhusb-base-20170825:1.32
	perseant-stdc-iso10646:1.32.0.8
	perseant-stdc-iso10646-base:1.32
	netbsd-8:1.32.0.6
	netbsd-8-base:1.32
	prg-localcount2-base3:1.32
	prg-localcount2-base2:1.32
	prg-localcount2-base1:1.32
	prg-localcount2:1.32.0.4
	prg-localcount2-base:1.32
	pgoyette-localcount-20170426:1.32
	bouyer-socketcan-base1:1.32
	jdolecek-ncq:1.32.0.2
	jdolecek-ncq-base:1.32
	pgoyette-localcount-20170320:1.31
	netbsd-7-1:1.29.0.10
	netbsd-7-1-RELEASE:1.29
	netbsd-7-1-RC2:1.29
	nick-nhusb-base-20170204:1.31
	netbsd-7-nhusb-base-20170116:1.29
	bouyer-socketcan:1.31.0.2
	bouyer-socketcan-base:1.31
	pgoyette-localcount-20170107:1.31
	netbsd-7-1-RC1:1.29
	nick-nhusb-base-20161204:1.31
	pgoyette-localcount-20161104:1.31
	netbsd-7-0-2-RELEASE:1.29
	nick-nhusb-base-20161004:1.31
	localcount-20160914:1.31
	netbsd-7-nhusb:1.29.0.8
	netbsd-7-nhusb-base:1.29
	pgoyette-localcount-20160806:1.30
	pgoyette-localcount-20160726:1.30
	pgoyette-localcount:1.30.0.2
	pgoyette-localcount-base:1.30
	nick-nhusb-base-20160907:1.30
	nick-nhusb-base-20160529:1.30
	netbsd-7-0-1-RELEASE:1.29
	nick-nhusb-base-20160422:1.30
	nick-nhusb-base-20160319:1.30
	nick-nhusb-base-20151226:1.30
	netbsd-7-0:1.29.0.6
	netbsd-7-0-RELEASE:1.29
	nick-nhusb-base-20150921:1.30
	netbsd-7-0-RC3:1.29
	netbsd-7-0-RC2:1.29
	netbsd-7-0-RC1:1.29
	nick-nhusb-base-20150606:1.29
	nick-nhusb-base-20150406:1.29
	nick-nhusb:1.29.0.4
	nick-nhusb-base:1.29
	netbsd-5-2-3-RELEASE:1.18
	netbsd-5-1-5-RELEASE:1.18
	netbsd-6-0-6-RELEASE:1.25
	netbsd-6-1-5-RELEASE:1.25
	netbsd-7:1.29.0.2
	netbsd-7-base:1.29
	yamt-pagecache-base9:1.28
	yamt-pagecache-tag8:1.25
	netbsd-6-1-4-RELEASE:1.25
	netbsd-6-0-5-RELEASE:1.25
	tls-earlyentropy:1.28.0.2
	tls-earlyentropy-base:1.29
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.28
	riastradh-drm2-base3:1.28
	netbsd-6-1-3-RELEASE:1.25
	netbsd-6-0-4-RELEASE:1.25
	netbsd-5-2-2-RELEASE:1.18
	netbsd-5-1-4-RELEASE:1.18
	netbsd-6-1-2-RELEASE:1.25
	netbsd-6-0-3-RELEASE:1.25
	netbsd-5-2-1-RELEASE:1.18
	netbsd-5-1-3-RELEASE:1.18
	rmind-smpnet-nbase:1.28
	netbsd-6-1-1-RELEASE:1.25
	riastradh-drm2-base2:1.25
	riastradh-drm2-base1:1.25
	riastradh-drm2:1.25.0.24
	riastradh-drm2-base:1.25
	rmind-smpnet:1.25.0.16
	rmind-smpnet-base:1.28
	netbsd-6-1:1.25.0.22
	netbsd-6-0-2-RELEASE:1.25
	netbsd-6-1-RELEASE:1.25
	khorben-n900:1.25.0.20
	netbsd-6-1-RC4:1.25
	netbsd-6-1-RC3:1.25
	agc-symver:1.25.0.18
	agc-symver-base:1.25
	netbsd-6-1-RC2:1.25
	netbsd-6-1-RC1:1.25
	yamt-pagecache-base8:1.25
	netbsd-5-2:1.18.0.22
	netbsd-6-0-1-RELEASE:1.25
	yamt-pagecache-base7:1.25
	netbsd-5-2-RELEASE:1.18
	netbsd-5-2-RC1:1.18
	matt-nb6-plus-nbase:1.25
	yamt-pagecache-base6:1.25
	netbsd-6-0:1.25.0.14
	netbsd-6-0-RELEASE:1.25
	netbsd-6-0-RC2:1.25
	tls-maxphys:1.25.0.12
	tls-maxphys-base:1.29
	matt-nb6-plus:1.25.0.10
	matt-nb6-plus-base:1.25
	netbsd-6-0-RC1:1.25
	jmcneill-usbmp-base10:1.25
	yamt-pagecache-base5:1.25
	jmcneill-usbmp-base9:1.25
	yamt-pagecache-base4:1.25
	jmcneill-usbmp-base8:1.25
	jmcneill-usbmp-base7:1.25
	jmcneill-usbmp-base6:1.25
	jmcneill-usbmp-base5:1.25
	jmcneill-usbmp-base4:1.25
	jmcneill-usbmp-base3:1.25
	jmcneill-usbmp-pre-base2:1.25
	jmcneill-usbmp-base2:1.25
	netbsd-6:1.25.0.8
	netbsd-6-base:1.25
	netbsd-5-1-2-RELEASE:1.18
	netbsd-5-1-1-RELEASE:1.18
	jmcneill-usbmp:1.25.0.6
	jmcneill-usbmp-base:1.25
	jmcneill-audiomp3:1.25.0.4
	jmcneill-audiomp3-base:1.25
	yamt-pagecache-base3:1.25
	yamt-pagecache-base2:1.25
	yamt-pagecache:1.25.0.2
	yamt-pagecache-base:1.25
	rmind-uvmplock-nbase:1.23
	cherry-xenmp:1.23.0.2
	cherry-xenmp-base:1.23
	jym-xensuspend-nbase:1.23
	uebayasi-xip-base7:1.22
	bouyer-quota2-nbase:1.23
	bouyer-quota2:1.21.0.4
	bouyer-quota2-base:1.22
	jruoho-x86intr:1.21.0.2
	jruoho-x86intr-base:1.21
	matt-mips64-premerge-20101231:1.21
	matt-nb5-mips64-premerge-20101231:1.18
	matt-nb5-pq3:1.18.0.20
	matt-nb5-pq3-base:1.18
	netbsd-5-1:1.18.0.18
	uebayasi-xip-base6:1.21
	uebayasi-xip-base5:1.21
	netbsd-5-1-RELEASE:1.18
	uebayasi-xip-base4:1.21
	uebayasi-xip-base3:1.21
	yamt-nfs-mp-base11:1.21
	netbsd-5-1-RC4:1.18
	matt-nb5-mips64-k15:1.18
	uebayasi-xip-base2:1.21
	yamt-nfs-mp-base10:1.21
	netbsd-5-1-RC3:1.18
	netbsd-5-1-RC2:1.18
	uebayasi-xip-base1:1.20
	netbsd-5-1-RC1:1.18
	rmind-uvmplock:1.20.0.4
	rmind-uvmplock-base:1.23
	yamt-nfs-mp-base9:1.20
	uebayasi-xip:1.20.0.2
	uebayasi-xip-base:1.20
	netbsd-5-0-2-RELEASE:1.18
	matt-nb5-mips64-premerge-20091211:1.18
	matt-premerge-20091211:1.19
	yamt-nfs-mp-base8:1.19
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.18
	matt-nb4-mips64-k7-u2a-k9b:1.18
	matt-nb5-mips64-u1-k1-k5:1.18
	yamt-nfs-mp-base7:1.19
	matt-nb5-mips64:1.18.0.16
	netbsd-5-0-1-RELEASE:1.18
	jymxensuspend-base:1.19
	yamt-nfs-mp-base6:1.19
	yamt-nfs-mp-base5:1.19
	yamt-nfs-mp-base4:1.19
	yamt-nfs-mp-base3:1.19
	nick-hppapmap-base4:1.19
	nick-hppapmap-base3:1.19
	netbsd-5-0:1.18.0.14
	netbsd-5-0-RELEASE:1.18
	netbsd-5-0-RC4:1.18
	netbsd-5-0-RC3:1.18
	nick-hppapmap-base2:1.18
	netbsd-5-0-RC2:1.18
	jym-xensuspend:1.18.0.12
	jym-xensuspend-base:1.23
	netbsd-5-0-RC1:1.18
	haad-dm-base2:1.18
	haad-nbase2:1.18
	ad-audiomp2:1.18.0.10
	ad-audiomp2-base:1.18
	netbsd-5:1.18.0.8
	netbsd-5-base:1.18
	nick-hppapmap:1.18.0.6
	nick-hppapmap-base:1.19
	matt-mips64-base2:1.18
	haad-dm-base1:1.18
	wrstuden-revivesa-base-4:1.18
	netbsd-4-0-1-RELEASE:1.11.6.1
	wrstuden-revivesa-base-3:1.18
	wrstuden-revivesa-base-2:1.18
	wrstuden-fixsa-newbase:1.11.6.1
	nick-csl-alignment-base5:1.11
	haad-dm:1.18.0.4
	haad-dm-base:1.18
	wrstuden-revivesa-base-1:1.18
	simonb-wapbl-nbase:1.18
	yamt-pf42-base4:1.18
	simonb-wapbl:1.18.0.2
	simonb-wapbl-base:1.18
	yamt-pf42-base3:1.18
	hpcarm-cleanup-nbase:1.17
	yamt-pf42-baseX:1.17
	yamt-pf42-base2:1.17
	yamt-nfs-mp-base2:1.17
	wrstuden-revivesa:1.17.0.6
	wrstuden-revivesa-base:1.18
	yamt-nfs-mp:1.17.0.4
	yamt-nfs-mp-base:1.17
	yamt-pf42:1.17.0.2
	yamt-pf42-base:1.17
	ad-socklock-base1:1.17
	yamt-lazymbuf-base15:1.17
	yamt-lazymbuf-base14:1.17
	keiichi-mipv6-nbase:1.16
	mjf-devfs2:1.12.0.16
	mjf-devfs2-base:1.18
	nick-net80211-sync:1.12.0.14
	nick-net80211-sync-base:1.12
	keiichi-mipv6:1.12.0.12
	keiichi-mipv6-base:1.16
	bouyer-xeni386-merge1:1.12
	matt-armv6-prevmlocking:1.11.32.1
	wrstuden-fixsa-base-1:1.11.6.1
	vmlocking2-base3:1.12
	netbsd-4-0:1.11.6.1.0.4
	netbsd-4-0-RELEASE:1.11.6.1
	bouyer-xeni386-nbase:1.12
	yamt-kmem-base3:1.12
	cube-autoconf:1.12.0.10
	cube-autoconf-base:1.12
	yamt-kmem-base2:1.12
	bouyer-xeni386:1.12.0.8
	bouyer-xeni386-base:1.12
	yamt-kmem:1.12.0.6
	yamt-kmem-base:1.12
	vmlocking2-base2:1.12
	reinoud-bufcleanup-nbase:1.12
	vmlocking2:1.12.0.4
	vmlocking2-base1:1.12
	netbsd-4-0-RC5:1.11.6.1
	matt-nb4-arm:1.11.6.1.0.2
	matt-nb4-arm-base:1.11.6.1
	matt-armv6-nbase:1.16
	jmcneill-base:1.12
	netbsd-4-0-RC4:1.11.6.1
	mjf-devfs:1.12.0.2
	mjf-devfs-base:1.12
	bouyer-xenamd64-base2:1.12
	vmlocking-nbase:1.12
	yamt-x86pmap-base4:1.11
	bouyer-xenamd64:1.11.0.36
	bouyer-xenamd64-base:1.12
	netbsd-4-0-RC3:1.11
	yamt-x86pmap-base3:1.11
	yamt-x86pmap-base2:1.11
	netbsd-4-0-RC2:1.11
	yamt-x86pmap:1.11.0.34
	yamt-x86pmap-base:1.11
	netbsd-4-0-RC1:1.11
	matt-armv6:1.11.0.32
	matt-armv6-base:1.12
	jmcneill-pm:1.11.0.30
	jmcneill-pm-base:1.12
	hpcarm-cleanup:1.11.0.28
	hpcarm-cleanup-base:1.12
	nick-csl-alignment:1.11.0.26
	nick-csl-alignment-base:1.11
	matt-mips64:1.11.0.24
	matt-mips64-base:1.11
	netbsd-3-1-1-RELEASE:1.9
	netbsd-3-0-3-RELEASE:1.9
	yamt-idlelwp-base8:1.11
	wrstuden-fixsa:1.11.0.22
	wrstuden-fixsa-base:1.11.6.1
	ppcoea-renovation:1.11.0.20
	ppcoea-renovation-base:1.11
	thorpej-atomic:1.11.0.18
	thorpej-atomic-base:1.11
	reinoud-bufcleanup:1.11.0.16
	reinoud-bufcleanup-base:1.12
	mjf-ufs-trans:1.11.0.14
	mjf-ufs-trans-base:1.11
	vmlocking:1.11.0.12
	vmlocking-base:1.11
	ad-audiomp:1.11.0.10
	ad-audiomp-base:1.11
	yamt-idlelwp:1.11.0.8
	post-newlock2-merge:1.11
	newlock2-nbase:1.11
	yamt-splraiseipl-base5:1.11
	yamt-splraiseipl-base4:1.11
	yamt-splraiseipl-base3:1.11
	abandoned-netbsd-4-base:1.10
	abandoned-netbsd-4:1.10.0.18
	netbsd-3-1:1.9.0.20
	netbsd-3-1-RELEASE:1.9
	netbsd-3-0-2-RELEASE:1.9
	yamt-splraiseipl-base2:1.11
	netbsd-3-1-RC4:1.9
	yamt-splraiseipl:1.11.0.4
	yamt-splraiseipl-base:1.11
	netbsd-3-1-RC3:1.9
	yamt-pdpolicy-base9:1.11
	newlock2:1.11.0.2
	newlock2-base:1.11
	yamt-pdpolicy-base8:1.11
	netbsd-3-1-RC2:1.9
	netbsd-3-1-RC1:1.9
	yamt-pdpolicy-base7:1.10
	netbsd-4:1.11.0.6
	netbsd-4-base:1.11
	yamt-pdpolicy-base6:1.10
	chap-midi-nbase:1.10
	netbsd-3-0-1-RELEASE:1.9
	gdamore-uart:1.10.0.16
	gdamore-uart-base:1.10
	simonb-timcounters-final:1.10
	yamt-pdpolicy-base5:1.10
	chap-midi:1.10.0.14
	chap-midi-base:1.10
	yamt-pdpolicy-base4:1.10
	yamt-pdpolicy-base3:1.10
	peter-altq-base:1.10
	peter-altq:1.10.0.12
	yamt-pdpolicy-base2:1.10
	elad-kernelauth-base:1.10
	elad-kernelauth:1.10.0.10
	yamt-pdpolicy:1.10.0.8
	yamt-pdpolicy-base:1.10
	yamt-uio_vmspace-base5:1.10
	simonb-timecounters:1.10.0.6
	simonb-timecounters-base:1.10
	rpaulo-netinet-merge-pcb:1.10.0.4
	rpaulo-netinet-merge-pcb-base:1.11
	yamt-uio_vmspace:1.10.0.2
	netbsd-3-0:1.9.0.18
	netbsd-3-0-RELEASE:1.9
	netbsd-3-0-RC6:1.9
	yamt-readahead-base3:1.9
	netbsd-3-0-RC5:1.9
	netbsd-3-0-RC4:1.9
	netbsd-3-0-RC3:1.9
	yamt-readahead-base2:1.9
	netbsd-3-0-RC2:1.9
	yamt-readahead-pervnode:1.9
	yamt-readahead-perfile:1.9
	yamt-readahead:1.9.0.16
	yamt-readahead-base:1.9
	netbsd-3-0-RC1:1.9
	yamt-vop-base3:1.9
	netbsd-2-0-3-RELEASE:1.6.2.1
	netbsd-2-1:1.6.2.1.2.1.0.2
	yamt-vop-base2:1.9
	thorpej-vnode-attr:1.9.0.14
	thorpej-vnode-attr-base:1.9
	netbsd-2-1-RELEASE:1.6.2.1.2.1
	yamt-vop:1.9.0.12
	yamt-vop-base:1.9
	netbsd-2-1-RC6:1.6.2.1.2.1
	netbsd-2-1-RC5:1.6.2.1.2.1
	netbsd-2-1-RC4:1.6.2.1.2.1
	netbsd-2-1-RC3:1.6.2.1.2.1
	netbsd-2-1-RC2:1.6.2.1.2.1
	netbsd-2-1-RC1:1.6.2.1.2.1
	yamt-lazymbuf:1.9.0.10
	yamt-km-base4:1.9
	netbsd-2-0-2-RELEASE:1.6.2.1
	yamt-km-base3:1.9
	netbsd-3:1.9.0.8
	netbsd-3-base:1.9
	yamt-km-base2:1.9
	yamt-km:1.9.0.4
	yamt-km-base:1.9
	kent-audio2:1.9.0.2
	kent-audio2-base:1.9
	netbsd-2-0-1-RELEASE:1.6.2.1
	kent-audio1-beforemerge:1.9
	netbsd-2:1.6.2.1.0.2
	netbsd-2-base:1.6.2.1
	kent-audio1:1.8.0.2
	kent-audio1-base:1.8
	netbsd-2-0-RELEASE:1.6.2.1
	netbsd-2-0-RC5:1.6.2.1
	netbsd-2-0-RC4:1.6.2.1
	netbsd-2-0-RC3:1.6.2.1
	netbsd-2-0-RC2:1.6.2.1
	netbsd-2-0-RC1:1.6.2.1
	netbsd-2-0:1.6.0.2
	netbsd-2-0-base:1.6
	ktrace-lwp:1.1.0.2
	ktrace-lwp-base:1.9;
locks; strict;
comment	@# @;


1.32
date	2017.04.08.19.53.20;	author christos;	state Exp;
branches;
next	1.31;

1.31
date	2016.09.08.14.37.37;	author christos;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2015.06.23.20.54.43;	author matt;	state Exp;
branches
	1.30.2.1;
next	1.29;

1.29
date	2014.08.05.15.40.59;	author apb;	state Exp;
branches
	1.29.4.1;
next	1.28;

1.28
date	2014.01.27.21.37.17;	author apb;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	2014.01.16.01.15.33;	author christos;	state Exp;
branches;
next	1.26;

1.26
date	2014.01.12.15.26.28;	author tsutsui;	state Exp;
branches;
next	1.25;

1.25
date	2011.07.10.08.42.55;	author mrg;	state Exp;
branches
	1.25.2.1
	1.25.12.1
	1.25.16.1;
next	1.24;

1.24
date	2011.07.09.15.50.38;	author matt;	state Exp;
branches;
next	1.23;

1.23
date	2011.02.20.07.54.11;	author matt;	state Exp;
branches;
next	1.22;

1.22
date	2011.01.22.19.19.16;	author joerg;	state Exp;
branches;
next	1.21;

1.21
date	2010.05.27.06.58.13;	author dholland;	state Exp;
branches
	1.21.2.1
	1.21.4.1;
next	1.20;

1.20
date	2010.01.19.15.28.51;	author tsutsui;	state Exp;
branches
	1.20.2.1
	1.20.4.1;
next	1.19;

1.19
date	2009.03.15.10.47.59;	author tsutsui;	state Exp;
branches;
next	1.18;

1.18
date	2008.05.28.14.04.07;	author tsutsui;	state Exp;
branches
	1.18.6.1
	1.18.12.1;
next	1.17;

1.17
date	2008.03.23.17.19.57;	author tsutsui;	state Exp;
branches
	1.17.2.1
	1.17.4.1
	1.17.6.1;
next	1.16;

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

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

1.14
date	2008.03.01.18.13.02;	author tsutsui;	state Exp;
branches;
next	1.13;

1.13
date	2008.03.01.17.45.11;	author tsutsui;	state Exp;
branches;
next	1.12;

1.12
date	2007.10.30.15.07.07;	author tsutsui;	state Exp;
branches
	1.12.12.1
	1.12.16.1;
next	1.11;

1.11
date	2006.08.12.11.38.11;	author uwe;	state Exp;
branches
	1.11.6.1
	1.11.12.1
	1.11.22.1
	1.11.30.1
	1.11.32.1
	1.11.36.1;
next	1.10;

1.10
date	2005.12.11.12.17.06;	author christos;	state Exp;
branches
	1.10.4.1
	1.10.8.1
	1.10.18.1;
next	1.9;

1.9
date	2005.01.01.07.00.50;	author simonb;	state Exp;
branches
	1.9.10.1;
next	1.8;

1.8
date	2004.06.21.18.20.08;	author jmc;	state Exp;
branches;
next	1.7;

1.7
date	2004.04.10.12.30.26;	author tsutsui;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.27.21.03.18;	author cdi;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2004.01.07.12.43.44;	author cdi;	state Exp;
branches;
next	1.4;

1.4
date	2003.12.14.11.58.38;	author tsutsui;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.26.07.25.36;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	2003.10.08.01.40.22;	author simonb;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.25.17.24.21;	author cdi;	state Exp;
branches
	1.1.2.1;
next	;

1.31.2.1
date	2017.04.21.16.53.25;	author bouyer;	state Exp;
branches;
next	;

1.30.2.1
date	2017.04.26.02.53.01;	author pgoyette;	state Exp;
branches;
next	;

1.29.4.1
date	2015.09.22.12.05.39;	author skrll;	state Exp;
branches;
next	1.29.4.2;

1.29.4.2
date	2016.10.05.20.55.26;	author skrll;	state Exp;
branches;
next	1.29.4.3;

1.29.4.3
date	2017.08.28.17.51.33;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.28.2.1
date	2014.08.10.06.53.54;	author tls;	state Exp;
branches;
next	;

1.25.2.1
date	2014.05.22.11.39.37;	author yamt;	state Exp;
branches;
next	;

1.25.12.1
date	2014.08.20.00.02.51;	author tls;	state Exp;
branches;
next	1.25.12.2;

1.25.12.2
date	2017.12.03.11.36.00;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.25.16.1
date	2014.05.18.17.45.01;	author rmind;	state Exp;
branches;
next	;

1.21.2.1
date	2011.06.06.09.05.14;	author jruoho;	state Exp;
branches;
next	;

1.21.4.1
date	2011.02.08.16.19.14;	author bouyer;	state Exp;
branches;
next	1.21.4.2;

1.21.4.2
date	2011.03.05.15.09.35;	author bouyer;	state Exp;
branches;
next	;

1.20.2.1
date	2010.08.17.06.44.13;	author uebayasi;	state Exp;
branches;
next	;

1.20.4.1
date	2010.05.30.05.16.42;	author rmind;	state Exp;
branches;
next	1.20.4.2;

1.20.4.2
date	2011.03.05.20.49.49;	author rmind;	state Exp;
branches;
next	;

1.18.6.1
date	2009.04.28.07.33.57;	author skrll;	state Exp;
branches;
next	;

1.18.12.1
date	2009.05.13.17.16.37;	author jym;	state Exp;
branches;
next	;

1.17.2.1
date	2008.06.04.02.04.45;	author yamt;	state Exp;
branches;
next	;

1.17.4.1
date	2009.05.04.08.10.54;	author yamt;	state Exp;
branches;
next	1.17.4.2;

1.17.4.2
date	2010.03.11.15.02.12;	author yamt;	state Exp;
branches;
next	1.17.4.3;

1.17.4.3
date	2010.08.11.22.51.49;	author yamt;	state Exp;
branches;
next	;

1.17.6.1
date	2008.06.23.04.30.17;	author wrstuden;	state Exp;
branches;
next	;

1.12.12.1
date	2008.03.24.07.14.55;	author keiichi;	state Exp;
branches;
next	;

1.12.16.1
date	2008.04.03.12.42.13;	author mjf;	state Exp;
branches;
next	1.12.16.2;

1.12.16.2
date	2008.06.02.13.21.59;	author mjf;	state Exp;
branches;
next	;

1.11.6.1
date	2007.11.04.16.30.54;	author pavel;	state Exp;
branches;
next	;

1.11.12.1
date	2007.12.03.18.35.25;	author ad;	state Exp;
branches;
next	;

1.11.22.1
date	2008.01.06.05.00.52;	author wrstuden;	state Exp;
branches;
next	;

1.11.30.1
date	2007.10.31.23.13.56;	author joerg;	state Exp;
branches;
next	;

1.11.32.1
date	2007.11.06.23.15.43;	author matt;	state Exp;
branches;
next	1.11.32.2;

1.11.32.2
date	2008.03.23.02.03.57;	author matt;	state Exp;
branches;
next	;

1.11.36.1
date	2007.11.13.15.58.18;	author bouyer;	state Exp;
branches;
next	;

1.10.4.1
date	2006.09.09.02.38.28;	author rpaulo;	state Exp;
branches;
next	;

1.10.8.1
date	2006.09.03.15.22.50;	author yamt;	state Exp;
branches;
next	;

1.10.18.1
date	2006.08.15.13.36.05;	author tron;	state Exp;
branches;
next	;

1.9.10.1
date	2006.12.30.20.45.46;	author yamt;	state Exp;
branches;
next	1.9.10.2;

1.9.10.2
date	2007.11.15.11.42.39;	author yamt;	state Exp;
branches;
next	1.9.10.3;

1.9.10.3
date	2008.03.17.09.14.16;	author yamt;	state Exp;
branches;
next	1.9.10.4;

1.9.10.4
date	2008.03.24.09.38.38;	author yamt;	state Exp;
branches;
next	;

1.6.2.1
date	2004.06.22.07.55.00;	author tron;	state Exp;
branches
	1.6.2.1.2.1;
next	;

1.6.2.1.2.1
date	2005.04.13.21.52.41;	author tron;	state Exp;
branches;
next	;

1.1.2.1
date	2004.08.03.10.33.46;	author skrll;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2004.09.18.14.33.33;	author skrll;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2004.09.21.13.14.34;	author skrll;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2005.01.17.19.29.13;	author skrll;	state Exp;
branches;
next	;


desc
@@


1.32
log
@centralize vers.c building for standalone programs.
@
text
@#	$NetBSD: Makefile,v 1.31 2016/09/08 14:37:37 christos Exp $

NOMAN= # defined

.include <bsd.init.mk>

S=	${.CURDIR}/../../../..
MIPS=	${S}/arch/mips
COBALT=	${S}/arch/cobalt
LIBSADIR=	${S}/lib/libsa

# .PATH:	${.CURDIR}/../common

BINMODE?= 444

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

realall: ${PROG}

# Load @@15Mb boundary as most (all?) of the Cobalt boxes
# had been shipped with at least 16Mb.
#
# XXX The proper fix is to load at the kernel base address
# and to relocate itself at the end of available memory.
LOAD_ADDRESS?=0x80F00000

COMPORT?=0x0
COMSPEED?=115200
COMPROBE?=0xa020001c

ZSCHAN?=0x01		# 0x01: ZS_CHAN_A, 0x00: ZS_CHAN_B
ZSSPEED?=115200
ZSPROBE?=0xa020001c

AFLAGS+=	-D_LOCORE -D_KERNEL -DASSEMBLER -mno-abicalls

# -I${.CURDIR}/../.. done by Makefile.inc
CPPFLAGS+=	-nostdinc -D_STANDALONE -DNO_ABICALLS -D_NO_PROM_DEFINES
#CPPFLAGS+=	-D_DEBUG	\
#		-DLIBSA_PRINTF_LONGLONG_SUPPORT -DLIBSA_PRINTF_WIDTH_SUPPORT
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${S}/arch -I${LIBSADIR}
CPPFLAGS+=	-DCONS_SERIAL -DCOMPORT=${COMPORT}
CPPFLAGS+=	-DCOMSPEED=${COMSPEED} -DCOMPROBE=${COMPROBE}
CPPFLAGS+=	-DCONS_ZS -DZSCHAN=${ZSCHAN}
CPPFLAGS+=	-DZSSPEED=${ZSSPEED} -DZSPROBE=${ZSPROBE}
CPPFLAGS+=	-DSUPPORT_DHCP -DSUPPORT_BOOTP
#CPPFLAGS+=	-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG
#CPPFLAGS+=	-DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID

# compiler flags for smallest code size
CFLAGS=		-Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
AFLAGS+=	-mips3
CFLAGS+=	-mips3
.if ${MACHINE_ARCH} == "mips64el"
AFLAGS+=	-mabi=32
CFLAGS+=	-mabi=32
LINKFORMAT=	-m elf32ltsmip
.endif

CFLAGS+=	-Wall -Werror
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CFLAGS+=	-Wno-pointer-sign

NETBSD_VERS!=	${HOST_SH} ${S}/conf/osrelease.sh
CPPFLAGS+=	-DNETBSD_VERS='"${NETBSD_VERS}"'

LDSCRIPT?=	${MIPS}/conf/stand.ldscript

PROG=		boot
# common sources
SRCS+=		start.S boot.c devopen.c conf.c clock.c bootinfo.c
SRCS+=		prf.c com.c cons.c ns16550.c pciide.c tgets.c wdc.c wd.c
SRCS+=		zs.c
SRCS+=		cache.c pci.c nif_tlp.c tlp.c
SRCS+=		lcd.c

# XXX dev_net.c should really be in libsa, but it doesn't
#     declare ip_convertaddr correctly.
.PATH: ${LIBSADIR}
SRCS+=		dev_net.c

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

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

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+=SA_USE_LOADFILE=yes SA_USE_CREAD=yes
.include "${S}/lib/libsa/Makefile.inc"

LIBS=		${SALIB} ${ZLIB} ${KERNLIB}

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

${PROG}: ${LDSCRIPT} ${OBJS} ${LIBS}
	${LD} ${LINKFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \
	    -T ${LDSCRIPT} -e start -o ${PROG} ${OBJS} ${LIBS}
	${TOOL_GZIP_N} -c9 ${PROG} > ${PROG}.gz
	@@${SIZE} ${PROG}

CLEANFILES+=	${PROG}.map ${PROG}.elf ${PROG}.gz

cleandir distclean: .WAIT cleanlibdir

cleanlibdir:
	-rm -rf lib

.include <bsd.klinks.mk>
.include <bsd.prog.mk>
@


1.31
log
@Avoid the PIE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2015/06/23 20:54:43 matt Exp $
a86 3
SRCS+=		vers.c
CLEANFILES+=	vers.c

d102 1
a102 4
.PHONY: vers.c
vers.c: ${.CURDIR}/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version "cobalt"
@


1.31.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2017/04/08 19:53:20 christos Exp $
d87 3
d105 4
a108 1
.include "${S}/conf/newvers_stand.mk"
@


1.30
log
@Always build for mips3.  Use -Os instead -O2 for smallest code size.
text goes from 74608 to 63020
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2014/08/05 15:40:59 apb Exp $
d5 1
a5 1
.include <bsd.own.mk>
@


1.30.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2017/04/08 19:53:20 christos Exp $
d87 3
d105 4
a108 1
.include "${S}/conf/newvers_stand.mk"
@


1.29
log
@Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2014/01/27 21:37:17 apb Exp $
d56 3
a58 1
CFLAGS=		-O2 -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
d60 2
a61 2
AFLAGS+=	-mips3 -mabi=32
CFLAGS+=	-mips3 -mabi=32
@


1.29.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2015/06/23 20:54:43 matt Exp $
d56 1
a56 3
CFLAGS=		-Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
AFLAGS+=	-mips3
CFLAGS+=	-mips3
d58 2
a59 2
AFLAGS+=	-mabi=32
CFLAGS+=	-mabi=32
@


1.29.4.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29.4.1 2015/09/22 12:05:39 skrll Exp $
d5 1
a5 1
.include <bsd.init.mk>
@


1.29.4.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29.4.2 2016/10/05 20:55:26 skrll Exp $
d87 3
d105 4
a108 1
.include "${S}/conf/newvers_stand.mk"
@


1.28
log
@Pass the -n flag to gzip invocations.

This prevents it from embedding a timestamp in the output.  We pass
"-n" unconditionally, not conditional on MKREPRO, because many other
invocations of gzip already passed the -n flag unconditionally.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2014/01/16 01:15:33 christos Exp $
d111 1
a111 1
	${TOOL_GZIP} -nc9 ${PROG} > ${PROG}.gz
@


1.28.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2014/08/05 15:40:59 apb Exp $
d111 1
a111 1
	${TOOL_GZIP_N} -c9 ${PROG} > ${PROG}.gz
@


1.27
log
@eliminate use of bsd.sys.mk from Makefiles
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2014/01/12 15:26:28 tsutsui Exp $
d111 1
a111 1
	${TOOL_GZIP} -c9 ${PROG} > ${PROG}.gz
@


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

XXX: probabry we should have bsd.saprog.mk or something.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2011/07/10 08:42:55 mrg Exp $
a5 1
.include <bsd.sys.mk>		# for HOST_SH
@


1.25
log
@don't set MACHINE_ARCH.  the CPUFLAGS/etc. is enough, and otherwise this
doesn't work with an isolated $TOOLDIR from the mipse[lb] toolchain.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2011/07/09 15:50:38 matt Exp $
d19 1
@


1.25.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d6 1
a18 1
LIBCRTI=
d111 1
a111 1
	${TOOL_GZIP_N} -c9 ${PROG} > ${PROG}.gz
@


1.25.12.2
log
@update from HEAD
@
text
@d5 1
a5 1
.include <bsd.init.mk>
d56 1
a56 3
CFLAGS=		-Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
AFLAGS+=	-mips3
CFLAGS+=	-mips3
d58 2
a59 2
AFLAGS+=	-mabi=32
CFLAGS+=	-mabi=32
d85 3
d103 4
a106 1
.include "${S}/conf/newvers_stand.mk"
@


1.25.2.1
log
@sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2011/07/10 08:42:55 mrg Exp $
d6 1
a18 1
LIBCRTI=
d111 1
a111 1
	${TOOL_GZIP} -nc9 ${PROG} > ${PROG}.gz
@


1.25.16.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2011/07/10 08:42:55 mrg Exp $
d6 1
a18 1
LIBCRTI=
d111 1
a111 1
	${TOOL_GZIP} -nc9 ${PROG} > ${PROG}.gz
@


1.24
log
@Use TOOL_GZIP
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2011/02/20 07:54:11 matt Exp $
a60 1
MACHINE_ARCH=	mipsel
@


1.23
log
@Merge forward from matt-nb5-mips64.
(XXX generic kernels on raq2 die after interrupts are enabled but gxemul
works fine).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2011/01/22 19:19:16 joerg Exp $
d112 1
a112 1
	gzip -c9 ${PROG} > ${PROG}.gz
@


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

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/cobalt/stand/boot/Makefile,v 1.21 2010-05-27 06:58:13 dholland Exp $
d56 7
a62 1
CFLAGS=		-Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
d110 1
a110 1
	${LD} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \
@


1.21
log
@Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2010/01/19 15:28:51 tsutsui Exp $
d100 2
a101 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "cobalt"
@


1.21.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2011/02/20 07:54:11 matt Exp $
d56 1
a56 7
CFLAGS=		-O2 -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
.if ${MACHINE_ARCH} == "mips64el"
AFLAGS+=	-mips3 -mabi=32
CFLAGS+=	-mips3 -mabi=32
LINKFORMAT=	-m elf32ltsmip
MACHINE_ARCH=	mipsel
.endif
d100 1
a100 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version "cobalt"
d103 1
a103 1
	${LD} ${LINKFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \
@


1.21.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2011/01/22 19:19:16 joerg Exp $
d100 1
a100 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version "cobalt"
@


1.21.4.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d56 1
a56 7
CFLAGS=		-O2 -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
.if ${MACHINE_ARCH} == "mips64el"
AFLAGS+=	-mips3 -mabi=32
CFLAGS+=	-mips3 -mabi=32
LINKFORMAT=	-m elf32ltsmip
MACHINE_ARCH=	mipsel
.endif
d104 1
a104 1
	${LD} ${LINKFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \
@


1.20
log
@Use -DLIBSA_PRINTF_LONGLONG_SUPPORT -DLIBSA_PRINTF_WIDTH_SUPPORT
in debug printf()s.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2009/03/15 10:47:59 tsutsui Exp $
d110 1
a110 1
cleandir distclean: cleanlibdir
@


1.20.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d110 1
a110 1
cleandir distclean: .WAIT cleanlibdir
@


1.20.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2010/01/19 15:28:51 tsutsui Exp $
d110 1
a110 1
cleandir distclean: .WAIT cleanlibdir
@


1.20.4.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d56 1
a56 7
CFLAGS=		-O2 -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
.if ${MACHINE_ARCH} == "mips64el"
AFLAGS+=	-mips3 -mabi=32
CFLAGS+=	-mips3 -mabi=32
LINKFORMAT=	-m elf32ltsmip
MACHINE_ARCH=	mipsel
.endif
d100 1
a100 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version "cobalt"
d103 1
a103 1
	${LD} ${LINKFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \
@


1.19
log
@Use <bsd.klinks.mk> for MD include dir symlinks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2008/05/28 14:04:07 tsutsui Exp $
d44 2
a45 1
# CPPFLAGS+=	-D_DEBUG
@


1.18
log
@Print boot banner and a loading kernel name onto LCD,
for users who don't have serial console.  Bump version.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2008/03/23 17:19:57 tsutsui Exp $
d23 1
a23 15
.PHONY:		machine-links
beforedepend:	machine-links

machine-links:	machine cobalt mips
machine cobalt:
	-rm -f ${.TARGET}
	ln -s ${COBALT}/include ${.TARGET}

mips:
	-rm -f ${.TARGET}
	ln -s ${MIPS}/include ${.TARGET}

CLEANFILES+=	machine cobalt mips

realall: machine-links ${PROG}
d101 1
a101 1
${PROG}: machine-links ${LDSCRIPT} ${OBJS} ${LIBS}
d114 1
@


1.18.12.1
log
@Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2009/03/15 10:47:59 tsutsui Exp $
d23 15
a37 1
realall: ${PROG}
d115 1
a115 1
${PROG}: ${LDSCRIPT} ${OBJS} ${LIBS}
a127 1
.include <bsd.klinks.mk>
@


1.18.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2009/03/15 10:47:59 tsutsui Exp $
d23 15
a37 1
realall: ${PROG}
d115 1
a115 1
${PROG}: ${LDSCRIPT} ${OBJS} ${LIBS}
a127 1
.include <bsd.klinks.mk>
@


1.17
log
@Use macro defined in <machine/cpu.h> for cobalt_id and device addresses etc.
since <machine/leds.h> has been removed.
Also remove redundant address definitions in Makefile and local headers.
Pointed out by dieter roelants.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2008/03/16 10:10:43 tsutsui Exp $
d86 1
@


1.17.4.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2008/03/23 17:19:57 tsutsui Exp $
d23 15
a37 1
realall: ${PROG}
a85 1
SRCS+=		lcd.c
d114 1
a114 1
${PROG}: ${LDSCRIPT} ${OBJS} ${LIBS}
a126 1
.include <bsd.klinks.mk>
@


1.17.4.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17.4.1 2009/05/04 08:10:54 yamt Exp $
d44 1
a44 2
#CPPFLAGS+=	-D_DEBUG	\
#		-DLIBSA_PRINTF_LONGLONG_SUPPORT -DLIBSA_PRINTF_WIDTH_SUPPORT
@


1.17.4.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17.4.2 2010/03/11 15:02:12 yamt Exp $
d110 1
a110 1
cleandir distclean: .WAIT cleanlibdir
@


1.17.6.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2008/03/23 17:19:57 tsutsui Exp $
a85 1
SRCS+=		lcd.c
@


1.17.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2008/03/23 17:19:57 tsutsui Exp $
a85 1
SRCS+=		lcd.c
@


1.16
log
@Add support for optional Z85C30 serial console on Cobalt Qube 2700.
Bump version.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2008/03/02 06:17:41 tsutsui Exp $
a46 1
COMBASE?=0xbc800000
a50 1
ZSBASE?=0xbc800000
d60 1
a60 1
CPPFLAGS+=	-DCONS_SERIAL -DCOMBASE=${COMBASE} -DCOMPORT=${COMPORT}
d62 1
a62 1
CPPFLAGS+=	-DCONS_ZS -DZSBASE=${ZSBASE} -DZSCHAN=${ZSCHAN}
@


1.15
log
@WARNSfy
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2008/03/01 18:13:02 tsutsui Exp $
d51 5
d64 2
d86 1
@


1.14
log
@Split out a PCI configuration space read function into a separate file
so that we could use it in other sources.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2008/03/01 17:45:11 tsutsui Exp $
d66 4
@


1.13
log
@- print cobalt model names in boot banner
- bump version.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2007/10/30 15:07:07 tsutsui Exp $
d75 1
a75 1
SRCS+=		cache.c nif_tlp.c tlp.c
@


1.12
log
@Add support for netboot via tlp0 with standalone tlp(4) driver
taken from arch/sandpoint/stand/netboot.
There are still some kludge but it just works on RaQ and RaQ2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2006/08/12 11:38:11 uwe Exp $
d56 1
a56 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${LIBSADIR}
@


1.12.16.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d47 1
a50 4
ZSCHAN?=0x01		# 0x01: ZS_CHAN_A, 0x00: ZS_CHAN_B
ZSSPEED?=115200
ZSPROBE?=0xa020001c

d56 2
a57 2
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${S}/arch -I${LIBSADIR}
CPPFLAGS+=	-DCONS_SERIAL -DCOMPORT=${COMPORT}
a58 2
CPPFLAGS+=	-DCONS_ZS -DZSCHAN=${ZSCHAN}
CPPFLAGS+=	-DZSSPEED=${ZSSPEED} -DZSPROBE=${ZSPROBE}
a65 4
CFLAGS+=	-Wall -Werror
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CFLAGS+=	-Wno-pointer-sign

d75 1
a75 2
SRCS+=		zs.c
SRCS+=		cache.c pci.c nif_tlp.c tlp.c
@


1.12.16.2
log
@Sync with HEAD.
@
text
@a85 1
SRCS+=		lcd.c
@


1.12.12.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2008/03/16 10:10:43 tsutsui Exp $
a50 5
ZSCHAN?=0x01		# 0x01: ZS_CHAN_A, 0x00: ZS_CHAN_B
ZSBASE?=0xbc800000
ZSSPEED?=115200
ZSPROBE?=0xa020001c

d56 1
a56 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${S}/arch -I${LIBSADIR}
a58 2
CPPFLAGS+=	-DCONS_ZS -DZSBASE=${ZSBASE} -DZSCHAN=${ZSCHAN}
CPPFLAGS+=	-DZSSPEED=${ZSSPEED} -DZSPROBE=${ZSPROBE}
a65 4
CFLAGS+=	-Wall -Werror
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CFLAGS+=	-Wno-pointer-sign

d75 1
a75 2
SRCS+=		zs.c
SRCS+=		cache.c pci.c nif_tlp.c tlp.c
@


1.11
log
@Link libkern last.  It contains functions normally found in libgcc, so
other libraries might have references to them.

Makes this compile with gcc4 (that emits calls to __ash[rl]di3 in libsa).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2005/12/11 12:17:06 christos Exp $
d11 1
d56 1
a56 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${S}/lib/libsa
d59 3
d75 6
@


1.11.22.1
log
@Catch up to netbsd-4.0 release.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11.6.1 2007/11/04 16:30:54 pavel Exp $
a10 1
LIBSADIR=	${S}/lib/libsa
d55 1
a55 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${LIBSADIR}
a57 3
CPPFLAGS+=	-DSUPPORT_DHCP -DSUPPORT_BOOTP
#CPPFLAGS+=	-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG
#CPPFLAGS+=	-DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
a70 6
SRCS+=		cache.c nif_tlp.c tlp.c

# XXX dev_net.c should really be in libsa, but it doesn't
#     declare ip_convertaddr correctly.
.PATH: ${LIBSADIR}
SRCS+=		dev_net.c
@


1.11.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2006/08/12 11:38:11 uwe Exp $
a10 1
LIBSADIR=	${S}/lib/libsa
d55 1
a55 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${LIBSADIR}
a57 3
CPPFLAGS+=	-DSUPPORT_DHCP -DSUPPORT_BOOTP
#CPPFLAGS+=	-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG
#CPPFLAGS+=	-DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
a70 6
SRCS+=		cache.c nif_tlp.c tlp.c

# XXX dev_net.c should really be in libsa, but it doesn't
#     declare ip_convertaddr correctly.
.PATH: ${LIBSADIR}
SRCS+=		dev_net.c
@


1.11.36.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
a10 1
LIBSADIR=	${S}/lib/libsa
d55 1
a55 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${LIBSADIR}
a57 3
CPPFLAGS+=	-DSUPPORT_DHCP -DSUPPORT_BOOTP
#CPPFLAGS+=	-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG
#CPPFLAGS+=	-DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
a70 6
SRCS+=		cache.c nif_tlp.c tlp.c

# XXX dev_net.c should really be in libsa, but it doesn't
#     declare ip_convertaddr correctly.
.PATH: ${LIBSADIR}
SRCS+=		dev_net.c
@


1.11.32.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2007/10/30 15:07:07 tsutsui Exp $
a10 1
LIBSADIR=	${S}/lib/libsa
d55 1
a55 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${LIBSADIR}
a57 3
CPPFLAGS+=	-DSUPPORT_DHCP -DSUPPORT_BOOTP
#CPPFLAGS+=	-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG
#CPPFLAGS+=	-DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
a70 6
SRCS+=		cache.c nif_tlp.c tlp.c

# XXX dev_net.c should really be in libsa, but it doesn't
#     declare ip_convertaddr correctly.
.PATH: ${LIBSADIR}
SRCS+=		dev_net.c
@


1.11.32.2
log
@sync with HEAD
@
text
@d1 1
a1 1
#	Makefile,v 1.11.32.1 2007/11/06 23:15:43 matt Exp
a50 5
ZSCHAN?=0x01		# 0x01: ZS_CHAN_A, 0x00: ZS_CHAN_B
ZSBASE?=0xbc800000
ZSSPEED?=115200
ZSPROBE?=0xa020001c

d56 1
a56 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${S}/arch -I${LIBSADIR}
a58 2
CPPFLAGS+=	-DCONS_ZS -DZSBASE=${ZSBASE} -DZSCHAN=${ZSCHAN}
CPPFLAGS+=	-DZSSPEED=${ZSSPEED} -DZSPROBE=${ZSPROBE}
a65 4
CFLAGS+=	-Wall -Werror
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CFLAGS+=	-Wno-pointer-sign

d75 1
a75 2
SRCS+=		zs.c
SRCS+=		cache.c pci.c nif_tlp.c tlp.c
@


1.11.6.1
log
@Pull up following revisions (requested by tsutsui in ticket #974):
	sys/arch/cobalt/cobalt/autoconf.c: revision 1.25-1.26
	sys/arch/cobalt/cobalt/machdep.c: revision 1.89
	sys/arch/cobalt/stand/boot/Makefile: revision 1.12
	sys/arch/cobalt/stand/boot/boot.c: revision 1.10
	sys/arch/cobalt/stand/boot/boot.h: revision 1.6
	sys/arch/cobalt/stand/boot/cache.c: revision 1.1-1.2
	sys/arch/cobalt/stand/boot/clock.c: revision 1.2
	sys/arch/cobalt/stand/boot/conf.c: revision 1.5
	sys/arch/cobalt/stand/boot/devopen.c: revision 1.4
	sys/arch/cobalt/stand/boot/nif_tlp.c: revision 1.1
	sys/arch/cobalt/stand/boot/start.S: revision 1.6
	sys/arch/cobalt/stand/boot/tlp.c: revision 1.1-1.3
	sys/arch/cobalt/stand/boot/version: revision 1.6
	sys/lib/libsa/dev_net.h: revision 1.5
Add an extern decl of try_bootp variable here since MD sources could set it.

In device_register(), check booted devices more properly:
- check "tlp" name on netboot
- use ata channel and drive numbers to check wd unit

Assume netboot if "nfsroot=/path" is specified in bootstring.

Use PCI bus/dev/function numbers rather than device unit
to check first tlp in device_register().

Add support for netboot via tlp0 with standalone tlp(4) driver
taken from arch/sandpoint/stand/netboot.
There are still some kludge but it just works on RaQ and RaQ2.

Fix my stupid bug in cache flush code and remove one kludge for it.

- use chaned mode for RX descs and allocate only one desc per each cacheline
  to avoid possible race condition between CPU writeback vs DMA write
- remove unnecessary FS and LS bits from RxD->xd0
  (sys/dev/ic/tulipvar.h sets them but maybe they are ignored?)
@
text
@d1 1
a1 1
#	$NetBSD$
a10 1
LIBSADIR=	${S}/lib/libsa
d55 1
a55 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${LIBSADIR}
a57 3
CPPFLAGS+=	-DSUPPORT_DHCP -DSUPPORT_BOOTP
#CPPFLAGS+=	-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG
#CPPFLAGS+=	-DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
a70 6
SRCS+=		cache.c nif_tlp.c tlp.c

# XXX dev_net.c should really be in libsa, but it doesn't
#     declare ip_convertaddr correctly.
.PATH: ${LIBSADIR}
SRCS+=		dev_net.c
@


1.11.30.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2007/10/30 15:07:07 tsutsui Exp $
a10 1
LIBSADIR=	${S}/lib/libsa
d55 1
a55 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${LIBSADIR}
a57 3
CPPFLAGS+=	-DSUPPORT_DHCP -DSUPPORT_BOOTP
#CPPFLAGS+=	-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG
#CPPFLAGS+=	-DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
a70 6
SRCS+=		cache.c nif_tlp.c tlp.c

# XXX dev_net.c should really be in libsa, but it doesn't
#     declare ip_convertaddr correctly.
.PATH: ${LIBSADIR}
SRCS+=		dev_net.c
@


1.10
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.4 2005/01/17 19:29:13 skrll Exp $
d88 1
a88 1
LIBS=		${KERNLIB} ${SALIB} ${ZLIB}
@


1.10.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2006/08/12 11:38:11 uwe Exp $
d88 1
a88 1
LIBS=		${SALIB} ${ZLIB} ${KERNLIB}
@


1.10.8.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2005/12/11 12:17:06 christos Exp $
d88 1
a88 1
LIBS=		${SALIB} ${ZLIB} ${KERNLIB}
@


1.10.18.1
log
@Pull up following revision(s) (requested by uwe in ticket #23):
	sys/arch/cobalt/stand/boot/Makefile: revision 1.11
Link libkern last.  It contains functions normally found in libgcc, so
other libraries might have references to them.
Makes this compile with gcc4 (that emits calls to __ash[rl]di3 in libsa).
@
text
@d1 1
a1 1
#	$NetBSD$
d88 1
a88 1
LIBS=		${SALIB} ${ZLIB} ${KERNLIB}
@


1.9
log
@Don't specify the object format to pick the right endianness - the
linker already knows if it is big- or little-endian.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2004/06/21 18:20:08 jmc Exp $
@


1.9.10.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2005/01/01 07:00:50 simonb Exp $
d88 1
a88 1
LIBS=		${SALIB} ${ZLIB} ${KERNLIB}
@


1.9.10.2
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9.10.1 2006/12/30 20:45:46 yamt Exp $
a10 1
LIBSADIR=	${S}/lib/libsa
d55 1
a55 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${LIBSADIR}
a57 3
CPPFLAGS+=	-DSUPPORT_DHCP -DSUPPORT_BOOTP
#CPPFLAGS+=	-DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG
#CPPFLAGS+=	-DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID
a70 6
SRCS+=		cache.c nif_tlp.c tlp.c

# XXX dev_net.c should really be in libsa, but it doesn't
#     declare ip_convertaddr correctly.
.PATH: ${LIBSADIR}
SRCS+=		dev_net.c
@


1.9.10.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9.10.2 2007/11/15 11:42:39 yamt Exp $
a50 5
ZSCHAN?=0x01		# 0x01: ZS_CHAN_A, 0x00: ZS_CHAN_B
ZSBASE?=0xbc800000
ZSSPEED?=115200
ZSPROBE?=0xa020001c

d56 1
a56 1
CPPFLAGS+=	-I${.OBJDIR} -I${S} -I${S}/arch -I${LIBSADIR}
a58 2
CPPFLAGS+=	-DCONS_ZS -DZSBASE=${ZSBASE} -DZSCHAN=${ZSCHAN}
CPPFLAGS+=	-DZSSPEED=${ZSSPEED} -DZSPROBE=${ZSPROBE}
a65 4
CFLAGS+=	-Wall -Werror
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CFLAGS+=	-Wno-pointer-sign

d75 1
a75 2
SRCS+=		zs.c
SRCS+=		cache.c pci.c nif_tlp.c tlp.c
@


1.9.10.4
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9.10.3 2008/03/17 09:14:16 yamt Exp $
d47 1
d52 1
d62 1
a62 1
CPPFLAGS+=	-DCONS_SERIAL -DCOMPORT=${COMPORT}
d64 1
a64 1
CPPFLAGS+=	-DCONS_ZS -DZSCHAN=${ZSCHAN}
@


1.8
log
@Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2004/04/10 12:30:26 tsutsui Exp $
a60 1
OFORMAT=	--oformat elf32-littlemips
d95 1
a95 1
	${LD} ${OFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \
@


1.7
log
@Add a prompt to specify a kernel filename to be loaded on bootloader.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2004/01/27 21:03:18 cdi Exp $
d106 1
a106 1
	rm -rf lib
@


1.6
log
@Load the boot program at 0x80F00000 to give the boxes with just 16Mb of
RAM a chance to boot. Discussed with soren@@, tested on customer's board.

NB: While acceptable as a temporary workaround since most (all?) Cobalt
hardware comes with no less than 16Megs on board, changing a kernel load
address or making a boot loader relocatable could be a better solution.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2004/01/07 12:43:44 cdi Exp $
d71 1
a71 1
SRCS+=		prf.c com.c cons.c ns16550.c pciide.c wdc.c wd.c
@


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


1.6.2.1.2.1
log
@Pull up revision 1.7 (requested by tsutsui in ticket #1070):
Add a prompt to specify a kernel filename to be loaded on bootloader.
@
text
@d71 1
a71 1
SRCS+=		prf.c com.c cons.c ns16550.c pciide.c tgets.c wdc.c wd.c
@


1.5
log
@Pass some info from the boot loader to the kernel:

 - Kernel image name
 - Symbol table
 - A flag indicating console presence (could be clobbered if not passed)

Add _rtt() entry to the boot loader code.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2003/12/14 11:58:38 tsutsui Exp $
d38 6
a43 2
# PRIMARY_LOAD_ADDRESS?=	0x80600000
LOAD_ADDRESS?=0x81000000
@


1.4
log
@Include <bsd.own.mk> at the top so that machine-links are also created
on "make depend". Tested on my RaQ2, and fixes port-cobalt/23711.
While here, two more cosmetics:
- remove redundant definitions
- use NOMAN rather than setting MAN empty
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2003/10/26 07:25:36 lukem Exp $
d66 1
a66 1
SRCS+=		start.S boot.c devopen.c conf.c clock.c
@


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

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2003/10/08 01:40:22 simonb Exp $
d3 3
a10 1
PROG=	${BOOTPROG}
d85 1
a85 1
LIBS=		${KERNLIB} ${SALIB} ${ZLIB} ${KERNLIB}
a96 1
MAN=
a104 3

/usr/lib/crt0.o:
	true
@


1.2
log
@Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.1 2003/06/25 17:24:21 cdi Exp $
d57 1
a57 1
NETBSD_VERS!=	sh ${S}/conf/osrelease.sh
d87 1
a87 1
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "cobalt"
@


1.1
log
@Initial commit of a 1-stage boot loader for NetBSD/cobalt. Only booting off
the hard drive is supported at the moment.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.booters,v 1.5 2002/11/16 08:48:13 wdk Exp $
d11 6
@


1.1.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 6
#	$NetBSD: Makefile,v 1.8 2004/06/21 18:20:08 jmc Exp $

NOMAN= # defined

.include <bsd.own.mk>
.include <bsd.sys.mk>		# for HOST_SH
d6 1
a11 6
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

d28 2
a29 6
# Load @@15Mb boundary as most (all?) of the Cobalt boxes
# had been shipped with at least 16Mb.
#
# XXX The proper fix is to load at the kernel base address
# and to relocate itself at the end of available memory.
LOAD_ADDRESS?=0x80F00000
d49 1
a49 1
NETBSD_VERS!=	${HOST_SH} ${S}/conf/osrelease.sh
d56 2
a57 2
SRCS+=		start.S boot.c devopen.c conf.c clock.c bootinfo.c
SRCS+=		prf.c com.c cons.c ns16550.c pciide.c tgets.c wdc.c wd.c
d75 1
a75 1
LIBS=		${KERNLIB} ${SALIB} ${ZLIB}
d79 1
a79 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "cobalt"
d87 1
d93 1
a93 1
	-rm -rf lib
d96 3
@


1.1.2.2
log
@Sync with HEAD.
@
text
@@


1.1.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.1 2004/08/03 10:33:46 skrll Exp $
@


1.1.2.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.3 2004/09/21 13:14:34 skrll Exp $
d61 1
d96 1
a96 1
	${LD} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \
@


