head	1.38;
access;
symbols
	netbsd-11-0-RC4:1.37
	netbsd-11-0-RC3:1.37
	netbsd-11-0-RC2:1.37
	netbsd-11-0-RC1:1.37
	perseant-exfatfs-base-20250801:1.37
	netbsd-11:1.37.0.8
	netbsd-11-base:1.37
	netbsd-10-1-RELEASE:1.36
	perseant-exfatfs-base-20240630:1.37
	perseant-exfatfs:1.37.0.6
	perseant-exfatfs-base:1.37
	netbsd-8-3-RELEASE:1.35
	netbsd-9-4-RELEASE:1.35
	netbsd-10-0-RELEASE:1.36
	netbsd-10-0-RC6:1.36
	netbsd-10-0-RC5:1.36
	netbsd-10-0-RC4:1.36
	netbsd-10-0-RC3:1.36
	netbsd-10-0-RC2:1.36
	thorpej-ifq:1.37.0.4
	thorpej-ifq-base:1.37
	thorpej-altq-separation:1.37.0.2
	thorpej-altq-separation-base:1.37
	netbsd-10-0-RC1:1.36
	netbsd-10:1.36.0.20
	netbsd-10-base:1.36
	bouyer-sunxi-drm:1.36.0.18
	bouyer-sunxi-drm-base:1.36
	netbsd-9-3-RELEASE:1.35
	thorpej-i2c-spi-conf2:1.36.0.16
	thorpej-i2c-spi-conf2-base:1.36
	thorpej-futex2:1.36.0.14
	thorpej-futex2-base:1.36
	thorpej-cfargs2:1.36.0.12
	thorpej-cfargs2-base:1.36
	cjep_sun2x-base1:1.36
	cjep_sun2x:1.36.0.10
	cjep_sun2x-base:1.36
	cjep_staticlib_x-base1:1.36
	netbsd-9-2-RELEASE:1.35
	cjep_staticlib_x:1.36.0.8
	cjep_staticlib_x-base:1.36
	thorpej-i2c-spi-conf:1.36.0.6
	thorpej-i2c-spi-conf-base:1.36
	thorpej-cfargs:1.36.0.4
	thorpej-cfargs-base:1.36
	thorpej-futex:1.36.0.2
	thorpej-futex-base:1.36
	netbsd-9-1-RELEASE:1.35
	bouyer-xenpvh-base2:1.35
	phil-wifi-20200421:1.35
	bouyer-xenpvh-base1:1.35
	phil-wifi-20200411:1.35
	bouyer-xenpvh:1.35.0.24
	bouyer-xenpvh-base:1.35
	is-mlppp:1.35.0.22
	is-mlppp-base:1.35
	phil-wifi-20200406:1.35
	netbsd-8-2-RELEASE:1.35
	ad-namecache-base3:1.35
	netbsd-9-0-RELEASE:1.35
	netbsd-9-0-RC2:1.35
	ad-namecache-base2:1.35
	ad-namecache-base1:1.35
	ad-namecache:1.35.0.20
	ad-namecache-base:1.35
	netbsd-9-0-RC1:1.35
	phil-wifi-20191119:1.35
	netbsd-9:1.35.0.18
	netbsd-9-base:1.35
	phil-wifi-20190609:1.35
	netbsd-8-1-RELEASE:1.35
	netbsd-8-1-RC1:1.35
	isaki-audio2:1.35.0.16
	isaki-audio2-base:1.35
	pgoyette-compat-merge-20190127:1.35
	pgoyette-compat-20190127:1.35
	pgoyette-compat-20190118:1.35
	pgoyette-compat-1226:1.35
	pgoyette-compat-1126:1.35
	pgoyette-compat-1020:1.35
	pgoyette-compat-0930:1.35
	pgoyette-compat-0906:1.35
	netbsd-7-2-RELEASE:1.34
	pgoyette-compat-0728:1.35
	netbsd-8-0-RELEASE:1.35
	phil-wifi:1.35.0.14
	phil-wifi-base:1.35
	pgoyette-compat-0625:1.35
	netbsd-8-0-RC2:1.35
	pgoyette-compat-0521:1.35
	pgoyette-compat-0502:1.35
	pgoyette-compat-0422:1.35
	netbsd-8-0-RC1:1.35
	pgoyette-compat-0415:1.35
	pgoyette-compat-0407:1.35
	pgoyette-compat-0330:1.35
	pgoyette-compat-0322:1.35
	pgoyette-compat-0315:1.35
	netbsd-7-1-2-RELEASE:1.34
	pgoyette-compat:1.35.0.12
	pgoyette-compat-base:1.35
	netbsd-7-1-1-RELEASE:1.34
	tls-maxphys-base-20171202:1.35
	matt-nb8-mediatek:1.35.0.10
	matt-nb8-mediatek-base:1.35
	nick-nhusb-base-20170825:1.35
	perseant-stdc-iso10646:1.35.0.8
	perseant-stdc-iso10646-base:1.35
	netbsd-8:1.35.0.6
	netbsd-8-base:1.35
	prg-localcount2-base3:1.35
	prg-localcount2-base2:1.35
	prg-localcount2-base1:1.35
	prg-localcount2:1.35.0.4
	prg-localcount2-base:1.35
	pgoyette-localcount-20170426:1.35
	bouyer-socketcan-base1:1.35
	jdolecek-ncq:1.35.0.2
	jdolecek-ncq-base:1.35
	pgoyette-localcount-20170320:1.34
	netbsd-7-1:1.34.0.16
	netbsd-7-1-RELEASE:1.34
	netbsd-7-1-RC2:1.34
	nick-nhusb-base-20170204:1.34
	netbsd-7-nhusb-base-20170116:1.34
	bouyer-socketcan:1.34.0.14
	bouyer-socketcan-base:1.34
	pgoyette-localcount-20170107:1.34
	netbsd-7-1-RC1:1.34
	nick-nhusb-base-20161204:1.34
	pgoyette-localcount-20161104:1.34
	netbsd-7-0-2-RELEASE:1.34
	nick-nhusb-base-20161004:1.34
	localcount-20160914:1.34
	netbsd-7-nhusb:1.34.0.12
	netbsd-7-nhusb-base:1.34
	pgoyette-localcount-20160806:1.34
	pgoyette-localcount-20160726:1.34
	pgoyette-localcount:1.34.0.10
	pgoyette-localcount-base:1.34
	nick-nhusb-base-20160907:1.34
	nick-nhusb-base-20160529:1.34
	netbsd-7-0-1-RELEASE:1.34
	nick-nhusb-base-20160422:1.34
	nick-nhusb-base-20160319:1.34
	nick-nhusb-base-20151226:1.34
	netbsd-7-0:1.34.0.8
	netbsd-7-0-RELEASE:1.34
	nick-nhusb-base-20150921:1.34
	netbsd-7-0-RC3:1.34
	netbsd-7-0-RC2:1.34
	netbsd-7-0-RC1:1.34
	nick-nhusb-base-20150606:1.34
	nick-nhusb-base-20150406:1.34
	nick-nhusb:1.34.0.6
	nick-nhusb-base:1.34
	netbsd-5-2-3-RELEASE:1.25
	netbsd-5-1-5-RELEASE:1.25
	netbsd-6-0-6-RELEASE:1.31
	netbsd-6-1-5-RELEASE:1.31
	netbsd-7:1.34.0.4
	netbsd-7-base:1.34
	yamt-pagecache-base9:1.34
	yamt-pagecache-tag8:1.31.4.1
	netbsd-6-1-4-RELEASE:1.31
	netbsd-6-0-5-RELEASE:1.31
	tls-earlyentropy:1.34.0.2
	tls-earlyentropy-base:1.34
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.34
	riastradh-drm2-base3:1.34
	netbsd-6-1-3-RELEASE:1.31
	netbsd-6-0-4-RELEASE:1.31
	netbsd-5-2-2-RELEASE:1.25
	netbsd-5-1-4-RELEASE:1.25
	netbsd-6-1-2-RELEASE:1.31
	netbsd-6-0-3-RELEASE:1.31
	netbsd-5-2-1-RELEASE:1.25
	netbsd-5-1-3-RELEASE:1.25
	rmind-smpnet-nbase:1.34
	netbsd-6-1-1-RELEASE:1.31
	riastradh-drm2-base2:1.32
	riastradh-drm2-base1:1.32
	riastradh-drm2:1.32.0.10
	riastradh-drm2-base:1.32
	rmind-smpnet:1.32.0.4
	rmind-smpnet-base:1.34
	netbsd-6-1:1.31.0.16
	netbsd-6-0-2-RELEASE:1.31
	netbsd-6-1-RELEASE:1.31
	khorben-n900:1.32.0.8
	netbsd-6-1-RC4:1.31
	netbsd-6-1-RC3:1.31
	agc-symver:1.32.0.6
	agc-symver-base:1.32
	netbsd-6-1-RC2:1.31
	netbsd-6-1-RC1:1.31
	yamt-pagecache-base8:1.32
	netbsd-5-2:1.25.0.26
	netbsd-6-0-1-RELEASE:1.31
	yamt-pagecache-base7:1.32
	netbsd-5-2-RELEASE:1.25
	netbsd-5-2-RC1:1.25
	matt-nb6-plus-nbase:1.31
	yamt-pagecache-base6:1.32
	netbsd-6-0:1.31.0.14
	netbsd-6-0-RELEASE:1.31
	netbsd-6-0-RC2:1.31
	tls-maxphys:1.32.0.2
	tls-maxphys-base:1.34
	matt-nb6-plus:1.31.0.12
	matt-nb6-plus-base:1.31
	netbsd-6-0-RC1:1.31
	jmcneill-usbmp-base10:1.31
	yamt-pagecache-base5:1.31
	jmcneill-usbmp-base9:1.31
	yamt-pagecache-base4:1.31
	jmcneill-usbmp-base8:1.31
	jmcneill-usbmp-base7:1.31
	jmcneill-usbmp-base6:1.31
	jmcneill-usbmp-base5:1.31
	jmcneill-usbmp-base4:1.31
	jmcneill-usbmp-base3:1.31
	jmcneill-usbmp-pre-base2:1.31
	jmcneill-usbmp-base2:1.31
	netbsd-6:1.31.0.10
	netbsd-6-base:1.31
	netbsd-5-1-2-RELEASE:1.25
	netbsd-5-1-1-RELEASE:1.25
	jmcneill-usbmp:1.31.0.8
	jmcneill-usbmp-base:1.31
	jmcneill-audiomp3:1.31.0.6
	jmcneill-audiomp3-base:1.31
	yamt-pagecache-base3:1.31
	yamt-pagecache-base2:1.31
	yamt-pagecache:1.31.0.4
	yamt-pagecache-base:1.31
	rmind-uvmplock-nbase:1.31
	cherry-xenmp:1.31.0.2
	cherry-xenmp-base:1.31
	jym-xensuspend-nbase:1.31
	uebayasi-xip-base7:1.31
	bouyer-quota2-nbase:1.31
	bouyer-quota2:1.29.0.4
	bouyer-quota2-base:1.31
	jruoho-x86intr:1.29.0.2
	jruoho-x86intr-base:1.29
	matt-mips64-premerge-20101231:1.29
	matt-nb5-mips64-premerge-20101231:1.25
	matt-nb5-pq3:1.25.0.24
	matt-nb5-pq3-base:1.25
	netbsd-5-1:1.25.0.22
	uebayasi-xip-base6:1.29
	uebayasi-xip-base5:1.29
	netbsd-5-1-RELEASE:1.25
	uebayasi-xip-base4:1.29
	uebayasi-xip-base3:1.29
	yamt-nfs-mp-base11:1.25
	netbsd-5-1-RC4:1.25
	matt-nb5-mips64-k15:1.25
	uebayasi-xip-base2:1.25
	yamt-nfs-mp-base10:1.25
	netbsd-5-1-RC3:1.25
	netbsd-5-1-RC2:1.25
	uebayasi-xip-base1:1.25
	netbsd-5-1-RC1:1.25
	rmind-uvmplock:1.25.0.20
	rmind-uvmplock-base:1.31
	yamt-nfs-mp-base9:1.25
	uebayasi-xip:1.25.0.18
	uebayasi-xip-base:1.25
	netbsd-5-0-2-RELEASE:1.25
	matt-nb5-mips64-premerge-20091211:1.25
	matt-premerge-20091211:1.25
	yamt-nfs-mp-base8:1.25
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.25
	matt-nb4-mips64-k7-u2a-k9b:1.25
	matt-nb5-mips64-u1-k1-k5:1.25
	yamt-nfs-mp-base7:1.25
	matt-nb5-mips64:1.25.0.16
	netbsd-5-0-1-RELEASE:1.25
	jymxensuspend-base:1.25
	yamt-nfs-mp-base6:1.25
	yamt-nfs-mp-base5:1.25
	yamt-nfs-mp-base4:1.25
	yamt-nfs-mp-base3:1.25
	nick-hppapmap-base4:1.25
	nick-hppapmap-base3:1.25
	netbsd-5-0:1.25.0.14
	netbsd-5-0-RELEASE:1.25
	netbsd-5-0-RC4:1.25
	netbsd-5-0-RC3:1.25
	nick-hppapmap-base2:1.25
	netbsd-5-0-RC2:1.25
	jym-xensuspend:1.25.0.12
	jym-xensuspend-base:1.31
	netbsd-5-0-RC1:1.25
	haad-dm-base2:1.25
	haad-nbase2:1.25
	ad-audiomp2:1.25.0.10
	ad-audiomp2-base:1.25
	netbsd-5:1.25.0.8
	netbsd-5-base:1.25
	nick-hppapmap:1.25.0.6
	nick-hppapmap-base:1.25
	matt-mips64-base2:1.25
	haad-dm-base1:1.25
	wrstuden-revivesa-base-4:1.25
	netbsd-4-0-1-RELEASE:1.22
	wrstuden-revivesa-base-3:1.25
	wrstuden-revivesa-base-2:1.25
	wrstuden-fixsa-newbase:1.22
	nick-csl-alignment-base5:1.22
	haad-dm:1.25.0.4
	haad-dm-base:1.25
	wrstuden-revivesa-base-1:1.25
	simonb-wapbl-nbase:1.25
	yamt-pf42-base4:1.25
	simonb-wapbl:1.25.0.2
	simonb-wapbl-base:1.25
	yamt-pf42-base3:1.25
	hpcarm-cleanup-nbase:1.24
	yamt-pf42-baseX:1.24
	yamt-pf42-base2:1.24
	yamt-nfs-mp-base2:1.24
	wrstuden-revivesa:1.24.0.6
	wrstuden-revivesa-base:1.25
	yamt-nfs-mp:1.24.0.4
	yamt-nfs-mp-base:1.24
	yamt-pf42:1.24.0.2
	yamt-pf42-base:1.24
	ad-socklock-base1:1.23
	yamt-lazymbuf-base15:1.23
	yamt-lazymbuf-base14:1.23
	keiichi-mipv6-nbase:1.23
	mjf-devfs2:1.23.0.16
	mjf-devfs2-base:1.25
	nick-net80211-sync:1.23.0.14
	nick-net80211-sync-base:1.23
	keiichi-mipv6:1.23.0.12
	keiichi-mipv6-base:1.23
	bouyer-xeni386-merge1:1.23
	matt-armv6-prevmlocking:1.22.50.1
	wrstuden-fixsa-base-1:1.22
	vmlocking2-base3:1.23
	netbsd-4-0:1.22.0.58
	netbsd-4-0-RELEASE:1.22
	bouyer-xeni386-nbase:1.23
	yamt-kmem-base3:1.23
	cube-autoconf:1.23.0.10
	cube-autoconf-base:1.23
	yamt-kmem-base2:1.23
	bouyer-xeni386:1.23.0.8
	bouyer-xeni386-base:1.23
	yamt-kmem:1.23.0.6
	yamt-kmem-base:1.23
	vmlocking2-base2:1.23
	reinoud-bufcleanup-nbase:1.23
	vmlocking2:1.23.0.4
	vmlocking2-base1:1.23
	netbsd-4-0-RC5:1.22
	matt-nb4-arm:1.22.0.56
	matt-nb4-arm-base:1.22
	matt-armv6-nbase:1.23
	jmcneill-base:1.23
	netbsd-4-0-RC4:1.22
	mjf-devfs:1.23.0.2
	mjf-devfs-base:1.23
	bouyer-xenamd64-base2:1.23
	vmlocking-nbase:1.23
	yamt-x86pmap-base4:1.23
	bouyer-xenamd64:1.22.0.54
	bouyer-xenamd64-base:1.23
	netbsd-4-0-RC3:1.22
	yamt-x86pmap-base3:1.22
	yamt-x86pmap-base2:1.22
	netbsd-4-0-RC2:1.22
	yamt-x86pmap:1.22.0.52
	yamt-x86pmap-base:1.22
	netbsd-4-0-RC1:1.22
	matt-armv6:1.22.0.50
	matt-armv6-base:1.23
	jmcneill-pm:1.22.0.48
	jmcneill-pm-base:1.23
	hpcarm-cleanup:1.22.0.46
	hpcarm-cleanup-base:1.23
	nick-csl-alignment:1.22.0.44
	nick-csl-alignment-base:1.22
	matt-mips64:1.22.0.42
	matt-mips64-base:1.22
	netbsd-3-1-1-RELEASE:1.21
	netbsd-3-0-3-RELEASE:1.21
	yamt-idlelwp-base8:1.22
	wrstuden-fixsa:1.22.0.40
	wrstuden-fixsa-base:1.22
	ppcoea-renovation:1.22.0.38
	ppcoea-renovation-base:1.22
	thorpej-atomic:1.22.0.36
	thorpej-atomic-base:1.22
	reinoud-bufcleanup:1.22.0.34
	reinoud-bufcleanup-base:1.23
	mjf-ufs-trans:1.22.0.32
	mjf-ufs-trans-base:1.22
	vmlocking:1.22.0.30
	vmlocking-base:1.22
	ad-audiomp:1.22.0.28
	ad-audiomp-base:1.22
	yamt-idlelwp:1.22.0.26
	post-newlock2-merge:1.22
	newlock2-nbase:1.22
	yamt-splraiseipl-base5:1.22
	yamt-splraiseipl-base4:1.22
	yamt-splraiseipl-base3:1.22
	abandoned-netbsd-4-base:1.22
	abandoned-netbsd-4:1.22.0.18
	netbsd-3-1:1.21.0.22
	netbsd-3-1-RELEASE:1.21
	netbsd-3-0-2-RELEASE:1.21
	yamt-splraiseipl-base2:1.22
	netbsd-3-1-RC4:1.21
	yamt-splraiseipl:1.22.0.22
	yamt-splraiseipl-base:1.22
	netbsd-3-1-RC3:1.21
	yamt-pdpolicy-base9:1.22
	newlock2:1.22.0.20
	newlock2-base:1.22
	yamt-pdpolicy-base8:1.22
	netbsd-3-1-RC2:1.21
	netbsd-3-1-RC1:1.21
	yamt-pdpolicy-base7:1.22
	netbsd-4:1.22.0.24
	netbsd-4-base:1.22
	yamt-pdpolicy-base6:1.22
	chap-midi-nbase:1.22
	netbsd-3-0-1-RELEASE:1.21
	gdamore-uart:1.22.0.16
	gdamore-uart-base:1.22
	simonb-timcounters-final:1.22
	yamt-pdpolicy-base5:1.22
	chap-midi:1.22.0.14
	chap-midi-base:1.22
	yamt-pdpolicy-base4:1.22
	yamt-pdpolicy-base3:1.22
	peter-altq-base:1.22
	peter-altq:1.22.0.12
	yamt-pdpolicy-base2:1.22
	elad-kernelauth-base:1.22
	elad-kernelauth:1.22.0.10
	yamt-pdpolicy:1.22.0.8
	yamt-pdpolicy-base:1.22
	yamt-uio_vmspace-base5:1.22
	simonb-timecounters:1.22.0.6
	simonb-timecounters-base:1.22
	rpaulo-netinet-merge-pcb:1.22.0.4
	rpaulo-netinet-merge-pcb-base:1.22
	yamt-uio_vmspace:1.22.0.2
	netbsd-3-0:1.21.0.20
	netbsd-3-0-RELEASE:1.21
	netbsd-3-0-RC6:1.21
	yamt-readahead-base3:1.21
	netbsd-3-0-RC5:1.21
	netbsd-3-0-RC4:1.21
	netbsd-3-0-RC3:1.21
	yamt-readahead-base2:1.21
	netbsd-3-0-RC2:1.21
	yamt-readahead-pervnode:1.21
	yamt-readahead-perfile:1.21
	yamt-readahead:1.21.0.18
	yamt-readahead-base:1.21
	netbsd-3-0-RC1:1.21
	yamt-vop-base3:1.21
	netbsd-2-0-3-RELEASE:1.19.2.1
	netbsd-2-1:1.19.2.1.2.1.0.2
	yamt-vop-base2:1.21
	thorpej-vnode-attr:1.21.0.16
	thorpej-vnode-attr-base:1.21
	netbsd-2-1-RELEASE:1.19.2.1.2.1
	yamt-vop:1.21.0.14
	yamt-vop-base:1.21
	netbsd-2-1-RC6:1.19.2.1.2.1
	netbsd-2-1-RC5:1.19.2.1.2.1
	netbsd-2-1-RC4:1.19.2.1.2.1
	netbsd-2-1-RC3:1.19.2.1.2.1
	netbsd-2-1-RC2:1.19.2.1.2.1
	netbsd-2-1-RC1:1.19.2.1.2.1
	yamt-lazymbuf:1.21.0.12
	yamt-km-base4:1.21
	netbsd-2-0-2-RELEASE:1.19.2.1
	yamt-km-base3:1.21
	netbsd-3:1.21.0.10
	netbsd-3-base:1.21
	yamt-km-base2:1.21
	yamt-km:1.21.0.6
	yamt-km-base:1.21
	kent-audio2:1.21.0.4
	kent-audio2-base:1.21
	netbsd-2-0-1-RELEASE:1.19.2.1
	kent-audio1-beforemerge:1.21
	netbsd-2:1.19.2.1.0.2
	netbsd-2-base:1.19.2.1
	kent-audio1:1.21.0.2
	kent-audio1-base:1.21
	netbsd-2-0-RELEASE:1.19.2.1
	netbsd-2-0-RC5:1.19.2.1
	netbsd-2-0-RC4:1.19.2.1
	netbsd-2-0-RC3:1.19.2.1
	netbsd-2-0-RC2:1.19.2.1
	netbsd-2-0-RC1:1.19.2.1
	netbsd-2-0:1.19.0.2
	netbsd-2-0-base:1.19
	netbsd-1-6-PATCH002-RELEASE:1.16
	netbsd-1-6-PATCH002:1.16
	netbsd-1-6-PATCH002-RC4:1.16
	netbsd-1-6-PATCH002-RC3:1.16
	netbsd-1-6-PATCH002-RC2:1.16
	netbsd-1-6-PATCH002-RC1:1.16
	ktrace-lwp:1.16.0.10
	ktrace-lwp-base:1.21
	netbsd-1-6-PATCH001:1.16
	netbsd-1-6-PATCH001-RELEASE:1.16
	netbsd-1-6-PATCH001-RC3:1.16
	netbsd-1-6-PATCH001-RC2:1.16
	netbsd-1-6-PATCH001-RC1:1.16
	nathanw_sa_end:1.12.8.3
	nathanw_sa_before_merge:1.16
	fvdl_fs64_base:1.16
	gmcgarry_ctxsw:1.16.0.8
	gmcgarry_ctxsw_base:1.16
	gmcgarry_ucred:1.16.0.6
	gmcgarry_ucred_base:1.16
	nathanw_sa_base:1.16
	kqueue-aftermerge:1.16
	kqueue-beforemerge:1.16
	netbsd-1-6-RELEASE:1.16
	netbsd-1-6-RC3:1.16
	netbsd-1-6-RC2:1.16
	netbsd-1-6-RC1:1.16
	netbsd-1-6:1.16.0.4
	netbsd-1-6-base:1.16
	gehenna-devsw:1.16.0.2
	gehenna-devsw-base:1.16
	netbsd-1-5-PATCH003:1.9
	eeh-devprop:1.14.0.2
	eeh-devprop-base:1.14
	newlock:1.13.0.4
	newlock-base:1.13
	ifpoll-base:1.13
	nathanw_sa:1.12.0.8
	thorpej-mips-cache:1.12.0.6
	thorpej-mips-cache-base:1.12
	thorpej-devvp-base3:1.12
	thorpej-devvp-base2:1.12
	post-chs-ubcperf:1.12
	pre-chs-ubcperf:1.12
	thorpej-devvp:1.12.0.2
	thorpej-devvp-base:1.12
	netbsd-1-5-PATCH002:1.9
	kqueue:1.12.0.4
	kqueue-base:1.16
	netbsd-1-5-PATCH001:1.9
	thorpej_scsipi_beforemerge:1.12
	thorpej_scsipi_nbase:1.12
	netbsd-1-5-RELEASE:1.9
	netbsd-1-5-BETA2:1.9
	netbsd-1-5-BETA:1.9
	netbsd-1-4-PATCH003:1.6
	netbsd-1-5-ALPHA2:1.9
	netbsd-1-5:1.9.0.4
	netbsd-1-5-base:1.9
	minoura-xpg4dl:1.9.0.2
	minoura-xpg4dl-base:1.9
	netbsd-1-4-PATCH002:1.6
	chs-ubc2-newbase:1.9
	wrstuden-devbsize-19991221:1.8
	wrstuden-devbsize:1.8.0.8
	wrstuden-devbsize-base:1.8
	kame_141_19991130:1.6
	comdex-fall-1999:1.8.0.6
	comdex-fall-1999-base:1.8
	fvdl-softdep:1.8.0.4
	fvdl-softdep-base:1.8
	thorpej_scsipi:1.8.0.2
	thorpej_scsipi_base:1.12
	netbsd-1-4-PATCH001:1.6
	kame_14_19990705:1.6
	kame_14_19990628:1.6
	kame:1.6.0.6
	chs-ubc2:1.6.0.4
	chs-ubc2-base:1.8
	netbsd-1-4-RELEASE:1.6
	netbsd-1-4:1.6.0.2
	netbsd-1-4-base:1.6
	kenh-if-detach:1.5.0.4
	kenh-if-detach-base:1.5
	chs-ubc:1.5.0.2
	chs-ubc-base:1.5
	eeh-paddr_t:1.3.0.2
	eeh-paddr_t-base:1.3;
locks; strict;
comment	@# @;


1.38
date	2026.05.05.10.41.09;	author mrg;	state Exp;
branches;
next	1.37;
commitid	CdoxgNSQK8XfMBEG;

1.37
date	2023.06.03.08.52.56;	author lukem;	state Exp;
branches;
next	1.36;
commitid	JFrjk5m11qFkNtrE;

1.36
date	2020.09.07.22.22.17;	author mrg;	state Exp;
branches;
next	1.35;
commitid	fKeQgUwTLarTnanC;

1.35
date	2017.04.08.19.53.20;	author christos;	state Exp;
branches;
next	1.34;

1.34
date	2014.01.12.15.26.28;	author tsutsui;	state Exp;
branches
	1.34.6.1
	1.34.10.1
	1.34.14.1;
next	1.33;

1.33
date	2013.08.21.06.53.10;	author matt;	state Exp;
branches;
next	1.32;

1.32
date	2012.09.01.00.29.00;	author matt;	state Exp;
branches
	1.32.2.1
	1.32.4.1;
next	1.31;

1.31
date	2011.01.22.19.19.16;	author joerg;	state Exp;
branches
	1.31.4.1;
next	1.30;

1.30
date	2011.01.21.15.59.05;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2010.10.14.06.58.22;	author kiyohara;	state Exp;
branches
	1.29.2.1
	1.29.4.1;
next	1.28;

1.28
date	2010.10.14.06.50.43;	author kiyohara;	state Exp;
branches;
next	1.27;

1.27
date	2010.10.14.06.17.29;	author kiyohara;	state Exp;
branches;
next	1.26;

1.26
date	2010.10.14.05.40.40;	author kiyohara;	state Exp;
branches;
next	1.25;

1.25
date	2008.05.26.16.28.39;	author kiyohara;	state Exp;
branches
	1.25.18.1
	1.25.20.1;
next	1.24;

1.24
date	2008.03.26.14.56.18;	author kiyohara;	state Exp;
branches
	1.24.2.1
	1.24.4.1
	1.24.6.1;
next	1.23;

1.23
date	2007.10.17.19.54.06;	author garbled;	state Exp;
branches
	1.23.16.1;
next	1.22;

1.22
date	2005.12.11.12.17.04;	author christos;	state Exp;
branches
	1.22.30.1
	1.22.38.1
	1.22.48.1
	1.22.50.1
	1.22.52.1
	1.22.54.1;
next	1.21;

1.21
date	2004.11.25.08.09.15;	author jmc;	state Exp;
branches
	1.21.12.1;
next	1.20;

1.20
date	2004.06.21.18.20.08;	author jmc;	state Exp;
branches;
next	1.19;

1.19
date	2003.10.26.07.25.36;	author lukem;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2003.10.24.18.20.01;	author matt;	state Exp;
branches;
next	1.17;

1.17
date	2003.10.08.01.36.19;	author simonb;	state Exp;
branches;
next	1.16;

1.16
date	2002.04.09.16.05.37;	author sakamoto;	state Exp;
branches
	1.16.10.1;
next	1.15;

1.15
date	2002.04.08.16.09.58;	author sakamoto;	state Exp;
branches;
next	1.14;

1.14
date	2002.03.15.21.02.29;	author heinz;	state Exp;
branches;
next	1.13;

1.13
date	2001.12.12.01.49.41;	author tv;	state Exp;
branches;
next	1.12;

1.12
date	2001.02.17.11.11.13;	author sakamoto;	state Exp;
branches
	1.12.4.1
	1.12.8.1;
next	1.11;

1.11
date	2000.07.21.21.34.27;	author jdolecek;	state Exp;
branches;
next	1.10;

1.10
date	2000.07.08.15.40.53;	author jdolecek;	state Exp;
branches;
next	1.9;

1.9
date	2000.01.23.17.04.04;	author mycroft;	state Exp;
branches;
next	1.8;

1.8
date	99.06.28.01.20.43;	author sakamoto;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	99.06.24.01.10.31;	author sakamoto;	state Exp;
branches;
next	1.6;

1.6
date	99.02.13.02.54.43;	author lukem;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	98.10.26.00.45.47;	author sakamoto;	state Exp;
branches;
next	1.4;

1.4
date	98.10.05.02.01.57;	author sakamoto;	state Exp;
branches;
next	1.3;

1.3
date	98.03.27.00.11.07;	author sakamoto;	state Exp;
branches;
next	1.2;

1.2
date	98.01.19.03.00.55;	author sakamoto;	state Exp;
branches;
next	1.1;

1.1
date	98.01.16.04.17.35;	author sakamoto;	state Exp;
branches;
next	;

1.34.6.1
date	2017.08.28.17.51.32;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

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

1.34.14.1
date	2017.04.21.16.53.24;	author bouyer;	state Exp;
branches;
next	;

1.32.2.1
date	2014.08.20.00.02.50;	author tls;	state Exp;
branches;
next	1.32.2.2;

1.32.2.2
date	2017.12.03.11.35.59;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.32.4.1
date	2013.08.28.23.59.13;	author rmind;	state Exp;
branches;
next	1.32.4.2;

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

1.31.4.1
date	2012.10.30.17.19.14;	author yamt;	state Exp;
branches;
next	1.31.4.2;

1.31.4.2
date	2014.05.22.11.39.36;	author yamt;	state Exp;
branches;
next	;

1.29.2.1
date	2011.06.06.09.05.11;	author jruoho;	state Exp;
branches;
next	;

1.29.4.1
date	2011.02.08.16.19.13;	author bouyer;	state Exp;
branches;
next	;

1.25.18.1
date	2010.10.22.07.21.08;	author uebayasi;	state Exp;
branches;
next	;

1.25.20.1
date	2011.03.05.20.49.45;	author rmind;	state Exp;
branches;
next	;

1.24.2.1
date	2008.06.04.02.04.41;	author yamt;	state Exp;
branches;
next	;

1.24.4.1
date	2009.05.04.08.10.52;	author yamt;	state Exp;
branches;
next	;

1.24.6.1
date	2008.06.23.04.30.13;	author wrstuden;	state Exp;
branches;
next	;

1.23.16.1
date	2008.04.03.12.42.13;	author mjf;	state Exp;
branches;
next	1.23.16.2;

1.23.16.2
date	2008.06.02.13.21.58;	author mjf;	state Exp;
branches;
next	;

1.22.30.1
date	2007.10.23.20.12.27;	author ad;	state Exp;
branches;
next	;

1.22.38.1
date	2007.05.02.17.50.41;	author heinz;	state Exp;
branches;
next	;

1.22.48.1
date	2007.10.26.15.42.23;	author joerg;	state Exp;
branches;
next	;

1.22.50.1
date	2007.11.06.23.15.36;	author matt;	state Exp;
branches;
next	;

1.22.52.1
date	2007.10.18.08.31.51;	author yamt;	state Exp;
branches;
next	;

1.22.54.1
date	2007.10.25.22.35.43;	author bouyer;	state Exp;
branches;
next	;

1.21.12.1
date	2007.10.27.11.25.42;	author yamt;	state Exp;
branches;
next	;

1.19.2.1
date	2004.06.22.07.57.14;	author tron;	state Exp;
branches
	1.19.2.1.2.1;
next	;

1.19.2.1.2.1
date	2005.04.06.10.37.23;	author he;	state Exp;
branches;
next	;

1.16.10.1
date	2004.08.03.10.33.40;	author skrll;	state Exp;
branches;
next	1.16.10.2;

1.16.10.2
date	2004.09.18.14.33.21;	author skrll;	state Exp;
branches;
next	1.16.10.3;

1.16.10.3
date	2004.09.21.13.14.26;	author skrll;	state Exp;
branches;
next	1.16.10.4;

1.16.10.4
date	2004.11.29.07.24.03;	author skrll;	state Exp;
branches;
next	;

1.12.4.1
date	2002.01.10.19.40.49;	author thorpej;	state Exp;
branches;
next	1.12.4.2;

1.12.4.2
date	2002.06.23.17.35.27;	author jdolecek;	state Exp;
branches;
next	;

1.12.8.1
date	2002.01.08.00.23.46;	author nathanw;	state Exp;
branches;
next	1.12.8.2;

1.12.8.2
date	2002.04.01.07.39.39;	author nathanw;	state Exp;
branches;
next	1.12.8.3;

1.12.8.3
date	2002.04.17.00.02.50;	author nathanw;	state Exp;
branches;
next	;

1.8.2.1
date	2000.11.20.20.06.08;	author bouyer;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2001.03.12.13.27.59;	author bouyer;	state Exp;
branches;
next	;

1.6.4.1
date	99.07.01.23.06.29;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.38
log
@fix several builds by making the library order libsa, libz, libkern.
@
text
@#	$NetBSD: Makefile,v 1.37 2023/06/03 08:52:56 lukem Exp $

NOMAN= # defined

.include <bsd.own.mk>

COMMON= ${.CURDIR}/../common
COMMONOBJ!=	cd ${COMMON} && ${PRINTOBJDIR}

.PATH: ${.CURDIR}/../boot ${COMMONOBJ} ${.CURDIR}/../../../powerpc/powerpc

S= ${.CURDIR}/../../../..
L= ${COMMONOBJ}/lib

ELF2PEF= ${.CURDIR}/../../../powerpc/stand/mkbootimage

COMMONLIBDIR= ${.CURDIR}/../../../../../common

BASE?=		boot
PROG=		${BASE}
NEWVERSWHAT=	"BOOT"

SRCS= srt0.s
SRCS+= boot.c clock.c com.c conf.c cons.c cpu.c devopen.c
SRCS+= fd.c filesystem.c inkernel.c io.c kbd.c monitor.c ns16550.c
SRCS+= pci.c prf.c sd.c siop.c tgets.c vga.c video.c vreset.c wdc.c wd.c
SRCS+= setjmp.S

CFLAGS= -Wno-main -ffreestanding
AFLAGS= -x assembler-with-cpp

CPPFLAGS= -nostdinc
CPPFLAGS+= -I${.OBJDIR} -I${S} -I${COMMONLIBDIR}/include -I${S}/lib/libsa
CPPFLAGS+= -I${ELF2PEF}
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
CPPFLAGS+= -D_STANDALONE -DRELOC=${RELOC} -DUSE_SCAN
CPPFLAGS+= -D__daddr_t=int32_t
#CPPFLAGS+= -DDBMONITOR

.if (${BASE} == "boot")
CPPFLAGS+= -DCONS_BE
.elif (${BASE} == "boot_com0")
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3f8
.elif (${BASE} == "boot_vga")
CPPFLAGS+= -DCONS_VGA
.endif

STRIPFLAG=
BINMODE= 444

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

RELOC= 0x700000

CLEANFILES+= ${PROG}.elf

LIBS= ${L}/sa/libsa.a ${L}/z/libz.a ${L}/kern/libkern.a

${PROG}: ${OBJS} ${LIBS}
	${_MKTARGET_LINK}
	${LD} -o ${PROG}.elf -N -T ${.CURDIR}/../boot/ld.script \
		-Ttext ${RELOC} ${OBJS} ${LIBS}
	${STRIP} -o ${PROG} ${PROG}.elf

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

CWARNFLAGS.gcc+=	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

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


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

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

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2020/09/07 22:22:17 mrg Exp $
d62 1
a62 1
LIBS= ${L}/sa/libsa.a ${L}/kern/libkern.a ${L}/z/libz.a
@


1.36
log
@apply some GCC_NO_ADDR_OF_PACKED_MEMBER.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2017/04/08 19:53:20 christos Exp $
d72 1
a72 1
CWARNFLAGS.gcc+=	${GCC_NO_ADDR_OF_PACKED_MEMBER}
@


1.35
log
@centralize vers.c building for standalone programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2014/01/12 15:26:28 tsutsui Exp $
d72 2
@


1.34
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.33 2013/08/21 06:53:10 matt Exp $
d26 1
a26 1
SRCS+= pci.c prf.c sd.c siop.c tgets.c vers.c vga.c video.c vreset.c wdc.c wd.c
d60 1
a60 1
CLEANFILES+= vers.c ${PROG}.elf
a63 4
vers.c: ${.CURDIR}/../boot/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/../boot/version "bebox" ${NEWVERSWHAT}

d70 2
@


1.34.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2017/04/08 19:53:20 christos Exp $
d26 1
a26 1
SRCS+= pci.c prf.c sd.c siop.c tgets.c vga.c video.c vreset.c wdc.c wd.c
d60 1
a60 1
CLEANFILES+= ${PROG}.elf
d64 4
a73 2
.include "${S}/conf/newvers_stand.mk"

@


1.34.10.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2017/04/08 19:53:20 christos Exp $
d26 1
a26 1
SRCS+= pci.c prf.c sd.c siop.c tgets.c vga.c video.c vreset.c wdc.c wd.c
d60 1
a60 1
CLEANFILES+= ${PROG}.elf
d64 4
a73 2
.include "${S}/conf/newvers_stand.mk"

@


1.34.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2017/04/08 19:53:20 christos Exp $
d26 1
a26 1
SRCS+= pci.c prf.c sd.c siop.c tgets.c vga.c video.c vreset.c wdc.c wd.c
d60 1
a60 1
CLEANFILES+= ${PROG}.elf
d64 4
a73 2
.include "${S}/conf/newvers_stand.mk"

@


1.33
log
@Use <bsd.klinks.mk>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2012/09/01 00:29:00 matt Exp $
d53 1
@


1.32
log
@Add ${_MKTARGET_LINK}
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2011/01/22 19:19:16 joerg Exp $
d59 1
a59 1
CLEANFILES+= vers.c machine powerpc ${PROG}.elf
a62 13
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN: machine powerpc
.NOPATH: machine powerpc

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

powerpc::
	-rm -f $@@
	ln -s ${S}/arch/powerpc/include $@@
.endif

d74 1
@


1.32.2.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
a52 1
LIBCRTI=
d59 1
a59 1
CLEANFILES+= vers.c ${PROG}.elf
d63 13
a86 1
.include <bsd.klinks.mk>
@


1.32.2.2
log
@update from HEAD
@
text
@d26 1
a26 1
SRCS+= pci.c prf.c sd.c siop.c tgets.c vga.c video.c vreset.c wdc.c wd.c
d60 1
a60 1
CLEANFILES+= ${PROG}.elf
d64 4
a73 2
.include "${S}/conf/newvers_stand.mk"

@


1.32.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d59 1
a59 1
CLEANFILES+= vers.c ${PROG}.elf
d63 13
a86 1
.include <bsd.klinks.mk>
@


1.32.4.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32.4.1 2013/08/28 23:59:13 rmind Exp $
a52 1
LIBCRTI=
@


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

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2011/01/21 15:59:05 joerg Exp $
d81 1
@


1.31.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2011/01/22 19:19:16 joerg Exp $
a80 1
	${_MKTARGET_LINK}
@


1.31.4.2
log
@sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31.4.1 2012/10/30 17:19:14 yamt Exp $
a52 1
LIBCRTI=
d59 1
a59 1
CLEANFILES+= vers.c ${PROG}.elf
d63 13
a86 1
.include <bsd.klinks.mk>
@


1.30
log
@Switch remaining platforms to modern CPP for assembler.
@
text
@d1 1
a1 1
#	$NetBSD: src/sys/arch/bebox/stand/boot/Makefile,v 1.29 2010-10-14 06:58:22 kiyohara Exp $
d77 2
a78 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/../boot/version \
		"bebox" ${NEWVERSWHAT}
@


1.29
log
@Support kernel load from SCSI HDD with onboard siop.  It is very EXPERIMENTAL!!
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2010/10/14 06:50:43 kiyohara Exp $
d30 1
a30 1
AFLAGS= -x assembler-with-cpp -traditional-cpp
@


1.29.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2011/01/22 19:19:16 joerg Exp $
d30 1
a30 1
AFLAGS= -x assembler-with-cpp
d77 2
a78 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/../boot/version "bebox" ${NEWVERSWHAT}
@


1.29.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2011/01/22 19:19:16 joerg Exp $
d30 1
a30 1
AFLAGS= -x assembler-with-cpp
d77 2
a78 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/../boot/version "bebox" ${NEWVERSWHAT}
@


1.28
log
@Support kernel load from IDE HDD with onboard wdc.  like cobalt, sandpoint.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2010/10/14 06:17:29 kiyohara Exp $
d26 1
a26 1
SRCS+= pci.c prf.c tgets.c vers.c vga.c video.c vreset.c wdc.c wd.c
@


1.27
log
@Add pci.c to SRCS.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2010/10/14 05:40:40 kiyohara Exp $
d26 1
a26 1
SRCS+= pci.c prf.c tgets.c vers.c vga.c video.c vreset.c
@


1.26
log
@Add -I${S}/lib/libsa and reorder.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2008/05/26 16:28:39 kiyohara Exp $
d26 1
a26 1
SRCS+= prf.c tgets.c vers.c vga.c video.c vreset.c
@


1.25
log
@Split boot/boot_com0/boot_vga.
  boot supports framebuffer.
  boot_com0 supports com0.
  boot_vga supports vga, not frambuffer.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2007/12/19 18:28:50 garbled Exp $
d32 3
a34 1
CPPFLAGS= -nostdinc -I${.OBJDIR} -I${ELF2PEF} -I${S} -I${COMMONLIBDIR}/include
@


1.25.20.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d26 1
a26 1
SRCS+= pci.c prf.c sd.c siop.c tgets.c vers.c vga.c video.c vreset.c wdc.c wd.c
d30 1
a30 1
AFLAGS= -x assembler-with-cpp
d32 1
a32 3
CPPFLAGS= -nostdinc
CPPFLAGS+= -I${.OBJDIR} -I${S} -I${COMMONLIBDIR}/include -I${S}/lib/libsa
CPPFLAGS+= -I${ELF2PEF}
d75 2
a76 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/../boot/version "bebox" ${NEWVERSWHAT}
@


1.25.18.1
log
@Sync with HEAD (-D20101022).
@
text
@d1 1
a1 1
#	$NetBSD$
d26 1
a26 1
SRCS+= pci.c prf.c sd.c siop.c tgets.c vers.c vga.c video.c vreset.c wdc.c wd.c
d32 1
a32 3
CPPFLAGS= -nostdinc
CPPFLAGS+= -I${.OBJDIR} -I${S} -I${COMMONLIBDIR}/include -I${S}/lib/libsa
CPPFLAGS+= -I${ELF2PEF}
@


1.24
log
@We might be able to use VGA.  Please comment out for line '-DCONS_SERIAL'
if you wish for it.  In that case, you will occasionally see the hoarsely
and strangely transformed character on screen. This reason cannot be
understood yet.
Default is continuously a serial console.
@
text
@d1 10
a10 1
#	$NetBSD: Makefile,v 1.23 2007/10/17 19:54:06 garbled Exp $
d13 5
d19 26
a44 2
PROG= boot
NEWVERSWHAT= "BOOT"
d46 2
a47 1
BINMODE?=       444
d55 1
a55 1
realall: ${PROG}
d57 1
a57 23
ASRCS+= srt0.s
CSRCS+= boot.c clock.c com.c conf.c cons.c cpu.c devopen.c
CSRCS+= fd.c filesystem.c inkernel.c io.c tgets.c prf.c monitor.c
CSRCS+= kbd.c ns16550.c vreset.c vga.c video.c

SRCS=	${ASRCS} ${CSRCS}

CLEANFILES+= vers.c vers.o

COPTS+= -ffreestanding
CPPFLAGS= -I. -I${.CURDIR} -I${.CURDIR}/../elf2pef -I${.CURDIR}/../../..
CPPFLAGS+= -I${S} -I${S}/lib/libsa
CPPFLAGS+= -D_STANDALONE -DDBMONITOR -DRELOC=${RELOC}
CPPFLAGS+= -DUSE_SCAN
#CPPFLAGS+= -DCONS_BE
CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8

CFLAGS= -Wno-main
AFLAGS= -x assembler-with-cpp -traditional-cpp
NOMAN=	# defined
STRIPFLAG=
BINMODE= 444
d59 1
a59 1
RELOC= 0x700000
d62 1
a62 4
.BEGIN:
	@@[ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine
	@@[ -h powerpc ] || ln -s ${S}/arch/powerpc/include powerpc
.endif
a63 1
CLEANFILES+= machine powerpc
d65 8
a72 26
### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

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

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

.PHONY: vers.c
vers.c: version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" \
		${NEWVERSWHAT}

${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} vers.o
	${LD} -o ${PROG} -s -N -T ${.CURDIR}/ld.script -Ttext ${RELOC} ${OBJS} \
		${LIBSA} ${LIBZ} ${LIBKERN} vers.o

cleandir distclean: cleanlibdir
d74 8
a81 2
cleanlibdir:
	-rm -rf lib
@


1.24.4.1
log
@sync with head.
@
text
@d1 1
a1 10
#	$NetBSD: Makefile,v 1.24 2008/03/26 14:56:18 kiyohara Exp $

NOMAN= # defined

.include <bsd.own.mk>

COMMON= ${.CURDIR}/../common
COMMONOBJ!=	cd ${COMMON} && ${PRINTOBJDIR}

.PATH: ${.CURDIR}/../boot ${COMMONOBJ} ${.CURDIR}/../../../powerpc/powerpc
a3 1
L= ${COMMONOBJ}/lib
d5 2
a6 1
ELF2PEF= ${.CURDIR}/../../../powerpc/stand/mkbootimage
d8 1
a8 1
COMMONLIBDIR= ${.CURDIR}/../../../../../common
d10 5
a14 3
BASE?=		boot
PROG=		${BASE}
NEWVERSWHAT=	"BOOT"
d16 1
a16 5
SRCS= srt0.s
SRCS+= boot.c clock.c com.c conf.c cons.c cpu.c devopen.c
SRCS+= fd.c filesystem.c inkernel.c io.c kbd.c monitor.c ns16550.c
SRCS+= prf.c tgets.c vers.c vga.c video.c vreset.c
SRCS+= setjmp.S
d18 15
a32 14
CFLAGS= -Wno-main -ffreestanding
AFLAGS= -x assembler-with-cpp -traditional-cpp

CPPFLAGS= -nostdinc -I${.OBJDIR} -I${ELF2PEF} -I${S} -I${COMMONLIBDIR}/include
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
CPPFLAGS+= -D_STANDALONE -DRELOC=${RELOC} -DUSE_SCAN
CPPFLAGS+= -D__daddr_t=int32_t
#CPPFLAGS+= -DDBMONITOR

.if (${BASE} == "boot")
CPPFLAGS+= -DCONS_BE
.elif (${BASE} == "boot_com0")
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3f8
.elif (${BASE} == "boot_vga")
d34 1
a34 1
.endif
d36 3
a41 6
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

a43 4
CLEANFILES+= vers.c machine powerpc ${PROG}.elf

LIBS= ${L}/sa/libsa.a ${L}/kern/libkern.a ${L}/z/libz.a

d45 4
a48 1
.BEGIN: machine powerpc
d50 26
d77 1
a77 8
machine::
	-rm -f $@@
	ln -s ${S}/arch/${MACHINE}/include $@@

powerpc::
	-rm -f $@@
	ln -s ${S}/arch/powerpc/include $@@
.endif
d79 2
a80 8
vers.c: ${.CURDIR}/../boot/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/../boot/version \
		"bebox" ${NEWVERSWHAT}

${PROG}: ${OBJS} ${LIBS}
	${LD} -o ${PROG}.elf -N -T ${.CURDIR}/../boot/ld.script \
		-Ttext ${RELOC} ${OBJS} ${LIBS}
	${STRIP} -o ${PROG} ${PROG}.elf
@


1.24.6.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 10
#	$NetBSD: Makefile,v 1.24 2008/03/26 14:56:18 kiyohara Exp $

NOMAN= # defined

.include <bsd.own.mk>

COMMON= ${.CURDIR}/../common
COMMONOBJ!=	cd ${COMMON} && ${PRINTOBJDIR}

.PATH: ${.CURDIR}/../boot ${COMMONOBJ} ${.CURDIR}/../../../powerpc/powerpc
a3 1
L= ${COMMONOBJ}/lib
d5 2
a6 1
ELF2PEF= ${.CURDIR}/../../../powerpc/stand/mkbootimage
d8 1
a8 1
COMMONLIBDIR= ${.CURDIR}/../../../../../common
d10 5
a14 3
BASE?=		boot
PROG=		${BASE}
NEWVERSWHAT=	"BOOT"
d16 1
a16 5
SRCS= srt0.s
SRCS+= boot.c clock.c com.c conf.c cons.c cpu.c devopen.c
SRCS+= fd.c filesystem.c inkernel.c io.c kbd.c monitor.c ns16550.c
SRCS+= prf.c tgets.c vers.c vga.c video.c vreset.c
SRCS+= setjmp.S
d18 15
a32 14
CFLAGS= -Wno-main -ffreestanding
AFLAGS= -x assembler-with-cpp -traditional-cpp

CPPFLAGS= -nostdinc -I${.OBJDIR} -I${ELF2PEF} -I${S} -I${COMMONLIBDIR}/include
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
CPPFLAGS+= -D_STANDALONE -DRELOC=${RELOC} -DUSE_SCAN
CPPFLAGS+= -D__daddr_t=int32_t
#CPPFLAGS+= -DDBMONITOR

.if (${BASE} == "boot")
CPPFLAGS+= -DCONS_BE
.elif (${BASE} == "boot_com0")
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3f8
.elif (${BASE} == "boot_vga")
d34 1
a34 1
.endif
d36 3
a41 6
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

a43 4
CLEANFILES+= vers.c machine powerpc ${PROG}.elf

LIBS= ${L}/sa/libsa.a ${L}/kern/libkern.a ${L}/z/libz.a

d45 4
a48 1
.BEGIN: machine powerpc
d50 26
d77 1
a77 8
machine::
	-rm -f $@@
	ln -s ${S}/arch/${MACHINE}/include $@@

powerpc::
	-rm -f $@@
	ln -s ${S}/arch/powerpc/include $@@
.endif
d79 2
a80 8
vers.c: ${.CURDIR}/../boot/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/../boot/version \
		"bebox" ${NEWVERSWHAT}

${PROG}: ${OBJS} ${LIBS}
	${LD} -o ${PROG}.elf -N -T ${.CURDIR}/../boot/ld.script \
		-Ttext ${RELOC} ${OBJS} ${LIBS}
	${STRIP} -o ${PROG} ${PROG}.elf
@


1.24.2.1
log
@sync with head
@
text
@d1 1
a1 10
#	$NetBSD: Makefile,v 1.24 2008/03/26 14:56:18 kiyohara Exp $

NOMAN= # defined

.include <bsd.own.mk>

COMMON= ${.CURDIR}/../common
COMMONOBJ!=	cd ${COMMON} && ${PRINTOBJDIR}

.PATH: ${.CURDIR}/../boot ${COMMONOBJ} ${.CURDIR}/../../../powerpc/powerpc
a3 1
L= ${COMMONOBJ}/lib
d5 2
a6 1
ELF2PEF= ${.CURDIR}/../../../powerpc/stand/mkbootimage
d8 1
a8 1
COMMONLIBDIR= ${.CURDIR}/../../../../../common
d10 5
a14 3
BASE?=		boot
PROG=		${BASE}
NEWVERSWHAT=	"BOOT"
d16 1
a16 5
SRCS= srt0.s
SRCS+= boot.c clock.c com.c conf.c cons.c cpu.c devopen.c
SRCS+= fd.c filesystem.c inkernel.c io.c kbd.c monitor.c ns16550.c
SRCS+= prf.c tgets.c vers.c vga.c video.c vreset.c
SRCS+= setjmp.S
d18 15
a32 14
CFLAGS= -Wno-main -ffreestanding
AFLAGS= -x assembler-with-cpp -traditional-cpp

CPPFLAGS= -nostdinc -I${.OBJDIR} -I${ELF2PEF} -I${S} -I${COMMONLIBDIR}/include
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
CPPFLAGS+= -D_STANDALONE -DRELOC=${RELOC} -DUSE_SCAN
CPPFLAGS+= -D__daddr_t=int32_t
#CPPFLAGS+= -DDBMONITOR

.if (${BASE} == "boot")
CPPFLAGS+= -DCONS_BE
.elif (${BASE} == "boot_com0")
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3f8
.elif (${BASE} == "boot_vga")
d34 1
a34 1
.endif
d36 3
a41 6
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

a43 4
CLEANFILES+= vers.c machine powerpc ${PROG}.elf

LIBS= ${L}/sa/libsa.a ${L}/kern/libkern.a ${L}/z/libz.a

d45 4
a48 1
.BEGIN: machine powerpc
d50 26
d77 1
a77 8
machine::
	-rm -f $@@
	ln -s ${S}/arch/${MACHINE}/include $@@

powerpc::
	-rm -f $@@
	ln -s ${S}/arch/powerpc/include $@@
.endif
d79 2
a80 8
vers.c: ${.CURDIR}/../boot/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/../boot/version \
		"bebox" ${NEWVERSWHAT}

${PROG}: ${OBJS} ${LIBS}
	${LD} -o ${PROG}.elf -N -T ${.CURDIR}/../boot/ld.script \
		-Ttext ${RELOC} ${OBJS} ${LIBS}
	${STRIP} -o ${PROG} ${PROG}.elf
@


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

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22.38.1 2007/05/02 17:50:41 heinz Exp $
d33 1
a33 1
#CPPFLAGS+= -DCONS_VGA
@


1.23.16.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d33 1
a33 1
CPPFLAGS+= -DCONS_VGA
@


1.23.16.2
log
@Sync with HEAD.
@
text
@a2 9
NOMAN= # defined

.include <bsd.own.mk>

COMMON= ${.CURDIR}/../common
COMMONOBJ!=	cd ${COMMON} && ${PRINTOBJDIR}

.PATH: ${.CURDIR}/../boot ${COMMONOBJ} ${.CURDIR}/../../../powerpc/powerpc

a3 1
L= ${COMMONOBJ}/lib
d5 2
a6 1
ELF2PEF= ${.CURDIR}/../../../powerpc/stand/mkbootimage
d8 1
a8 1
COMMONLIBDIR= ${.CURDIR}/../../../../../common
d10 5
a14 3
BASE?=		boot
PROG=		${BASE}
NEWVERSWHAT=	"BOOT"
d16 1
a16 5
SRCS= srt0.s
SRCS+= boot.c clock.c com.c conf.c cons.c cpu.c devopen.c
SRCS+= fd.c filesystem.c inkernel.c io.c kbd.c monitor.c ns16550.c
SRCS+= prf.c tgets.c vers.c vga.c video.c vreset.c
SRCS+= setjmp.S
d18 15
a32 14
CFLAGS= -Wno-main -ffreestanding
AFLAGS= -x assembler-with-cpp -traditional-cpp

CPPFLAGS= -nostdinc -I${.OBJDIR} -I${ELF2PEF} -I${S} -I${COMMONLIBDIR}/include
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
CPPFLAGS+= -D_STANDALONE -DRELOC=${RELOC} -DUSE_SCAN
CPPFLAGS+= -D__daddr_t=int32_t
#CPPFLAGS+= -DDBMONITOR

.if (${BASE} == "boot")
CPPFLAGS+= -DCONS_BE
.elif (${BASE} == "boot_com0")
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3f8
.elif (${BASE} == "boot_vga")
d34 1
a34 1
.endif
d36 3
a41 6
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

a43 4
CLEANFILES+= vers.c machine powerpc ${PROG}.elf

LIBS= ${L}/sa/libsa.a ${L}/kern/libkern.a ${L}/z/libz.a

d45 4
a48 1
.BEGIN: machine powerpc
d50 26
d77 1
a77 8
machine::
	-rm -f $@@
	ln -s ${S}/arch/${MACHINE}/include $@@

powerpc::
	-rm -f $@@
	ln -s ${S}/arch/powerpc/include $@@
.endif
d79 2
a80 8
vers.c: ${.CURDIR}/../boot/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/../boot/version \
		"bebox" ${NEWVERSWHAT}

${PROG}: ${OBJS} ${LIBS}
	${LD} -o ${PROG}.elf -N -T ${.CURDIR}/../boot/ld.script \
		-Ttext ${RELOC} ${OBJS} ${LIBS}
	${STRIP} -o ${PROG} ${PROG}.elf
@


1.22
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16.10.4 2004/11/29 07:24:03 skrll Exp $
d33 2
a34 2
CPPFLAGS+= -DCONS_VGA
#CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
@


1.22.50.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2007/10/17 19:54:06 garbled Exp $
d33 2
a34 2
#CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
@


1.22.48.1
log
@Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2005/12/11 12:17:04 christos Exp $
d33 2
a34 2
#CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
@


1.22.54.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d33 2
a34 2
#CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
@


1.22.30.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2005/12/11 12:17:04 christos Exp $
d33 2
a34 2
#CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
@


1.22.52.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2005/12/11 12:17:04 christos Exp $
d33 2
a34 2
#CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
@


1.22.38.1
log
@Switch boot loader to serial console as default. VGA working (again?) is
still far away.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2005/12/11 12:17:04 christos Exp $
d33 2
a34 2
#CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
@


1.21
log
@Convert bebox's remaining host tools over to cross tools scheme. Builds to sets
w/o error now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2004/06/21 18:20:08 jmc Exp $
@


1.21.12.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2004/11/25 08:09:15 jmc Exp $
d33 2
a34 2
#CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
@


1.20
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.19 2003/10/26 07:25:36 lukem Exp $
d5 1
a5 1
BOOTPROG= boot
d8 10
d23 3
a25 1
CLEANFILES+= vers.c vers.o ${BOOTPROG}
a35 3
AOBJS=	${ASRCS:.s=.o}
COBJS=	${CSRCS:.c=.o}
OBJS=	${AOBJS} ${COBJS}
d70 2
a71 3
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" ${NEWVERSWHAT}

realall: ${BOOTPROG}
d73 2
a74 2
${BOOTPROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} vers.o
	${LD} -o ${BOOTPROG} -s -N -T ${.CURDIR}/ld.script -Ttext ${RELOC} ${OBJS} \
@


1.19
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.18 2003/10/24 18:20:01 matt Exp $
d72 1
a72 1
	rm -rf lib
@


1.19.2.1
log
@Pull up revision 1.20 (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$
d72 1
a72 1
	-rm -rf lib
@


1.19.2.1.2.1
log
@Pull up revision 1.21 (requested by jmc in ticket #1027):
  Convert bebox's remaining host tools over to the cross tools
  scheme.  Now allows complete bebox builds on non-NetBSD and
  non-BSD hosts.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19.2.1 2004/06/22 07:57:14 tron Exp $
d5 1
a5 1
PROG= boot
a7 10
BINMODE?=       444

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

realall: ${PROG}

d13 1
a13 3
SRCS=	${ASRCS} ${CSRCS}

CLEANFILES+= vers.c vers.o
d24 3
d61 3
a63 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" \
		${NEWVERSWHAT}
d65 2
a66 2
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} vers.o
	${LD} -o ${PROG} -s -N -T ${.CURDIR}/ld.script -Ttext ${RELOC} ${OBJS} \
@


1.18
log
@Make this build in a R/O build tree.  And add -I. for gcc3
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2003/10/08 01:36:19 simonb Exp $
d61 1
a61 1
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" ${NEWVERSWHAT}
@


1.17
log
@Use -ffreestanding.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2002/04/09 16:05:37 sakamoto Exp $
d16 1
a16 1
CPPFLAGS= -I${.CURDIR} -I${.CURDIR}/../elf2pef -I${.CURDIR}/../../..
d35 1
d39 1
@


1.16
log
@add CFLAGS=-Wno-main for void main, suggested by Tsutsui-san.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2002/04/08 16:09:58 sakamoto Exp $
d15 1
@


1.16.10.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2004/06/21 18:20:08 jmc Exp $
d15 1
a15 2
COPTS+= -ffreestanding
CPPFLAGS= -I. -I${.CURDIR} -I${.CURDIR}/../elf2pef -I${.CURDIR}/../../..
a33 1
.if !make(obj) && !make(clean) && !make(cleandir)
a36 1
.endif
d58 1
a58 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" ${NEWVERSWHAT}
d69 1
a69 1
	-rm -rf lib
@


1.16.10.2
log
@Sync with HEAD.
@
text
@@


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


1.16.10.4
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16.10.3 2004/09/21 13:14:26 skrll Exp $
d5 1
a5 1
PROG= boot
a7 10
BINMODE?=       444

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

realall: ${PROG}

d13 1
a13 3
SRCS=	${ASRCS} ${CSRCS}

CLEANFILES+= vers.c vers.o
d24 3
d61 3
a63 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" \
		${NEWVERSWHAT}
d65 2
a66 2
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} vers.o
	${LD} -o ${PROG} -s -N -T ${.CURDIR}/ld.script -Ttext ${RELOC} ${OBJS} \
@


1.15
log
@fix vers.o target.
add cleandir distclean cleanlibdir target, remove cleanobjs target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2002/03/15 21:02:29 heinz Exp $
d26 1
@


1.14
log
@add .CURDIR/ld.script to enable builds with OBJMACHINE=yes
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2001/12/12 01:49:41 tv Exp $
d13 1
a13 1
CLEANFILES+= vers.c ${BOOTPROG}
d61 1
a61 1
${BOOTPROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
d65 4
a68 3
remake: cleanobjs all
cleanobjs:
	rm -f ${OBJS}
@


1.13
log
@MKfoo=no -> NOfoo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2001/02/17 11:11:13 sakamoto Exp $
d62 1
a62 1
	${LD} -o ${BOOTPROG} -s -N -T ld.script -Ttext ${RELOC} ${OBJS} \
@


1.12
log
@fix multiple link vers.o
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2000/07/21 21:34:27 jdolecek Exp $
d27 1
a27 1
MKMAN=	no
@


1.12.4.1
log
@Sync kqueue branch with -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2001/12/12 01:49:41 tv Exp $
d27 1
a27 1
NOMAN=	# defined
@


1.12.4.2
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12.4.1 2002/01/10 19:40:49 thorpej Exp $
d13 1
a13 1
CLEANFILES+= vers.c vers.o ${BOOTPROG}
a25 1
CFLAGS= -Wno-main
d61 2
a62 2
${BOOTPROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} vers.o
	${LD} -o ${BOOTPROG} -s -N -T ${.CURDIR}/ld.script -Ttext ${RELOC} ${OBJS} \
d65 3
a67 4
cleandir distclean: cleanlibdir

cleanlibdir:
	rm -rf lib
@


1.12.8.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2001/02/17 11:11:13 sakamoto Exp $
d27 1
a27 1
NOMAN=	# defined
@


1.12.8.2
log
@Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
@
text
@d1 1
a1 1
#	$NetBSD$
d62 1
a62 1
	${LD} -o ${BOOTPROG} -s -N -T ${.CURDIR}/ld.script -Ttext ${RELOC} ${OBJS} \
@


1.12.8.3
log
@Catch up to -current.
@
text
@d13 1
a13 1
CLEANFILES+= vers.c vers.o ${BOOTPROG}
a25 1
CFLAGS= -Wno-main
d61 1
a61 1
${BOOTPROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} vers.o
d65 3
a67 4
cleandir distclean: cleanlibdir

cleanlibdir:
	rm -rf lib
@


1.11
log
@switch to sys/conf/newvers_stand.sh for generation of version files, no
functional changes
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2000/07/08 15:40:53 jdolecek Exp $
d11 1
a11 1
CSRCS+= kbd.c ns16550.c vers.c vreset.c vga.c video.c
@


1.10
log
@cleanup way vers.c file is created/compiled
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2000/01/23 17:04:04 mycroft Exp $
d55 1
d57 1
a57 1
	sh ${.CURDIR}/../newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
@


1.9
log
@Clean up the machine symlink stuff ever so slightly.  Needs to be
standardized between files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1999/06/28 01:20:43 sakamoto Exp $
d11 1
a11 1
CSRCS+= kbd.c ns16550.c vreset.c vga.c video.c
d13 1
a13 1
CLEANFILES+= vers.c vers.o ${BOOTPROG} ${.CURDIR}/lib
d55 3
a60 2
	sh ${.CURDIR}/../newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
	${COMPILE.c} vers.c
@


1.8
log
@Use loadfile.
KNF
b* -> mem*
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1999/02/13 02:54:43 lukem Exp $
a32 2
CLEANFILES+= ${.OBJDIR}/machine ${.OBJDIR}/powerpc

d36 2
d55 1
a55 1
all: ${BOOTPROG}
@


1.8.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,v 1.11 2000/07/21 21:34:27 jdolecek Exp $
d11 1
a11 1
CSRCS+= kbd.c ns16550.c vers.c vreset.c vga.c video.c
d13 1
a13 1
CLEANFILES+= vers.c ${BOOTPROG}
d33 2
a37 2
.NOPATH: machine powerpc
CLEANFILES+= machine powerpc
d55 1
a55 5
.PHONY: vers.c
vers.c: version
	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" ${NEWVERSWHAT}

realall: ${BOOTPROG}
d58 2
@


1.8.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8.2.1 2000/11/20 20:06:08 bouyer Exp $
d11 1
a11 1
CSRCS+= kbd.c ns16550.c vreset.c vga.c video.c
@


1.7
log
@Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
@
text
@d5 1
a5 2
BASE= boot
BOOTPROG= ${BASE}.pef
d13 1
a13 1
CLEANFILES+= vers.c vers.o netbsd.gz ${BASE} ${BOOTPROG} elf2pef
d15 4
a18 3
CPPFLAGS= -I${.CURDIR} -I${.CURDIR}/../../.. -I${S} -I${S}/lib/libsa
CPPFLAGS+= -D_STANDALONE -DDBMONITOR -DRELOC=${RELOC} -DENTRY=${ENTRY}
#CPPFLAGS+= -DUSE_SCAN
d20 2
a21 2
#CPPFLAGS+= -DCONS_VGA
CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
a30 1
ENTRY= 0x3100
a38 2
KERNEL?= ${S}/arch/bebox/compile/GENERIC/netbsd

d51 1
a51 1
SAMISCMAKEFLAGS= SA_USE_CREAD=yes
d57 1
a57 1
${BOOTPROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} elf2pef
d60 1
a60 1
	${LD} -o ${BASE} -s -N -T ld.script -Ttext ${RELOC} ${OBJS} \
a61 7
.if exists (${KERNEL})
	cat ${KERNEL} | gzip -9 > ${.CURDIR}/netbsd.gz
	${.CURDIR}/elf2pef ${BASE} $@@ ${.CURDIR}/netbsd.gz
.else
	${.CURDIR}/elf2pef ${BASE} $@@
.endif

d63 3
a65 3
elf2pef: elf2pef.c pef.h
	${HOST_LINK.c} -I/usr/include -I${.CURDIR} \
		-DENTRY=${ENTRY} -o ${.TARGET} ${.IMPSRC}
@


1.6
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1998/10/26 00:45:47 sakamoto Exp $
d6 1
a6 1
PROG= ${BASE}.pef
d9 4
a12 3
SRCS= srt0.s boot.c clock.c com.c conf.c cons.c cpu.c devopen.c
SRCS+= fd.c filesystem.c inkernel.c io.c pci.c tgets.c prf.c monitor.c
SRCS+= kbd.c ns16550.c vreset.c vga.c video.c
d14 1
a14 1
CLEANFILES+= vers.c vers.o netbsd.gz ${BASE} elf2pef
d16 3
a18 2
CPPFLAGS= -I${.CURDIR}/../../.. -I${S} -I${S}/lib/libsa
CPPFLAGS+= -DDBMONITOR -DRELOC=${RELOC} -DENTRY=${ENTRY}
d20 2
a21 4
CPPFLAGS+= -DCONS_VGA
#CPPFLAGS+= -DCONS_SERIAL
#CPPFLAGS+= -DCOMSPEED=9600 -DCOMPORT=0x3F8
#CPPFLAGS+= -DUSE_SCAN
d23 3
d34 5
d58 3
a60 1
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} elf2pef
d72 1
d74 2
a75 1
	${HOST_CC} -O -DENTRY=${ENTRY} -I${.CURDIR} -o $@@ ${.CURDIR}/elf2pef.c
@


1.6.4.1
log
@Sync w/ -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1999/06/28 01:20:43 sakamoto Exp $
d5 2
a6 1
BOOTPROG= boot
d9 8
a16 11
ASRCS+= srt0.s
CSRCS+= boot.c clock.c com.c conf.c cons.c cpu.c devopen.c
CSRCS+= fd.c filesystem.c inkernel.c io.c tgets.c prf.c monitor.c
CSRCS+= kbd.c ns16550.c vreset.c vga.c video.c

CLEANFILES+= vers.c vers.o ${BOOTPROG} ${.CURDIR}/lib

CPPFLAGS= -I${.CURDIR} -I${.CURDIR}/../elf2pef -I${.CURDIR}/../../..
CPPFLAGS+= -I${S} -I${S}/lib/libsa
CPPFLAGS+= -D_STANDALONE -DDBMONITOR -DRELOC=${RELOC}
CPPFLAGS+= -DUSE_SCAN
d19 3
a21 1
#CPPFLAGS+= -DCONS_SERIAL -DCOMSPEED=9600 -DCOMPORT=0x3F8
a22 3
AOBJS=	${ASRCS:.s=.o}
COBJS=	${CSRCS:.c=.o}
OBJS=	${AOBJS} ${COBJS}
d28 1
a30 1
CLEANFILES+= ${.OBJDIR}/machine ${.OBJDIR}/powerpc
d32 1
a32 3
.BEGIN:
	@@[ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine
	@@[ -h powerpc ] || ln -s ${S}/arch/powerpc/include powerpc
d46 1
a46 1
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes
d50 1
a50 3
all: ${BOOTPROG}

${BOOTPROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
d53 1
a53 1
	${LD} -o ${BOOTPROG} -s -N -T ld.script -Ttext ${RELOC} ${OBJS} \
d55 6
d62 2
a63 3
remake: cleanobjs all
cleanobjs:
	rm -f ${OBJS}
@


1.5
log
@Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1998/10/05 02:01:57 sakamoto Exp $
d24 1
a24 1
NOMAN=
@


1.4
log
@cleanup.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1998/03/27 00:11:07 sakamoto Exp $
d9 3
a11 3
SRCS= srt0.s boot.c clock.c com.c conf.c cons.c cpu.c crt.c devopen.c
SRCS+= fd.c filesystem.c io.c monitor.c ns16550.c prf.c tgets.c vreset.c
SRCS+= inkernel.c
d17 1
d21 1
a21 1
CPPFLAGS+= -DUSE_SCAN
@


1.3
log
@Change commented out default baudrate(38400 to 9600) of serial console.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1998/01/19 03:00:55 sakamoto Exp $
d52 1
a52 1
	${LD} -o ${BASE} -n -T ld.script -Ttext ${RELOC} ${OBJS} \
@


1.2
log
@Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 1998/01/16 04:17:35 sakamoto Exp $
d18 2
a19 2
#CPPFLAGS+= -DCONS_SERIAL 
#CPPFLAGS+= -DCOMSPEED=38400 -DCOMPORT=0x3F8
@


1.1
log
@initial import of bebox kernel loader.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1997/04/17 07:46:24 thorpej Exp $
d19 1
a19 1
#CPPFLAGS+= -DCOMSPEED=38400 -DCOMPORT=0
@
