head 1.88; access; symbols netbsd-11-0-RC5:1.88 netbsd-11-0-RC4:1.88 netbsd-11-0-RC3:1.88 netbsd-11-0-RC2:1.88 netbsd-11-0-RC1:1.88 perseant-exfatfs-base-20250801:1.88 netbsd-11:1.88.0.8 netbsd-11-base:1.88 netbsd-10-1-RELEASE:1.87.14.1 perseant-exfatfs-base-20240630:1.88 perseant-exfatfs:1.88.0.6 perseant-exfatfs-base:1.88 netbsd-8-3-RELEASE:1.84 netbsd-9-4-RELEASE:1.85 netbsd-10-0-RELEASE:1.87.14.1 netbsd-10-0-RC6:1.87.14.1 netbsd-10-0-RC5:1.87.14.1 netbsd-10-0-RC4:1.87.14.1 netbsd-10-0-RC3:1.87.14.1 netbsd-10-0-RC2:1.87.14.1 thorpej-ifq:1.88.0.4 thorpej-ifq-base:1.88 thorpej-altq-separation:1.88.0.2 thorpej-altq-separation-base:1.88 netbsd-10-0-RC1:1.87.14.1 netbsd-10:1.87.0.14 netbsd-10-base:1.87 bouyer-sunxi-drm:1.87.0.12 bouyer-sunxi-drm-base:1.87 netbsd-9-3-RELEASE:1.85 thorpej-i2c-spi-conf2:1.87.0.10 thorpej-i2c-spi-conf2-base:1.87 thorpej-futex2:1.87.0.8 thorpej-futex2-base:1.87 thorpej-cfargs2:1.87.0.6 thorpej-cfargs2-base:1.87 cjep_sun2x-base1:1.87 cjep_sun2x:1.87.0.4 cjep_sun2x-base:1.87 cjep_staticlib_x-base1:1.87 netbsd-9-2-RELEASE:1.85 cjep_staticlib_x:1.87.0.2 cjep_staticlib_x-base:1.87 thorpej-i2c-spi-conf:1.85.0.16 thorpej-i2c-spi-conf-base:1.87 thorpej-cfargs:1.85.0.14 thorpej-cfargs-base:1.85 thorpej-futex:1.85.0.12 thorpej-futex-base:1.85 netbsd-9-1-RELEASE:1.85 bouyer-xenpvh-base2:1.85 phil-wifi-20200421:1.85 bouyer-xenpvh-base1:1.85 phil-wifi-20200411:1.85 bouyer-xenpvh:1.85.0.10 bouyer-xenpvh-base:1.85 is-mlppp:1.85.0.8 is-mlppp-base:1.85 phil-wifi-20200406:1.85 netbsd-8-2-RELEASE:1.84 ad-namecache-base3:1.85 netbsd-9-0-RELEASE:1.85 netbsd-9-0-RC2:1.85 ad-namecache-base2:1.85 ad-namecache-base1:1.85 ad-namecache:1.85.0.6 ad-namecache-base:1.85 netbsd-9-0-RC1:1.85 phil-wifi-20191119:1.85 netbsd-9:1.85.0.4 netbsd-9-base:1.85 phil-wifi-20190609:1.85 netbsd-8-1-RELEASE:1.84 netbsd-8-1-RC1:1.84 isaki-audio2:1.85.0.2 isaki-audio2-base:1.85 pgoyette-compat-merge-20190127:1.84.16.1 pgoyette-compat-20190127:1.85 pgoyette-compat-20190118:1.85 pgoyette-compat-1226:1.85 pgoyette-compat-1126:1.85 pgoyette-compat-1020:1.85 pgoyette-compat-0930:1.85 pgoyette-compat-0906:1.84 netbsd-7-2-RELEASE:1.83 pgoyette-compat-0728:1.84 netbsd-8-0-RELEASE:1.84 phil-wifi:1.84.0.18 phil-wifi-base:1.84 pgoyette-compat-0625:1.84 netbsd-8-0-RC2:1.84 pgoyette-compat-0521:1.84 pgoyette-compat-0502:1.84 pgoyette-compat-0422:1.84 netbsd-8-0-RC1:1.84 pgoyette-compat-0415:1.84 pgoyette-compat-0407:1.84 pgoyette-compat-0330:1.84 pgoyette-compat-0322:1.84 pgoyette-compat-0315:1.84 netbsd-7-1-2-RELEASE:1.83 pgoyette-compat:1.84.0.16 pgoyette-compat-base:1.84 netbsd-7-1-1-RELEASE:1.83 tls-maxphys-base-20171202:1.84 matt-nb8-mediatek:1.84.0.14 matt-nb8-mediatek-base:1.84 nick-nhusb-base-20170825:1.84 perseant-stdc-iso10646:1.84.0.12 perseant-stdc-iso10646-base:1.84 netbsd-8:1.84.0.10 netbsd-8-base:1.84 prg-localcount2-base3:1.84 prg-localcount2-base2:1.84 prg-localcount2-base1:1.84 prg-localcount2:1.84.0.8 prg-localcount2-base:1.84 pgoyette-localcount-20170426:1.84 bouyer-socketcan-base1:1.84 jdolecek-ncq:1.84.0.6 jdolecek-ncq-base:1.84 pgoyette-localcount-20170320:1.84 netbsd-7-1:1.83.0.20 netbsd-7-1-RELEASE:1.83 netbsd-7-1-RC2:1.83 nick-nhusb-base-20170204:1.84 netbsd-7-nhusb-base-20170116:1.83 bouyer-socketcan:1.84.0.4 bouyer-socketcan-base:1.84 pgoyette-localcount-20170107:1.84 netbsd-7-1-RC1:1.83 nick-nhusb-base-20161204:1.84 pgoyette-localcount-20161104:1.84 netbsd-7-0-2-RELEASE:1.83 nick-nhusb-base-20161004:1.84 localcount-20160914:1.84 netbsd-7-nhusb:1.83.0.18 netbsd-7-nhusb-base:1.83 pgoyette-localcount-20160806:1.84 pgoyette-localcount-20160726:1.84 pgoyette-localcount:1.84.0.2 pgoyette-localcount-base:1.84 nick-nhusb-base-20160907:1.84 nick-nhusb-base-20160529:1.84 netbsd-7-0-1-RELEASE:1.83 nick-nhusb-base-20160422:1.84 nick-nhusb-base-20160319:1.84 nick-nhusb-base-20151226:1.83 netbsd-7-0:1.83.0.16 netbsd-7-0-RELEASE:1.83 nick-nhusb-base-20150921:1.83 netbsd-7-0-RC3:1.83 netbsd-7-0-RC2:1.83 netbsd-7-0-RC1:1.83 nick-nhusb-base-20150606:1.83 nick-nhusb-base-20150406:1.83 nick-nhusb:1.83.0.14 nick-nhusb-base:1.83 netbsd-5-2-3-RELEASE:1.80.4.2 netbsd-5-1-5-RELEASE:1.80.4.2 netbsd-6-0-6-RELEASE:1.82 netbsd-6-1-5-RELEASE:1.82 netbsd-7:1.83.0.12 netbsd-7-base:1.83 yamt-pagecache-base9:1.83 yamt-pagecache-tag8:1.82 netbsd-6-1-4-RELEASE:1.82 netbsd-6-0-5-RELEASE:1.82 tls-earlyentropy:1.83.0.10 tls-earlyentropy-base:1.83 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.83 riastradh-drm2-base3:1.83 netbsd-6-1-3-RELEASE:1.82 netbsd-6-0-4-RELEASE:1.82 netbsd-5-2-2-RELEASE:1.80.4.2 netbsd-5-1-4-RELEASE:1.80.4.2 netbsd-6-1-2-RELEASE:1.82 netbsd-6-0-3-RELEASE:1.82 netbsd-5-2-1-RELEASE:1.80.4.2 netbsd-5-1-3-RELEASE:1.80.4.2 rmind-smpnet-nbase:1.83 netbsd-6-1-1-RELEASE:1.82 riastradh-drm2-base2:1.83 riastradh-drm2-base1:1.83 riastradh-drm2:1.83.0.8 riastradh-drm2-base:1.83 rmind-smpnet:1.83.0.6 rmind-smpnet-base:1.83 netbsd-6-1:1.82.0.28 netbsd-6-0-2-RELEASE:1.82 netbsd-6-1-RELEASE:1.82 khorben-n900:1.83.0.4 netbsd-6-1-RC4:1.82 netbsd-6-1-RC3:1.82 agc-symver:1.83.0.2 agc-symver-base:1.83 netbsd-6-1-RC2:1.82 netbsd-6-1-RC1:1.82 yamt-pagecache-base8:1.82 netbsd-5-2:1.80.4.2.0.6 netbsd-6-0-1-RELEASE:1.82 yamt-pagecache-base7:1.82 netbsd-5-2-RELEASE:1.80.4.2 netbsd-5-2-RC1:1.80.4.2 matt-nb6-plus-nbase:1.82 yamt-pagecache-base6:1.82 netbsd-6-0:1.82.0.24 netbsd-6-0-RELEASE:1.82 netbsd-6-0-RC2:1.82 tls-maxphys:1.82.0.22 tls-maxphys-base:1.83 matt-nb6-plus:1.82.0.20 matt-nb6-plus-base:1.82 netbsd-6-0-RC1:1.82 jmcneill-usbmp-base10:1.82 yamt-pagecache-base5:1.82 jmcneill-usbmp-base9:1.82 yamt-pagecache-base4:1.82 jmcneill-usbmp-base8:1.82 jmcneill-usbmp-base7:1.82 jmcneill-usbmp-base6:1.82 jmcneill-usbmp-base5:1.82 jmcneill-usbmp-base4:1.82 jmcneill-usbmp-base3:1.82 jmcneill-usbmp-pre-base2:1.82 jmcneill-usbmp-base2:1.82 netbsd-6:1.82.0.18 netbsd-6-base:1.82 netbsd-5-1-2-RELEASE:1.80.4.2 netbsd-5-1-1-RELEASE:1.80.4.2 jmcneill-usbmp:1.82.0.16 jmcneill-usbmp-base:1.82 jmcneill-audiomp3:1.82.0.14 jmcneill-audiomp3-base:1.82 yamt-pagecache-base3:1.82 yamt-pagecache-base2:1.82 yamt-pagecache:1.82.0.12 yamt-pagecache-base:1.82 rmind-uvmplock-nbase:1.82 cherry-xenmp:1.82.0.10 cherry-xenmp-base:1.82 jym-xensuspend-nbase:1.82 uebayasi-xip-base7:1.82 bouyer-quota2-nbase:1.82 bouyer-quota2:1.82.0.8 bouyer-quota2-base:1.82 jruoho-x86intr:1.82.0.6 jruoho-x86intr-base:1.82 matt-mips64-premerge-20101231:1.82 matt-nb5-mips64-premerge-20101231:1.80.10.1 matt-nb5-pq3:1.80.4.2.0.4 matt-nb5-pq3-base:1.80.4.2 netbsd-5-1:1.80.4.2.0.2 uebayasi-xip-base6:1.82 uebayasi-xip-base5:1.82 netbsd-5-1-RELEASE:1.80.4.2 uebayasi-xip-base4:1.82 uebayasi-xip-base3:1.82 yamt-nfs-mp-base11:1.82 netbsd-5-1-RC4:1.80.4.2 matt-nb5-mips64-k15:1.80.10.1 uebayasi-xip-base2:1.82 yamt-nfs-mp-base10:1.82 netbsd-5-1-RC3:1.80.4.2 netbsd-5-1-RC2:1.80.4.2 uebayasi-xip-base1:1.82 netbsd-5-1-RC1:1.80.4.2 rmind-uvmplock:1.82.0.4 rmind-uvmplock-base:1.82 yamt-nfs-mp-base9:1.82 uebayasi-xip:1.82.0.2 uebayasi-xip-base:1.82 netbsd-5-0-2-RELEASE:1.80 matt-nb5-mips64-premerge-20091211:1.80 matt-premerge-20091211:1.82 yamt-nfs-mp-base8:1.81 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.80 matt-nb4-mips64-k7-u2a-k9b:1.80 matt-nb5-mips64-u1-k1-k5:1.80 yamt-nfs-mp-base7:1.81 matt-nb5-mips64:1.80.0.10 netbsd-5-0-1-RELEASE:1.80 jymxensuspend-base:1.81 yamt-nfs-mp-base6:1.81 yamt-nfs-mp-base5:1.81 yamt-nfs-mp-base4:1.81 yamt-nfs-mp-base3:1.81 nick-hppapmap-base4:1.81 nick-hppapmap-base3:1.81 netbsd-5-0:1.80.0.8 netbsd-5-0-RELEASE:1.80 netbsd-5-0-RC4:1.80 netbsd-5-0-RC3:1.80 nick-hppapmap-base2:1.81 netbsd-5-0-RC2:1.80 jym-xensuspend:1.81.0.2 jym-xensuspend-base:1.82 netbsd-5-0-RC1:1.80 haad-dm-base2:1.81 haad-nbase2:1.81 ad-audiomp2:1.80.0.6 ad-audiomp2-base:1.80 netbsd-5:1.80.0.4 netbsd-5-base:1.80 nick-hppapmap:1.80.0.2 nick-hppapmap-base:1.81 matt-mips64-base2:1.79 haad-dm-base1:1.79 wrstuden-revivesa-base-4:1.79 netbsd-4-0-1-RELEASE:1.77 wrstuden-revivesa-base-3:1.79 wrstuden-revivesa-base-2:1.79 wrstuden-fixsa-newbase:1.77 nick-csl-alignment-base5:1.78 haad-dm:1.79.0.26 haad-dm-base:1.81 wrstuden-revivesa-base-1:1.79 simonb-wapbl-nbase:1.79 yamt-pf42-base4:1.79 simonb-wapbl:1.79.0.24 simonb-wapbl-base:1.79 yamt-pf42-base3:1.79 hpcarm-cleanup-nbase:1.79 yamt-pf42-baseX:1.79 yamt-pf42-base2:1.79 yamt-nfs-mp-base2:1.79 wrstuden-revivesa:1.79.0.22 wrstuden-revivesa-base:1.79 yamt-nfs-mp:1.79.0.20 yamt-nfs-mp-base:1.79 yamt-pf42:1.79.0.18 yamt-pf42-base:1.79 ad-socklock-base1:1.79 yamt-lazymbuf-base15:1.79 yamt-lazymbuf-base14:1.79 keiichi-mipv6-nbase:1.79 mjf-devfs2:1.79.0.16 mjf-devfs2-base:1.81 nick-net80211-sync:1.79.0.14 nick-net80211-sync-base:1.79 keiichi-mipv6:1.79.0.12 keiichi-mipv6-base:1.79 bouyer-xeni386-merge1:1.79 matt-armv6-prevmlocking:1.78.10.1 wrstuden-fixsa-base-1:1.77 vmlocking2-base3:1.79 netbsd-4-0:1.77.0.26 netbsd-4-0-RELEASE:1.77 bouyer-xeni386-nbase:1.79 yamt-kmem-base3:1.79 cube-autoconf:1.79.0.10 cube-autoconf-base:1.79 yamt-kmem-base2:1.79 bouyer-xeni386:1.79.0.8 bouyer-xeni386-base:1.79 yamt-kmem:1.79.0.6 yamt-kmem-base:1.79 vmlocking2-base2:1.79 reinoud-bufcleanup-nbase:1.79 vmlocking2:1.79.0.4 vmlocking2-base1:1.79 netbsd-4-0-RC5:1.77 matt-nb4-arm:1.77.0.24 matt-nb4-arm-base:1.77 matt-armv6-nbase:1.79 jmcneill-base:1.79 netbsd-4-0-RC4:1.77 mjf-devfs:1.79.0.2 mjf-devfs-base:1.79 bouyer-xenamd64-base2:1.79 vmlocking-nbase:1.79 yamt-x86pmap-base4:1.79 bouyer-xenamd64:1.78.0.14 bouyer-xenamd64-base:1.79 netbsd-4-0-RC3:1.77 yamt-x86pmap-base3:1.78 yamt-x86pmap-base2:1.78 netbsd-4-0-RC2:1.77 yamt-x86pmap:1.78.0.12 yamt-x86pmap-base:1.78 netbsd-4-0-RC1:1.77 matt-armv6:1.78.0.10 matt-armv6-base:1.79 jmcneill-pm:1.78.0.8 jmcneill-pm-base:1.79 hpcarm-cleanup:1.78.0.6 hpcarm-cleanup-base:1.79 nick-csl-alignment:1.78.0.4 nick-csl-alignment-base:1.78 matt-mips64:1.78.0.2 matt-mips64-base:1.78 netbsd-3-1-1-RELEASE:1.74 netbsd-3-0-3-RELEASE:1.74 yamt-idlelwp-base8:1.77 wrstuden-fixsa:1.77.0.22 wrstuden-fixsa-base:1.77 ppcoea-renovation:1.77.0.20 ppcoea-renovation-base:1.78 thorpej-atomic:1.77.0.18 thorpej-atomic-base:1.77 reinoud-bufcleanup:1.77.0.16 reinoud-bufcleanup-base:1.79 mjf-ufs-trans:1.77.0.14 mjf-ufs-trans-base:1.78 vmlocking:1.77.0.12 vmlocking-base:1.78 ad-audiomp:1.77.0.10 ad-audiomp-base:1.77 yamt-idlelwp:1.77.0.8 post-newlock2-merge:1.77 newlock2-nbase:1.77 yamt-splraiseipl-base5:1.77 yamt-splraiseipl-base4:1.77 yamt-splraiseipl-base3:1.77 abandoned-netbsd-4-base:1.76 abandoned-netbsd-4:1.76.0.18 netbsd-3-1:1.74.0.14 netbsd-3-1-RELEASE:1.74 netbsd-3-0-2-RELEASE:1.74 yamt-splraiseipl-base2:1.77 netbsd-3-1-RC4:1.74 yamt-splraiseipl:1.77.0.4 yamt-splraiseipl-base:1.77 netbsd-3-1-RC3:1.74 yamt-pdpolicy-base9:1.77 newlock2:1.77.0.2 newlock2-base:1.77 yamt-pdpolicy-base8:1.77 netbsd-3-1-RC2:1.74 netbsd-3-1-RC1:1.74 yamt-pdpolicy-base7:1.76 netbsd-4:1.77.0.6 netbsd-4-base:1.77 yamt-pdpolicy-base6:1.76 chap-midi-nbase:1.76 netbsd-3-0-1-RELEASE:1.74 gdamore-uart:1.76.0.16 gdamore-uart-base:1.76 simonb-timcounters-final:1.76 yamt-pdpolicy-base5:1.76 chap-midi:1.76.0.14 chap-midi-base:1.76 yamt-pdpolicy-base4:1.76 yamt-pdpolicy-base3:1.76 peter-altq-base:1.76 peter-altq:1.76.0.12 yamt-pdpolicy-base2:1.76 elad-kernelauth-base:1.76 elad-kernelauth:1.76.0.10 yamt-pdpolicy:1.76.0.8 yamt-pdpolicy-base:1.76 yamt-uio_vmspace-base5:1.76 simonb-timecounters:1.76.0.6 simonb-timecounters-base:1.76 rpaulo-netinet-merge-pcb:1.76.0.4 rpaulo-netinet-merge-pcb-base:1.77 yamt-uio_vmspace:1.76.0.2 netbsd-3-0:1.74.0.12 netbsd-3-0-RELEASE:1.74 netbsd-3-0-RC6:1.74 yamt-readahead-base3:1.75 netbsd-3-0-RC5:1.74 netbsd-3-0-RC4:1.74 netbsd-3-0-RC3:1.74 yamt-readahead-base2:1.75 netbsd-3-0-RC2:1.74 yamt-readahead-pervnode:1.75 yamt-readahead-perfile:1.75 yamt-readahead:1.75.0.8 yamt-readahead-base:1.75 netbsd-3-0-RC1:1.74 yamt-vop-base3:1.75 netbsd-2-0-3-RELEASE:1.73 netbsd-2-1:1.73.10.1.0.2 yamt-vop-base2:1.75 thorpej-vnode-attr:1.75.0.6 thorpej-vnode-attr-base:1.75 netbsd-2-1-RELEASE:1.73.10.1 yamt-vop:1.75.0.4 yamt-vop-base:1.75 netbsd-2-1-RC6:1.73.10.1 netbsd-2-1-RC5:1.73.10.1 netbsd-2-1-RC4:1.73.10.1 netbsd-2-1-RC3:1.73.10.1 netbsd-2-1-RC2:1.73.10.1 netbsd-2-1-RC1:1.73.10.1 yamt-lazymbuf:1.75.0.2 yamt-km-base4:1.74 netbsd-2-0-2-RELEASE:1.73 yamt-km-base3:1.74 netbsd-3:1.74.0.10 netbsd-3-base:1.74 yamt-km-base2:1.74 yamt-km:1.74.0.6 yamt-km-base:1.74 kent-audio2:1.74.0.4 kent-audio2-base:1.74 netbsd-2-0-1-RELEASE:1.73 kent-audio1-beforemerge:1.74 netbsd-2:1.73.0.10 netbsd-2-base:1.73 kent-audio1:1.74.0.2 kent-audio1-base:1.74 netbsd-2-0-RELEASE:1.73 netbsd-2-0-RC5:1.73 netbsd-2-0-RC4:1.73 netbsd-2-0-RC3:1.73 netbsd-2-0-RC2:1.73 netbsd-2-0-RC1:1.73 netbsd-2-0:1.73.0.8 netbsd-2-0-base:1.73 netbsd-1-6-PATCH002-RELEASE:1.72 netbsd-1-6-PATCH002:1.72 netbsd-1-6-PATCH002-RC4:1.72 netbsd-1-6-PATCH002-RC3:1.72 netbsd-1-6-PATCH002-RC2:1.72 netbsd-1-6-PATCH002-RC1:1.72 ktrace-lwp:1.73.0.6 ktrace-lwp-base:1.75 netbsd-1-6-PATCH001:1.72 netbsd-1-6-PATCH001-RELEASE:1.72 netbsd-1-6-PATCH001-RC3:1.72 netbsd-1-6-PATCH001-RC2:1.72 netbsd-1-6-PATCH001-RC1:1.72 nathanw_sa_end:1.65.4.4 nathanw_sa_before_merge:1.73 fvdl_fs64_base:1.73 gmcgarry_ctxsw:1.73.0.4 gmcgarry_ctxsw_base:1.73 gmcgarry_ucred:1.73.0.2 gmcgarry_ucred_base:1.73 nathanw_sa_base:1.73 kqueue-aftermerge:1.73 kqueue-beforemerge:1.73 netbsd-1-6-RELEASE:1.72 netbsd-1-6-RC3:1.72 netbsd-1-6-RC2:1.72 netbsd-1-6-RC1:1.72 netbsd-1-6:1.72.0.10 netbsd-1-6-base:1.72 gehenna-devsw:1.72.0.8 gehenna-devsw-base:1.72 netbsd-1-5-PATCH003:1.58 eeh-devprop:1.72.0.6 eeh-devprop-base:1.72 newlock:1.72.0.4 newlock-base:1.72 ifpoll-base:1.72 thorpej-mips-cache:1.66.0.2 thorpej-mips-cache-base:1.67 thorpej-devvp-base3:1.65 thorpej-devvp-base2:1.65 post-chs-ubcperf:1.65 pre-chs-ubcperf:1.65 thorpej-devvp:1.65.0.6 thorpej-devvp-base:1.65 nathanw_sa:1.65.0.4 netbsd-1-5-PATCH002:1.58 kqueue:1.65.0.2 kqueue-base:1.73 netbsd-1-5-PATCH001:1.58 thorpej_scsipi_beforemerge:1.62 thorpej_scsipi_nbase:1.62 netbsd-1-5-RELEASE:1.58 netbsd-1-5-BETA2:1.58 netbsd-1-5-BETA:1.58 netbsd-1-4-PATCH003:1.49.2.2 netbsd-1-5-ALPHA2:1.58 netbsd-1-5:1.58.0.4 netbsd-1-5-base:1.58 minoura-xpg4dl:1.58.0.2 minoura-xpg4dl-base:1.58 netbsd-1-4-PATCH002:1.49.2.2 chs-ubc2-newbase:1.56 wrstuden-devbsize-19991221:1.53 wrstuden-devbsize:1.53.0.8 wrstuden-devbsize-base:1.53 kame_141_19991130:1.49.6.1 comdex-fall-1999:1.53.0.6 comdex-fall-1999-base:1.53 fvdl-softdep:1.53.0.4 fvdl-softdep-base:1.53 thorpej_scsipi:1.53.0.2 thorpej_scsipi_base:1.62 netbsd-1-4-PATCH001:1.49.2.1 kame_14_19990705:1.49 kame_14_19990628:1.49 kame:1.49.0.6 chs-ubc2:1.49.0.4 chs-ubc2-base:1.53 netbsd-1-4-RELEASE:1.49 netbsd-1-4:1.49.0.2 netbsd-1-4-base:1.49 netbsd-1-3-PATCH003:1.37.2.2 netbsd-1-3-PATCH003-CANDIDATE2:1.37.2.2 kenh-if-detach:1.45.0.4 kenh-if-detach-base:1.45 netbsd-1-3-PATCH003-CANDIDATE1:1.37.2.2 netbsd-1-3-PATCH003-CANDIDATE0:1.37.2.2 chs-ubc:1.45.0.2 chs-ubc-base:1.45 eeh-paddr_t:1.43.0.2 eeh-paddr_t-base:1.43 netbsd-1-3-PATCH002:1.37.2.2 netbsd-1-3-PATCH001:1.37.2.2 netbsd-1-3-RELEASE:1.37.2.2 netbsd-1-3-BETA:1.37.2.2 netbsd-1-3:1.37.0.2 netbsd-1-3-base:1.37 thorpej-signal:1.35.0.2 thorpej-signal-base:1.35 marc-pcmcia:1.34.0.2 marc-pcmcia-bp:1.34 marc-pcmcia-base:1.37 bouyer-scsipi:1.33.0.2 is-newarp-before-merge:1.32 is-newarp:1.32.0.4 is-newarp-base:1.32 netbsd-1-2-PATCH001:1.16 mrg-vm-swap:1.32.0.2 alpha-nwscons-base:1.34 thorpej-setroot:1.28.0.2 alpha-nwscons:1.27.0.2 netbsd-1-2-RELEASE:1.16 netbsd-1-2-BETA:1.16 netbsd-1-2:1.16.0.4 netbsd-1-2-base:1.16 netbsd-1-1-PATCH001:1.7 netbsd-1-1-RELEASE:1.7 netbsd-1-1:1.7.0.2 netbsd-1-1-base:1.7; locks; strict; comment @# @; 1.88 date 2023.07.26.03.41.57; author rin; state Exp; branches; next 1.87; commitid 3Lrx3eREXdcFmgyE; 1.87 date 2021.05.05.15.39.39; author thorpej; state Exp; branches 1.87.14.1; next 1.86; commitid K2KpQS0Bc03mrYRC; 1.86 date 2021.05.05.01.35.35; author thorpej; state Exp; branches; next 1.85; commitid jycaGQg2IKNuLTRC; 1.85 date 2018.09.22.12.24.01; author rin; state Exp; branches 1.85.16.1; next 1.84; commitid oPiNEJ7VnAF626TA; 1.84 date 2016.01.20.12.49.21; author jklos; state Exp; branches 1.84.16.1 1.84.18.1; next 1.83; 1.83 date 2013.03.10.07.18.20; author christos; state Exp; branches 1.83.14.1; next 1.82; 1.82 date 2009.11.09.04.03.19; author mhitch; state Exp; branches 1.82.12.1 1.82.22.1; next 1.81; 1.81 date 2008.12.11.05.27.42; author alc; state Exp; branches; next 1.80; 1.80 date 2008.10.25.22.27.36; author apb; state Exp; branches 1.80.2.1 1.80.4.1 1.80.10.1; next 1.79; 1.79 date 2007.10.17.19.52.57; author garbled; state Exp; branches 1.79.16.1 1.79.20.1 1.79.26.1; next 1.78; 1.78 date 2007.06.05.12.14.33; author yamt; state Exp; branches 1.78.10.1; next 1.77; 1.77 date 2006.09.01.04.58.17; author dyoung; state Exp; branches 1.77.12.1 1.77.14.1 1.77.18.1 1.77.20.1; next 1.76; 1.76 date 2005.12.11.12.16.16; author christos; state Exp; branches 1.76.4.1 1.76.8.1; next 1.75; 1.75 date 2005.05.31.04.03.09; author christos; state Exp; branches 1.75.2.1; next 1.74; 1.74 date 2004.06.04.04.45.49; author thorpej; state Exp; branches; next 1.73; 1.73 date 2002.09.24.13.30.41; author ad; state Exp; branches 1.73.6.1 1.73.10.1; next 1.72; 1.72 date 2001.12.09.05.02.21; author atatat; state Exp; branches; next 1.71; 1.71 date 2001.11.23.15.44.15; author atatat; state Exp; branches; next 1.70; 1.70 date 2001.11.23.05.19.01; author atatat; state Exp; branches; next 1.69; 1.69 date 2001.11.20.12.56.19; author lukem; state Exp; branches; next 1.68; 1.68 date 2001.11.16.00.23.03; author atatat; state Exp; branches; next 1.67; 1.67 date 2001.10.26.06.45.34; author jmc; state Exp; branches; next 1.66; 1.66 date 2001.10.23.19.26.42; author thorpej; state Exp; branches 1.66.2.1; next 1.65; 1.65 date 2001.05.31.07.37.01; author enami; state Exp; branches 1.65.2.1 1.65.4.1; next 1.64; 1.64 date 2001.05.14.19.49.03; author ross; state Exp; branches; next 1.63; 1.63 date 2001.05.08.05.47.35; author ross; state Exp; branches; next 1.62; 1.62 date 2000.12.17.15.52.39; author jdolecek; state Exp; branches 1.62.2.1; next 1.61; 1.61 date 2000.12.07.17.32.33; author jdolecek; state Exp; branches; next 1.60; 1.60 date 2000.11.29.13.02.51; author jdolecek; state Exp; branches; next 1.59; 1.59 date 2000.11.29.12.55.11; author jdolecek; state Exp; branches; next 1.58; 1.58 date 2000.05.09.00.56.21; author hubertf; state Exp; branches; next 1.57; 1.57 date 2000.05.09.00.32.19; author thorpej; state Exp; branches; next 1.56; 1.56 date 2000.02.01.05.25.24; author tsutsui; state Exp; branches; next 1.55; 1.55 date 2000.01.24.20.36.06; author tron; state Exp; branches; next 1.54; 1.54 date 2000.01.19.16.29.54; author tsutsui; state Exp; branches; next 1.53; 1.53 date 99.07.26.05.20.44; author cgd; state Exp; branches 1.53.2.1; next 1.52; 1.52 date 99.07.09.09.52.55; author mrg; state Exp; branches; next 1.51; 1.51 date 99.05.31.18.54.49; author ross; state Exp; branches; next 1.50; 1.50 date 99.05.31.02.46.17; author ross; state Exp; branches; next 1.49; 1.49 date 99.02.23.01.00.51; author thorpej; state Exp; branches 1.49.2.1 1.49.4.1 1.49.6.1; next 1.48; 1.48 date 99.02.01.23.18.56; author tron; state Exp; branches; next 1.47; 1.47 date 99.01.15.23.37.05; author thorpej; state Exp; branches; next 1.46; 1.46 date 99.01.08.19.26.12; author augustss; state Exp; branches; next 1.45; 1.45 date 98.10.15.18.37.13; author drochner; state Exp; branches; next 1.44; 1.44 date 98.09.05.15.15.14; author lukem; state Exp; branches; next 1.43; 1.43 date 98.05.31.23.25.41; author thorpej; state Exp; branches; next 1.42; 1.42 date 98.04.12.23.47.41; author tv; state Exp; branches; next 1.41; 1.41 date 98.03.25.02.16.42; author ross; state Exp; branches; next 1.40; 1.40 date 97.11.12.23.11.50; author thorpej; state Exp; branches; next 1.39; 1.39 date 97.11.12.22.25.31; author thorpej; state Exp; branches; next 1.38; 1.38 date 97.11.03.04.22.05; author ross; state Exp; branches; next 1.37; 1.37 date 97.10.04.17.20.07; author gwr; state Exp; branches 1.37.2.1; next 1.36; 1.36 date 97.09.30.22.39.49; author christos; state Exp; branches; next 1.35; 1.35 date 97.08.22.06.37.17; author cgd; state Exp; branches; next 1.34; 1.34 date 97.07.19.10.12.13; author cgd; state Exp; branches 1.34.2.1; next 1.33; 1.33 date 97.04.06.23.03.09; author cgd; state Exp; branches; next 1.32; 1.32 date 97.02.04.05.08.27; author perry; state Exp; branches; next 1.31; 1.31 date 97.02.04.04.31.55; author perry; state Exp; branches; next 1.30; 1.30 date 97.01.23.22.47.31; author cgd; state Exp; branches; next 1.29; 1.29 date 97.01.21.23.37.10; author cgd; state Exp; branches; next 1.28; 1.28 date 96.12.22.08.33.19; author cgd; state Exp; branches 1.28.2.1; next 1.27; 1.27 date 96.12.01.06.12.25; author jonathan; state Exp; branches 1.27.2.1; next 1.26; 1.26 date 96.11.13.20.53.24; author cgd; state Exp; branches; next 1.25; 1.25 date 96.09.27.17.33.04; author cgd; state Exp; branches; next 1.24; 1.24 date 96.09.09.21.06.55; author mycroft; state Exp; branches; next 1.23; 1.23 date 96.08.31.21.40.47; author mycroft; state Exp; branches; next 1.22; 1.22 date 96.08.20.22.23.01; author cgd; state Exp; branches; next 1.21; 1.21 date 96.08.12.00.51.24; author mycroft; state Exp; branches; next 1.20; 1.20 date 96.08.10.06.07.57; author mycroft; state Exp; branches; next 1.19; 1.19 date 96.08.10.05.29.24; author mycroft; state Exp; branches; next 1.18; 1.18 date 96.07.14.20.20.10; author cgd; state Exp; branches; next 1.17; 1.17 date 96.07.09.00.46.01; author cgd; state Exp; branches; next 1.16; 1.16 date 96.05.19.21.16.51; author cgd; state Exp; branches; next 1.15; 1.15 date 96.05.11.16.11.30; author mycroft; state Exp; branches; next 1.14; 1.14 date 96.02.29.20.54.58; author cgd; state Exp; branches; next 1.13; 1.13 date 96.02.26.02.53.20; author mycroft; state Exp; branches; next 1.12; 1.12 date 96.02.09.02.21.13; author mycroft; state Exp; branches; next 1.11; 1.11 date 96.02.03.00.43.50; author mycroft; state Exp; branches; next 1.10; 1.10 date 96.02.02.20.08.17; author mycroft; state Exp; branches; next 1.9; 1.9 date 96.02.02.02.34.09; author mycroft; state Exp; branches; next 1.8; 1.8 date 95.11.23.02.35.16; author cgd; state Exp; branches; next 1.7; 1.7 date 95.09.19.23.28.06; author thorpej; state Exp; branches; next 1.6; 1.6 date 95.08.03.00.09.23; author cgd; state Exp; branches; next 1.5; 1.5 date 95.06.24.20.40.45; author christos; state Exp; branches; next 1.4; 1.4 date 95.05.16.22.24.17; author jtc; state Exp; branches; next 1.3; 1.3 date 95.04.22.12.44.08; author cgd; state Exp; branches; next 1.2; 1.2 date 95.03.23.19.46.18; author jtc; state Exp; branches; next 1.1; 1.1 date 95.02.13.23.07.25; author cgd; state Exp; branches; next ; 1.87.14.1 date 2023.09.11.13.35.37; author martin; state Exp; branches; next ; commitid DVOFlvNJch029mEE; 1.85.16.1 date 2021.05.13.00.47.20; author thorpej; state Exp; branches; next ; commitid hlq0lOvHnylpfVSC; 1.84.16.1 date 2018.09.30.01.45.36; author pgoyette; state Exp; branches; next ; commitid SQ44grEPCeKPh4UA; 1.84.18.1 date 2019.06.10.22.05.45; author christos; state Exp; branches; next ; commitid jtc8rnCzWiEEHGqB; 1.83.14.1 date 2016.03.19.11.29.54; author skrll; state Exp; branches; next ; 1.82.12.1 date 2014.05.22.11.39.27; author yamt; state Exp; branches; next ; 1.82.22.1 date 2013.06.23.06.19.58; author tls; state Exp; branches; next 1.82.22.2; 1.82.22.2 date 2017.12.03.11.35.46; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.80.2.1 date 2009.01.19.13.15.53; author skrll; state Exp; branches; next ; 1.80.4.1 date 2009.08.07.18.33.48; author snj; state Exp; branches; next 1.80.4.2; 1.80.4.2 date 2009.11.15.05.49.30; author snj; state Exp; branches; next ; 1.80.10.1 date 2010.04.21.00.33.54; author matt; state Exp; branches; next ; 1.79.16.1 date 2009.01.17.13.27.48; author mjf; state Exp; branches; next ; 1.79.20.1 date 2009.05.04.08.10.28; author yamt; state Exp; branches; next 1.79.20.2; 1.79.20.2 date 2010.03.11.15.01.57; author yamt; state Exp; branches; next ; 1.79.26.1 date 2008.12.13.01.12.57; author haad; state Exp; branches; next ; 1.78.10.1 date 2007.11.06.23.13.50; author matt; state Exp; branches; next ; 1.77.12.1 date 2007.06.09.23.54.50; author ad; state Exp; branches; next ; 1.77.14.1 date 2007.07.11.19.57.26; author mjf; state Exp; branches; next ; 1.77.18.1 date 2007.04.18.03.41.46; author thorpej; state Exp; branches; next ; 1.77.20.1 date 2007.06.26.18.11.55; author garbled; state Exp; branches; next ; 1.76.4.1 date 2006.09.09.02.37.05; author rpaulo; state Exp; branches; next ; 1.76.8.1 date 2006.09.03.15.22.41; author yamt; state Exp; branches; next ; 1.75.2.1 date 2006.12.30.20.45.22; author yamt; state Exp; branches; next 1.75.2.2; 1.75.2.2 date 2007.09.03.14.22.21; author yamt; state Exp; branches; next ; 1.73.6.1 date 2004.08.03.10.31.19; author skrll; state Exp; branches; next 1.73.6.2; 1.73.6.2 date 2004.09.18.14.31.02; author skrll; state Exp; branches; next 1.73.6.3; 1.73.6.3 date 2004.09.21.13.11.48; author skrll; state Exp; branches; next 1.73.6.4; 1.73.6.4 date 2005.11.10.13.48.22; author skrll; state Exp; branches; next ; 1.73.10.1 date 2005.02.06.07.45.23; author jmc; state Exp; branches; next ; 1.66.2.1 date 2001.11.12.21.16.17; author thorpej; state Exp; branches; next ; 1.65.2.1 date 2002.01.10.19.37.02; author thorpej; state Exp; branches; next 1.65.2.2; 1.65.2.2 date 2002.10.10.18.30.58; author jdolecek; state Exp; branches; next ; 1.65.4.1 date 2001.05.31.07.37.01; author nathanw; state dead; branches; next 1.65.4.2; 1.65.4.2 date 2001.11.14.19.12.40; author nathanw; state Exp; branches; next 1.65.4.3; 1.65.4.3 date 2002.01.08.00.22.53; author nathanw; state Exp; branches; next 1.65.4.4; 1.65.4.4 date 2002.10.18.02.34.09; author nathanw; state Exp; branches; next ; 1.62.2.1 date 2001.06.21.18.12.59; author nathanw; state Exp; branches; next ; 1.53.2.1 date 2000.11.20.19.56.44; author bouyer; state Exp; branches; next 1.53.2.2; 1.53.2.2 date 2000.12.08.09.23.36; author bouyer; state Exp; branches; next 1.53.2.3; 1.53.2.3 date 2000.12.13.14.49.13; author bouyer; state Exp; branches; next 1.53.2.4; 1.53.2.4 date 2000.12.13.15.49.17; author bouyer; state Exp; branches; next 1.53.2.5; 1.53.2.5 date 2001.01.05.17.33.44; author bouyer; state Exp; branches; next ; 1.49.2.1 date 99.06.21.15.22.45; author perry; state Exp; branches; next 1.49.2.2; 1.49.2.2 date 99.09.22.05.57.17; author cgd; state Exp; branches; next ; 1.49.4.1 date 99.06.21.00.46.08; author thorpej; state Exp; branches; next 1.49.4.2; 1.49.4.2 date 99.08.02.19.34.27; author thorpej; state Exp; branches; next ; 1.49.6.1 date 99.11.30.13.31.29; author itojun; state Exp; branches; next ; 1.37.2.1 date 97.11.10.22.03.49; author thorpej; state Exp; branches; next 1.37.2.2; 1.37.2.2 date 97.11.12.23.45.21; author thorpej; state Exp; branches; next ; 1.34.2.1 date 97.08.23.07.06.37; author thorpej; state Exp; branches; next 1.34.2.2; 1.34.2.2 date 97.10.14.08.18.08; author thorpej; state Exp; branches; next ; 1.28.2.1 date 97.01.30.05.15.06; author thorpej; state Exp; branches; next ; 1.27.2.1 date 97.01.24.07.05.51; author cgd; state Exp; branches; next 1.27.2.2; 1.27.2.2 date 97.06.01.04.11.55; author cgd; state Exp; branches; next 1.27.2.3; 1.27.2.3 date 97.07.22.05.34.36; author cgd; state Exp; branches; next ; desc @@ 1.88 log @Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS. @ text @# $NetBSD: Makefile.alpha,v 1.87 2021/05/05 15:39:39 thorpej Exp $ # Makefile for NetBSD # # This makefile is constructed from a machine description: # config machineid # Most changes should be made in the machine description # /sys/arch/alpha/conf/``machineid'' # after which you should do # config machineid # Machine generic makefile changes should be made in # /sys/arch/alpha/conf/Makefile.alpha # after which config should be rerun for all machines of that type. # # To specify debugging, add the config line: makeoptions DEBUG="-g" # A better way is to specify -g only for a few files. # # makeoptions DEBUGLIST="uvm* trap if_*" MACHINE_ARCH= alpha USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no .include ## ## (1) port identification ## ALPHA= $S/arch/alpha GENASSYM_CONF= ${ALPHA}/alpha/genassym.cf ## ## (2) compile settings ## CPPFLAGS+= -Dalpha CFLAGS+= -mno-fp-regs AFLAGS+= -traditional NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | ${TOOL_SED} -e 's,^\#.*,,' | \ ${AS} -o ${.TARGET} ## ## (3) libkern and compat ## OPT_MODULAR= %MODULAR% ## ## (4) local objects, compile rules, and dependencies ## MD_OBJS= locore.o transfer.o MD_CFILES= MD_SFILES= ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/transfer.s locore.o: ${ALPHA}/alpha/locore.s assym.h ${NORMAL_S} transfer.o: ${ALPHA}/alpha/transfer.s ${NORMAL_S} lock_stubs.o: assym.h ## ## (5) link settings ## TEXTADDR?= fffffc0000a00000 ENTRYPOINT= __transfer KERNLDSCRIPT?= ${ALPHA}/conf/kern.ldscript EXTRA_LINKFLAGS= -G 4 OBJCOPY_STRIPFLAGS= -g -X ## ## (6) port specific target dependencies ## ## ## (7) misc settings ## MKDEP_AFLAGS= -x assembler-with-cpp ${AFLAGS} ## ## (8) config(8) generated machinery ## %INCLUDES %OBJS %CFILES %SFILES %LOAD %RULES ## ## (9) port independent kernel machinery ## .include "$S/conf/Makefile.kern.inc" ## ## (10) Appending make options. ## %MAKEOPTIONSAPPEND @ 1.87 log @Remove unneeded Makefile dependency for things which have long since used opt_*.h headers. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.86 2021/05/05 01:35:35 thorpej Exp $ d68 1 a68 1 STRIPFLAGS= -g -X @ 1.87.14.1 log @Pull up following revision(s) (requested by rin in ticket #363): sys/arch/aarch64/conf/Makefile.aarch64: revision 1.24 sys/arch/aarch64/conf/Makefile.aarch64: revision 1.25 sys/arch/shark/conf/Makefile.shark.inc: revision 1.28 sys/arch/alpha/conf/Makefile.alpha: revision 1.88 sys/arch/mips/conf/Makefile.mips: revision 1.73 sys/conf/Makefile.kern.inc: revision 1.298 sys/conf/Makefile.kern.inc: revision 1.299 sys/arch/cats/conf/Makefile.cats.inc: revision 1.37 sys/arch/arm/conf/Makefile.arm: revision 1.56 sys/arch/arm/conf/Makefile.arm: revision 1.57 sys/arch/riscv/conf/Makefile.riscv: revision 1.10 Always use arm-elf2aout; no a.out support both for binutils{,.old} Fix kernel size inflation for arm and aarch64 (PR toolchain/57146) For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64. Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally skipped, which results in the catastrophic kernel size inflation, as reported in the PR. Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI kernel build procedure. For Makefile.{arm,aarch64}, weird logic is used to determine how to handle debug symbols; MKDEBUG{,KERNEL} are taken into account later in sys/conf/Makefile.kern.inc. Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS. Simplify fix for PR toolchain/57146 Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug symbols from MD Makefile's to Makefile.kern.inc. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.87 2021/05/05 15:39:39 thorpej Exp $ d68 1 a68 1 OBJCOPY_STRIPFLAGS= -g -X @ 1.86 log @Add a linker script for the kernel. The main difference vs the standard built-in for "ld -N" is to actually process the .data.cacheline_aligned and .data.read_mostly sections correctly. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.85 2018/09/22 12:24:01 rin Exp $ a73 3 # depend on CPU configuration clock.o apecs.o cia.o lca.o ioasic.o icasic.o: Makefile @ 1.85 log @- Determine KERN_AS automatically depending on whether OPT_MODULAR is set or not, in the same way as libcompat. - Specify OPT_MODULAR in the port Makefile instead of KERN_AS. Now, KERN_AS=library is used for kernels without module(7) for all ports. OK christos @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.84 2016/01/20 12:49:21 jklos Exp $ a63 1 LINKFORMAT= -N d66 1 @ 1.85.16.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.87 2021/05/05 15:39:39 thorpej Exp $ d64 1 a66 1 KERNLDSCRIPT?= ${ALPHA}/conf/kern.ldscript d74 3 @ 1.84 log @Change base address to account for later Alpha models with later firmware which require more space for SRM. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.83 2013/03/10 07:18:20 christos Exp $ a44 5 .if !empty(OPT_MODULAR) KERN_AS= obj .else KERN_AS= library .endif @ 1.84.18.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.85 2018/09/22 12:24:01 rin Exp $ d45 5 @ 1.84.16.1 log @Ssync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.85 2018/09/22 12:24:01 rin Exp $ d45 5 @ 1.83 log @Explicitly set KERN_AS (this could be done in /usr/src/sys/conf/Makefile.*) so that modules work, on config files that did not set it explicitly. All the files now use the standard logic, except the ones that set KERN_AS=obj and Makefile.usermode which sets KERN_AS=library. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.82 2009/11/09 04:03:19 mhitch Exp $ d70 1 a70 1 TEXTADDR?= fffffc0000430000 @ 1.83.14.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.84 2016/01/20 12:49:21 jklos Exp $ d70 1 a70 1 TEXTADDR?= fffffc0000a00000 @ 1.82 log @Loading the kernel at 0xfffffc0000300000 doesn't work on my ES40 when I've got raid drives configured on the iop(4) adapter and the mlx(4) adapter. Change the kernel text to 0xfffffc0000430000 (which is where Tru64 has its kernel). @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.81 2008/12/11 05:27:42 alc Exp $ d44 6 @ 1.82.12.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.alpha,v 1.82 2009/11/09 04:03:19 mhitch Exp $ a43 6 OPT_MODULAR= %MODULAR% .if !empty(OPT_MODULAR) KERN_AS= obj .else KERN_AS= library .endif @ 1.82.22.1 log @resync from head @ text @d1 1 a1 1 # $NetBSD$ a43 6 OPT_MODULAR= %MODULAR% .if !empty(OPT_MODULAR) KERN_AS= obj .else KERN_AS= library .endif @ 1.82.22.2 log @update from HEAD @ text @d70 1 a70 1 TEXTADDR?= fffffc0000a00000 @ 1.81 log @Clean-up makefile stub used to include in the build the binary HAL object @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.80 2008/10/25 22:27:36 apb Exp $ d64 1 a64 1 TEXTADDR?= fffffc0000300000 @ 1.80 log @Use ${TOOL_SED} instead if plain sed in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.79 2007/10/17 19:52:57 garbled Exp $ a95 3 ## Include rules for Atheros WLAN .include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc" @ 1.80.10.1 log @sync to netbsd-5 @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.80.4.2 2009/11/15 05:49:30 snj Exp $ d64 1 a64 1 TEXTADDR?= fffffc0000430000 d96 3 @ 1.80.4.1 log @Pull up following revision(s) (requested by sborrill in ticket #905): sys/arch/alpha/conf/Makefile.alpha: revision 1.81 sys/arch/amd64/conf/Makefile.amd64: revision 1.26 sys/arch/i386/conf/Makefile.i386: revision 1.162 sys/arch/macppc/conf/Makefile.macppc: revision 1.31 sys/arch/mips/conf/Makefile.mips: revision 1.52 sys/arch/sparc64/conf/Makefile.sparc64: revision 1.68 sys/arch/xen/conf/Makefile.xen: revision 1.28 Clean-up makefile stub used to include in the build the binary HAL object @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.80 2008/10/25 22:27:36 apb Exp $ d96 3 @ 1.80.4.2 log @Pull up following revision(s) (requested by mhitch in ticket #1135): sys/arch/alpha/conf/Makefile.alpha: revision 1.82 Loading the kernel at 0xfffffc0000300000 doesn't work on my ES40 when I've got raid drives configured on the iop(4) adapter and the mlx(4) adapter. Change the kernel text to 0xfffffc0000430000 (which is where Tru64 has its kernel). @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.80.4.1 2009/08/07 18:33:48 snj Exp $ d64 1 a64 1 TEXTADDR?= fffffc0000430000 @ 1.80.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.81 2008/12/11 05:27:42 alc Exp $ d96 3 @ 1.79 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.alpha,v 1.77.20.1 2007/06/26 18:11:55 garbled Exp $ d38 1 a38 1 NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's,^\#.*,,' | \ @ 1.79.20.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.79 2007/10/17 19:52:57 garbled Exp $ d38 1 a38 1 NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | ${TOOL_SED} -e 's,^\#.*,,' | \ d96 3 @ 1.79.20.2 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.79.20.1 2009/05/04 08:10:28 yamt Exp $ d64 1 a64 1 TEXTADDR?= fffffc0000430000 @ 1.79.16.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD$ d38 1 a38 1 NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | ${TOOL_SED} -e 's,^\#.*,,' | \ d96 3 @ 1.79.26.1 log @Update haad-dm branch to haad-dm-base2. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.81 2008/12/11 05:27:42 alc Exp $ d38 1 a38 1 NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | ${TOOL_SED} -e 's,^\#.*,,' | \ d96 3 @ 1.78 log @add a missing dependency. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.77 2006/09/01 04:58:17 dyoung Exp $ @ 1.78.10.1 log @sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.79 2007/10/17 19:52:57 garbled Exp $ @ 1.77 log @Add ath(4) to GENERIC alpha kernel. UNTESTED. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.76 2005/12/11 12:16:16 christos Exp $ d58 2 @ 1.77.14.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.78 2007/06/05 12:14:33 yamt Exp $ a57 2 lock_stubs.o: assym.h @ 1.77.20.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.78 2007/06/05 12:14:33 yamt Exp $ a57 2 lock_stubs.o: assym.h @ 1.77.12.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.77 2006/09/01 04:58:17 dyoung Exp $ a57 2 lock_stubs.o: assym.h @ 1.77.18.1 log @Do the KERN_AS dance for LKMs. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.77 2006/09/01 04:58:17 dyoung Exp $ a43 5 .if !empty(IDENT:M-DLKM) KERN_AS= obj .else KERN_AS= library .endif @ 1.76 log @merge ktrace-lwp. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.73.6.4 2005/11/10 13:48:22 skrll Exp $ d94 3 @ 1.76.4.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.77 2006/09/01 04:58:17 dyoung Exp $ a93 3 ## Include rules for Atheros WLAN .include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc" @ 1.76.8.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.76 2005/12/11 12:16:16 christos Exp $ a93 3 ## Include rules for Atheros WLAN .include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc" @ 1.75 log @s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.74 2004/06/04 04:45:49 thorpej Exp $ @ 1.75.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.75 2005/05/31 04:03:09 christos Exp $ a93 3 ## Include rules for Atheros WLAN .include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc" @ 1.75.2.2 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.75.2.1 2006/12/30 20:45:22 yamt Exp $ a57 2 lock_stubs.o: assym.h @ 1.74 log @Add the %MAKEOPTIONSAPPEND token at the end of the file, after the common Makefile.kern.inc has been included. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.73 2002/09/24 13:30:41 ad Exp $ d29 1 a29 1 GENASSYM= ${ALPHA}/alpha/genassym.cf @ 1.73 log @Remove the TCWSCONS config now that zstty can do flow control on IOASIC machines. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.72 2001/12/09 05:02:21 atatat Exp $ d98 5 @ 1.73.10.1 log @Pull up patch (requested by martti in ticket #1086) Move ipf to sys/dist/ipf and sync w. trunk @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.73 2002/09/24 13:30:41 ad Exp $ a97 5 ## ## (10) IPF source directory ## CPPFLAGS+= -I$S/dist/ipf @ 1.73.6.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.74 2004/06/04 04:45:49 thorpej Exp $ a97 5 ## ## (10) Appending make options. ## %MAKEOPTIONSAPPEND @ 1.73.6.2 log @Sync with HEAD. @ text @@ 1.73.6.3 log @Fix the sync with head I botched. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.73.6.1 2004/08/03 10:31:19 skrll Exp $ @ 1.73.6.4 log @Sync with HEAD. Here we go again... @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.73.6.3 2004/09/21 13:11:48 skrll Exp $ d29 1 a29 1 GENASSYM_CONF= ${ALPHA}/alpha/genassym.cf @ 1.72 log @Fix a couple of rcsids. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.71 2001/11/23 15:44:15 atatat Exp $ d72 1 a72 1 clock.o apecs.o cia.o lca.o ioasic.o scc.o icasic.o: Makefile @ 1.71 log @Oops. Add in missing entry point settings. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.70 2001/11/23 05:19:01 atatat Exp $ @ 1.70 log @Instead of checking for previous usage, just append to some make variables. Tweak some variables to provide for more uniform defaults. Minor adaption to makefiles for already converted ports. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.69 2001/11/20 12:56:19 lukem Exp $ d63 1 @ 1.69 log @cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\"" @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.68 2001/11/16 00:23:03 atatat Exp $ a29 1 MD_CPPFLAGS= -Dalpha d34 6 a39 6 CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT \ ${MD_CPPFLAGS} COPTS?= -O2 CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -mno-fp-regs AFLAGS= -traditional -D_LOCORE NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's,^\#.*,,' | ${AS} -o ${.TARGET} a63 2 LINKFLAGS_DEBUG= -X LINKFLAGS_NORMAL= -S @ 1.68 log @Abstract out a large chunk of the kernel build machinery so that new build features (such as ross's DEBUGLIST) can easily be applied to all ports. This should reduce the complexity of each port's kernel Makefile considerably. Line counts: 227 arch/i386/conf/Makefile.i386.orig 98 arch/i386/conf/Makefile.i386 227 arch/alpha/conf/Makefile.alpha.orig 99 arch/alpha/conf/Makefile.alpha 219 arch/sparc/conf/Makefile.sparc.orig 102 arch/sparc/conf/Makefile.sparc 215 arch/vax/conf/Makefile.vax.orig 102 arch/vax/conf/Makefile.vax 253 conf/Makefile.kern.inc Roll i386, alpha, sparc, and vax over to the new build machinery. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.67 2001/10/26 06:45:34 jmc Exp $ d15 1 a15 1 # To specify debugging, add the config line: makeoptions DEBUG="-g" d43 1 a43 1 ## (3) libkern and compat d73 1 a73 1 # depend on CPU configuration @ 1.67 log @Change defaults for kernel compiles. Default all to USETOOLS?=no and have the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES This way the default for kernel compiles is still to use the installed toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by simply adding USETOOLS=yes to the command line as usual. Adjust each ports template to set the default no setting and also pull in bsd.own.mk if they weren't already to ensure they'll build correctly with the new toolchain setup. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.66 2001/10/23 19:26:42 thorpej Exp $ a13 8 MACHINE_ARCH=alpha USETOOLS?= no .include # DEBUG is set to -g if debugging. # PROF is set to -pg if profiling. d20 17 a36 22 AR?= ar AS?= as CC?= cc CPP?= cpp LD?= ld LORDER?=lorder MKDEP?= mkdep NM?= nm RANLIB?=ranlib SIZE?= size STRIP?= strip TSORT?= tsort -q # source tree is located via $S relative to the compilation directory .ifndef S S!= cd ../../../..; pwd .endif ALPHA= $S/arch/alpha HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo INCLUDES= -I. -I$S/arch -I$S -nostdinc CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dalpha a37 8 CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wpointer-arith # XXX Delete -Wuninitialized for now, since the compiler doesn't # XXX always get it right. --thorpej CWARNFLAGS+= -Wno-uninitialized .if (${HAVE_EGCS} != "") CWARNFLAGS+= -Wno-main .endif d40 27 a66 2 LOADADDRESS?= fffffc0000300000 LINKFLAGS= -N -Ttext ${LOADADDRESS} -e __transfer -G 4 d69 3 a71 1 %INCLUDES d73 2 a74 15 ### find out what to use for libkern .include "$S/lib/libkern/Makefile.inc" .ifndef PROF LIBKERN= ${KERNLIB} .else LIBKERN= ${KERNLIB_PROF} .endif ### find out what to use for libcompat .include "$S/compat/common/Makefile.inc" .ifndef PROF LIBCOMPAT= ${COMPATLIB} .else LIBCOMPAT= ${COMPATLIB_PROF} .endif d76 9 a84 6 # compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or # HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file). NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${${<:T:R}_G} -c $< NOPROF_C= ${CC} ${CFLAGS} ${CPPFLAGS} -c $< NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's,^\#.*,,' | ${AS} -o ${.TARGET} a91 35 # # Define a set of xxx_G variables that will add -g to just those # files that match the shell patterns given in ${DEBUGLIST} # .for i in ${DEBUGLIST} .for j in ${CFILES:T:M$i.c} ${j:R}_G= -g .endfor .endfor # load lines for config "xxx" will be emitted as: # xxx: ${SYSTEM_DEP} swapxxx.o # ${SYSTEM_LD_HEAD} # ${SYSTEM_LD} swapxxx.o # ${SYSTEM_LD_TAIL} SYSTEM_OBJ= locore.o transfer.o \ param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN} SYSTEM_DEP= Makefile ${SYSTEM_OBJ} SYSTEM_LD_HEAD= @@rm -f $@@ SYSTEM_LD= @@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \ ${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o SYSTEM_LD_TAIL= @@${SIZE} $@@; chmod 755 $@@ DEBUG?= .if ${DEBUG} == "-g" || defined(DEBUGLIST) LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb .else LINKFLAGS+= -S .endif d94 1 a94 74 # Use awk to cross-build assym.h from the genassym.s file. assym.h: $S/kern/genassym.sh ${ALPHA}/alpha/genassym.cf sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \ < ${ALPHA}/alpha/genassym.cf > assym.h.tmp && \ mv -f assym.h.tmp assym.h param.c: $S/conf/param.c rm -f param.c cp $S/conf/param.c . param.o: param.c Makefile ${NORMAL_C} ioconf.o: ioconf.c ${NORMAL_C} newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} sh $S/conf/newvers.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c __CLEANKERNEL: .USE @@echo "${.TARGET}ing the kernel objects" rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \ [Ee]rrs linterrs makelinks assym.h.tmp assym.h __CLEANDEPEND: .USE rm -f .depend clean: __CLEANKERNEL cleandir distclean: __CLEANKERNEL __CLEANDEPEND lint: @@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ ${ALPHA}/alpha/Locore.c ${CFILES} \ ioconf.c param.c | \ grep -v 'static function .* unused' tags: @@echo "see $S/kern/Makefile for tags" links: egrep '#if' ${CFILES} | sed -f $S/conf/defines | \ sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \ sort -u | comm -23 - dontlink | \ sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks sh makelinks && rm -f dontlink SRCS= ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/transfer.s \ param.c ioconf.c ${CFILES} ${SFILES} depend: .depend .depend: ${SRCS} assym.h param.c ${MKDEP} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ ${ALPHA}/alpha/locore.s ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ ${ALPHA}/alpha/transfer.s ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} test -z "${SFILES}" || \ ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES} sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \ ${CPPFLAGS} < ${ALPHA}/alpha/genassym.cf @@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend @@rm -f assym.dep dependall: depend all # depend on root or device configuration autoconf.o conf.o: Makefile # depend on network or filesystem configuration uipc_proto.o vfs_conf.o: Makefile d96 4 a99 25 # depend on maxusers assym.h machdep.o: Makefile # depend on CPU configuration clock.o machdep.o apecs.o cia.o lca.o ioasic.o scc.o icasic.o: Makefile locore.o: ${ALPHA}/alpha/locore.s assym.h ${NORMAL_S} transfer.o: ${ALPHA}/alpha/transfer.s ${NORMAL_S} # The install target can be redefined by putting a # install-kernel-${MACHINE_NAME} target into /etc/mk.conf MACHINE_NAME!= uname -n install: install-kernel-${MACHINE_NAME} .if !target(install-kernel-${MACHINE_NAME}}) install-kernel-${MACHINE_NAME}: rm -f /onetbsd ln /netbsd /onetbsd cp netbsd /nnetbsd mv /nnetbsd /netbsd .endif %RULES @ 1.66 log @Set MACHINE_ARCH explicitly in Makefiles for which it is constant. Also, since config(8) now explcitly sets MACHINE, there is no need to do it here in the Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.65 2001/05/31 07:37:01 enami Exp $ d16 3 @ 1.66.2.1 log @Sync the thorpej-mips-cache branch with -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.67 2001/10/26 06:45:34 jmc Exp $ a15 3 USETOOLS?= no .include @ 1.65 log @define _KERNEL_OPT as well as _KERNEL. we will use this in the future to get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.64 2001/05/14 19:49:03 ross Exp $ d14 2 @ 1.65.4.1 log @file Makefile.alpha was added on branch nathanw_sa on 2001-11-14 19:12:40 +0000 @ text @d1 227 @ 1.65.4.2 log @Catch up to -current. @ text @a0 232 # $NetBSD: Makefile.alpha,v 1.65.4.1 2001/11/14 19:12:40 nathanw Exp $ # Makefile for NetBSD # # This makefile is constructed from a machine description: # config machineid # Most changes should be made in the machine description # /sys/arch/alpha/conf/``machineid'' # after which you should do # config machineid # Machine generic makefile changes should be made in # /sys/arch/alpha/conf/Makefile.alpha # after which config should be rerun for all machines of that type. MACHINE_ARCH=alpha USETOOLS?= no .include # DEBUG is set to -g if debugging. # PROF is set to -pg if profiling. # # To specify debugging, add the config line: makeoptions DEBUG="-g" # A better way is to specify -g only for a few files. # # makeoptions DEBUGLIST="uvm* trap if_*" AR?= ar AS?= as CC?= cc CPP?= cpp LD?= ld LORDER?=lorder MKDEP?= mkdep NM?= nm RANLIB?=ranlib SIZE?= size STRIP?= strip TSORT?= tsort -q # source tree is located via $S relative to the compilation directory .ifndef S S!= cd ../../../..; pwd .endif ALPHA= $S/arch/alpha HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo INCLUDES= -I. -I$S/arch -I$S -nostdinc CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dalpha COPTS?= -O2 CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wpointer-arith # XXX Delete -Wuninitialized for now, since the compiler doesn't # XXX always get it right. --thorpej CWARNFLAGS+= -Wno-uninitialized .if (${HAVE_EGCS} != "") CWARNFLAGS+= -Wno-main .endif CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -mno-fp-regs AFLAGS= -traditional -D_LOCORE LOADADDRESS?= fffffc0000300000 LINKFLAGS= -N -Ttext ${LOADADDRESS} -e __transfer -G 4 STRIPFLAGS= -g -X %INCLUDES ### find out what to use for libkern .include "$S/lib/libkern/Makefile.inc" .ifndef PROF LIBKERN= ${KERNLIB} .else LIBKERN= ${KERNLIB_PROF} .endif ### find out what to use for libcompat .include "$S/compat/common/Makefile.inc" .ifndef PROF LIBCOMPAT= ${COMPATLIB} .else LIBCOMPAT= ${COMPATLIB_PROF} .endif # compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or # HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file). NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${${<:T:R}_G} -c $< NOPROF_C= ${CC} ${CFLAGS} ${CPPFLAGS} -c $< NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's,^\#.*,,' | ${AS} -o ${.TARGET} %OBJS %CFILES %SFILES # # Define a set of xxx_G variables that will add -g to just those # files that match the shell patterns given in ${DEBUGLIST} # .for i in ${DEBUGLIST} .for j in ${CFILES:T:M$i.c} ${j:R}_G= -g .endfor .endfor # load lines for config "xxx" will be emitted as: # xxx: ${SYSTEM_DEP} swapxxx.o # ${SYSTEM_LD_HEAD} # ${SYSTEM_LD} swapxxx.o # ${SYSTEM_LD_TAIL} SYSTEM_OBJ= locore.o transfer.o \ param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN} SYSTEM_DEP= Makefile ${SYSTEM_OBJ} SYSTEM_LD_HEAD= @@rm -f $@@ SYSTEM_LD= @@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \ ${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o SYSTEM_LD_TAIL= @@${SIZE} $@@; chmod 755 $@@ DEBUG?= .if ${DEBUG} == "-g" || defined(DEBUGLIST) LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb .else LINKFLAGS+= -S .endif %LOAD # Use awk to cross-build assym.h from the genassym.s file. assym.h: $S/kern/genassym.sh ${ALPHA}/alpha/genassym.cf sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \ < ${ALPHA}/alpha/genassym.cf > assym.h.tmp && \ mv -f assym.h.tmp assym.h param.c: $S/conf/param.c rm -f param.c cp $S/conf/param.c . param.o: param.c Makefile ${NORMAL_C} ioconf.o: ioconf.c ${NORMAL_C} newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} sh $S/conf/newvers.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c __CLEANKERNEL: .USE @@echo "${.TARGET}ing the kernel objects" rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \ [Ee]rrs linterrs makelinks assym.h.tmp assym.h __CLEANDEPEND: .USE rm -f .depend clean: __CLEANKERNEL cleandir distclean: __CLEANKERNEL __CLEANDEPEND lint: @@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ ${ALPHA}/alpha/Locore.c ${CFILES} \ ioconf.c param.c | \ grep -v 'static function .* unused' tags: @@echo "see $S/kern/Makefile for tags" links: egrep '#if' ${CFILES} | sed -f $S/conf/defines | \ sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \ sort -u | comm -23 - dontlink | \ sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks sh makelinks && rm -f dontlink SRCS= ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/transfer.s \ param.c ioconf.c ${CFILES} ${SFILES} depend: .depend .depend: ${SRCS} assym.h param.c ${MKDEP} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ ${ALPHA}/alpha/locore.s ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ ${ALPHA}/alpha/transfer.s ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} test -z "${SFILES}" || \ ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES} sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \ ${CPPFLAGS} < ${ALPHA}/alpha/genassym.cf @@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend @@rm -f assym.dep dependall: depend all # depend on root or device configuration autoconf.o conf.o: Makefile # depend on network or filesystem configuration uipc_proto.o vfs_conf.o: Makefile # depend on maxusers assym.h machdep.o: Makefile # depend on CPU configuration clock.o machdep.o apecs.o cia.o lca.o ioasic.o scc.o icasic.o: Makefile locore.o: ${ALPHA}/alpha/locore.s assym.h ${NORMAL_S} transfer.o: ${ALPHA}/alpha/transfer.s ${NORMAL_S} # The install target can be redefined by putting a # install-kernel-${MACHINE_NAME} target into /etc/mk.conf MACHINE_NAME!= uname -n install: install-kernel-${MACHINE_NAME} .if !target(install-kernel-${MACHINE_NAME}}) install-kernel-${MACHINE_NAME}: rm -f /onetbsd ln /netbsd /onetbsd cp netbsd /nnetbsd mv /nnetbsd /netbsd .endif %RULES @ 1.65.4.3 log @Catch up to -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.65.4.2 2002/01/08 00:22:53 nathanw Exp $ d14 8 d23 1 a23 1 # To specify debugging, add the config line: makeoptions DEBUG="-g" d28 35 a62 45 MACHINE_ARCH= alpha USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no .include ## ## (1) port identification ## ALPHA= $S/arch/alpha GENASSYM= ${ALPHA}/alpha/genassym.cf ## ## (2) compile settings ## CPPFLAGS+= -Dalpha CFLAGS+= -mno-fp-regs AFLAGS+= -traditional NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's,^\#.*,,' | \ ${AS} -o ${.TARGET} ## ## (3) libkern and compat ## ## ## (4) local objects, compile rules, and dependencies ## MD_OBJS= locore.o transfer.o MD_CFILES= MD_SFILES= ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/transfer.s locore.o: ${ALPHA}/alpha/locore.s assym.h ${NORMAL_S} transfer.o: ${ALPHA}/alpha/transfer.s ${NORMAL_S} ## ## (5) link settings ## LINKFORMAT= -N TEXTADDR?= fffffc0000300000 ENTRYPOINT= __transfer EXTRA_LINKFLAGS= -G 4 a64 15 ## ## (6) port specific target dependencies ## # depend on CPU configuration clock.o apecs.o cia.o lca.o ioasic.o scc.o icasic.o: Makefile ## ## (7) misc settings ## MKDEP_AFLAGS= -x assembler-with-cpp ${AFLAGS} ## ## (8) config(8) generated machinery ## d67 23 d96 35 d133 99 a232 5 ## ## (9) port independent kernel machinery ## .include "$S/conf/Makefile.kern.inc" @ 1.65.4.4 log @Catch up to -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.65.4.3 2002/10/18 02:34:09 nathanw Exp $ d72 1 a72 1 clock.o apecs.o cia.o lca.o ioasic.o icasic.o: Makefile @ 1.65.2.1 log @Sync kqueue branch with -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.72 2001/12/09 05:02:21 atatat Exp $ d14 3 d18 1 a18 1 # To specify debugging, add the config line: makeoptions DEBUG="-g" d23 35 a57 45 MACHINE_ARCH= alpha USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no .include ## ## (1) port identification ## ALPHA= $S/arch/alpha GENASSYM= ${ALPHA}/alpha/genassym.cf ## ## (2) compile settings ## CPPFLAGS+= -Dalpha CFLAGS+= -mno-fp-regs AFLAGS+= -traditional NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's,^\#.*,,' | \ ${AS} -o ${.TARGET} ## ## (3) libkern and compat ## ## ## (4) local objects, compile rules, and dependencies ## MD_OBJS= locore.o transfer.o MD_CFILES= MD_SFILES= ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/transfer.s locore.o: ${ALPHA}/alpha/locore.s assym.h ${NORMAL_S} transfer.o: ${ALPHA}/alpha/transfer.s ${NORMAL_S} ## ## (5) link settings ## LINKFORMAT= -N TEXTADDR?= fffffc0000300000 ENTRYPOINT= __transfer EXTRA_LINKFLAGS= -G 4 a59 15 ## ## (6) port specific target dependencies ## # depend on CPU configuration clock.o apecs.o cia.o lca.o ioasic.o scc.o icasic.o: Makefile ## ## (7) misc settings ## MKDEP_AFLAGS= -x assembler-with-cpp ${AFLAGS} ## ## (8) config(8) generated machinery ## d62 23 d91 35 d128 99 a227 5 ## ## (9) port independent kernel machinery ## .include "$S/conf/Makefile.kern.inc" @ 1.65.2.2 log @sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.65.2.1 2002/01/10 19:37:02 thorpej Exp $ d72 1 a72 1 clock.o apecs.o cia.o lca.o ioasic.o icasic.o: Makefile @ 1.64 log @Fix new DEBUGLIST feature. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.63 2001/05/08 05:47:35 ross Exp $ d44 1 a44 1 CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dalpha @ 1.63 log @Add DEBUGLIST mechanism. Example config line: makeoptions DEBUGLIST="uvm* trap ufs*" This turns on -g for only those files matching a DEBUGLIST pattern word. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.62 2000/12/17 15:52:39 jdolecek Exp $ d54 1 a54 1 CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -mno-fp-regs ${${<:T:R}_G} d81 1 a81 1 NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< @ 1.62 log @delete obsolete comment @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.61 2000/12/07 17:32:33 jdolecek Exp $ d17 5 d54 1 a54 1 CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -mno-fp-regs d91 11 d116 1 a116 1 .if ${DEBUG} == "-g" @ 1.62.2.1 log @Catch up to -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.62 2000/12/17 15:52:39 jdolecek Exp $ a16 5 # # To specify debugging, add the config line: makeoptions DEBUG="-g" # A better way is to specify -g only for a few files. # # makeoptions DEBUGLIST="uvm* trap if_*" d39 1 a39 1 CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dalpha d76 1 a76 1 NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${${<:T:R}_G} -c $< a85 11 # # Define a set of xxx_G variables that will add -g to just those # files that match the shell patterns given in ${DEBUGLIST} # .for i in ${DEBUGLIST} .for j in ${CFILES:T:M$i.c} ${j:R}_G= -g .endfor .endfor d100 1 a100 1 .if ${DEBUG} == "-g" || defined(DEBUGLIST) @ 1.61 log @generate dependencies for assym.h for make depend, fix dependency for maxusers (make assym.h depend on Makefile) @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.60 2000/11/29 13:02:51 jdolecek Exp $ a13 6 # # N.B.: NO DEPENDENCIES ON FOLLOWING FLAGS ARE VISIBLE TO MAKEFILE # IF YOU CHANGE THE DEFINITION OF ANY OF THESE RECOMPILE EVERYTHING # # -DTRACE compile in kernel tracing hooks # -DQUOTA compile in file system quotas @ 1.60 log @remove rules for genassym.c, it's no longer pertinent @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.59 2000/11/29 12:55:11 jdolecek Exp $ d179 4 d194 1 a194 1 genassym.o machdep.o: Makefile @ 1.59 log @convert to use common genassym.cf @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.58 2000/05/09 00:56:21 hubertf Exp $ a123 7 # The above rule lists genassym.o as a prerequisite so that the # generated .depend rule is effective, even though we actually # use genassym.s instead. This always creates both. genassym.o: ${ALPHA}/alpha/genassym.c ${CC} ${CPPFLAGS} -S $< ${CC} -c $*.s a178 1 ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/genassym.c @ 1.58 log @Add "install" target, so "make install" after building the kernel does something useful. The target can be redefined by putting a install-kernel-${MACHINE_NAME} target that fits your needs into /etc/mk.conf. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.57 2000/05/09 00:32:19 thorpej Exp $ d119 4 a122 2 assym.h: genassym.o $S/kern/genassym.awk awk -f $S/kern/genassym.awk < genassym.s > $@@ @ 1.57 log @HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also, make the use of -Wno-uninitialized explicit, don't rely on a compiler hack to do it for us. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.56 2000/02/01 05:25:24 tsutsui Exp $ d206 12 @ 1.56 log @Revert STRIPPROG -> STRIP @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.55 2000/01/24 20:36:06 tron Exp $ d43 1 a43 1 HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo d49 4 a52 1 .if (${HAVE_GCC28} != "") @ 1.55 log @Add "dependall" target for comfort. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.54 2000/01/19 16:29:54 tsutsui Exp $ d34 1 a34 1 STRIPPROG?=strip d107 2 a108 2 echo ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb @ 1.54 log @STRIP -> STRIPPROG @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.53 1999/07/26 05:20:44 cgd Exp $ d182 2 @ 1.53 log @be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't copy them just to strip them, use strip -o. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.52 1999/07/09 09:52:55 mrg Exp $ d34 1 a34 1 STRIP?= strip d107 2 a108 2 echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb @ 1.53.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.alpha,v 1.58 2000/05/09 00:56:21 hubertf Exp $ d43 1 a43 1 HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo d49 1 a49 4 # XXX Delete -Wuninitialized for now, since the compiler doesn't # XXX always get it right. --thorpej CWARNFLAGS+= -Wno-uninitialized .if (${HAVE_EGCS} != "") a182 2 dependall: depend all a200 12 # The install target can be redefined by putting a # install-kernel-${MACHINE_NAME} target into /etc/mk.conf MACHINE_NAME!= uname -n install: install-kernel-${MACHINE_NAME} .if !target(install-kernel-${MACHINE_NAME}}) install-kernel-${MACHINE_NAME}: rm -f /onetbsd ln /netbsd /onetbsd cp netbsd /nnetbsd mv /nnetbsd /netbsd .endif @ 1.53.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD$ d119 9 a127 4 assym.h: $S/kern/genassym.sh ${ALPHA}/alpha/genassym.cf sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \ < ${ALPHA}/alpha/genassym.cf > assym.h.tmp && \ mv -f assym.h.tmp assym.h d184 1 @ 1.53.2.3 log @Sync with HEAD (for UBC fixes) @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.53.2.2 2000/12/08 09:23:36 bouyer Exp $ a178 4 sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \ ${CPPFLAGS} < ${ALPHA}/alpha/genassym.cf @@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend @@rm -f assym.dep d190 1 a190 1 assym.h machdep.o: Makefile @ 1.53.2.4 log @Sync with HEAD (for UBC fixes). @ text @d1 1 a1 1 # $NetBSD$ @ 1.53.2.5 log @Sync with HEAD @ text @d14 6 @ 1.52 log @clean up a bit after jason :) - fix emitrules() like emitfiles() to deal with the prefix (otherwise it would attempt to find the file in the normal base for the NORMAL_C rule). - add emitincludes() which adds include directives for each prefix to the $INCLUDES variable in the makefile. - add %INCLUDES to each Makefile.arch to deal with the above. this makes "prefix" actually work in a usable manner, and now i can move on to fixing compiler warnings (errors) in the ESP code. :) @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.51 1999/05/31 18:54:49 ross Exp $ d106 3 a108 2 echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \ echo ${STRIP} ${STRIPFLAGS} $@@; ${STRIP} ${STRIPFLAGS} $@@ @ 1.51 log @Be less drastic when running strip(1) on DEBUG=-g kernels. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.50 1999/05/31 02:46:17 ross Exp $ d57 2 @ 1.50 log @Fix generation of locore.s dependencies. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.49 1999/02/23 01:00:51 thorpej Exp $ d56 1 a56 1 STRIPFLAGS= -g -X -x @ 1.49 log @Do all the fancy printf format checking. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.48 1999/02/01 23:18:56 tron Exp $ d173 1 a173 1 ${MKDEP} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ @ 1.49.6.1 log @bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes. This commit includes 1.4 -> 1.4.1 sync for kame branch. The branch does not compile at all (due to the lack of ALTQ and some other source code). Please do not try to modify the branch, this is just for referenre purposes. synchronization to latest KAME will take place on HEAD branch soon. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.49.2.1 1999/06/21 15:22:45 perry Exp $ d173 1 a173 1 ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ @ 1.49.2.1 log @pullup 1.49->1.50 (ross): Fix generation of locore.s dependencies @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.50 1999/05/31 02:46:17 ross Exp $ d173 1 a173 1 ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ @ 1.49.2.2 log @pull up rev 1.53 from trunk (requested by cgd): Be more efficient when linking kernels with debugging symbols. (Don't copy them just to strip them, use strip -o.) @ text @d1 1 a1 1 # $NetBSD$ d104 2 a105 3 echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb @ 1.49.4.1 log @Sync w/ -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.51 1999/05/31 18:54:49 ross Exp $ d56 1 a56 1 STRIPFLAGS= -g -X d173 1 a173 1 ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ @ 1.49.4.2 log @Update from trunk. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.49.4.1 1999/06/21 00:46:08 thorpej Exp $ a57 2 %INCLUDES d104 2 a105 3 echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb @ 1.48 log @Fix bug exposed by new "mkdep" program: "${SFILES}" is empty so that "cc" will fail with "No input files" during "mkdep". @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.47 1999/01/15 23:37:05 thorpej Exp $ d48 1 a48 1 -Wno-format -Wpointer-arith @ 1.47 log @Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.46 1999/01/08 19:26:12 augustss Exp $ d176 1 @ 1.46 log @Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.45 1998/10/15 18:37:13 drochner Exp $ d45 1 a45 2 CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \ -Dalpha @ 1.45 log @change handling of libkern: -sys/lib/libkern builds as library per default (as it was documented all the time) -ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles (for now; should depend on actual "option LKM" or -better- functions included for LKM use should be pulled in by a stub) -always link libcompat before libkern - libkern stuff can be referred to by libcompat, but not the other way @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.44 1998/09/05 15:15:14 lukem Exp $ d49 1 a49 1 -Wno-format @ 1.44 log @distclean is a synonym for cleandir @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.43 1998/05/31 23:25:41 thorpej Exp $ d94 1 a94 1 param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT} @ 1.43 log @Specify a non-profiling C rule. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.42 1998/04/12 23:47:41 tv Exp $ d149 1 a149 1 cleandir: __CLEANKERNEL __CLEANDEPEND @ 1.42 log @Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8 flags in cases where they may be useful, or to remove gcc 2.7.2 "bug workaround" flags.) @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.41 1998/03/25 02:16:42 ross Exp $ d79 1 @ 1.41 log @1. Always link at the high address, now that we can use free ram below the kernel on most platforms, including all of the entry-level platforms. 2. Kill the comments and options for load address selection. 3. Kill the default -g. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.40 1997/11/12 23:11:50 thorpej Exp $ d43 1 d50 3 @ 1.40 log @Make sure CPP, AR, AS, and RANLIB are defined. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.39 1997/11/12 22:25:31 thorpej Exp $ d51 1 a51 1 LOADADDRESS?= fffffc0000230000 @ 1.39 log @Define LORDER, NM, and TSORT here, like we do the rest of the tools. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.38 1997/11/03 04:22:05 ross Exp $ d24 2 d32 1 @ 1.38 log @--Add handcrafted stack frame directives to locore.s palcode vector --entries / remove kernel entry from locore / reorganize vector entry --code. Enables access to stack frames transitively w.r.t. palcode --vectors, e.g. upward traceback works, inverting (possibly several) --kernel vectors. Until now, all trackbacks ended at the first-reached --instance of trap(), which was totally useless as there is no mystery --to trap->panic->cpu_reboot @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.37 1997/10/04 17:20:07 gwr Exp $ d27 1 d29 1 d32 1 @ 1.37 log @use common genassym.awk @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.36 1997/09/30 22:39:49 christos Exp $ d46 1 a46 1 LINKFLAGS= -N -Ttext ${LOADADDRESS} -e __start -G 4 d82 1 a82 1 SYSTEM_OBJ= locore.o \ d157 1 a157 1 SRCS= ${ALPHA}/alpha/locore.s \ d163 2 d183 3 @ 1.37.2.1 log @Sync w/ trunk: ability to traceback past PALcode entry vectors. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.38 1997/11/03 04:22:05 ross Exp $ d46 1 a46 1 LINKFLAGS= -N -Ttext ${LOADADDRESS} -e __transfer -G 4 d82 1 a82 1 SYSTEM_OBJ= locore.o transfer.o \ d157 1 a157 1 SRCS= ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/transfer.s \ a162 2 ${MKDEP} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ ${ALPHA}/alpha/transfer.s a180 3 ${NORMAL_S} transfer.o: ${ALPHA}/alpha/transfer.s @ 1.37.2.2 log @Pull up "make sure tools are defined" changes from trunk. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.40 1997/11/12 23:11:50 thorpej Exp $ a23 2 AR?= ar AS?= as a26 1 LORDER?=lorder a27 2 NM?= nm RANLIB?=ranlib a29 1 TSORT?= tsort -q @ 1.36 log @PR/4162: Chris Jones: make cleandir does not work properly; it does not remove the object files and the .depend file in the kernel build directory. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.35 1997/08/22 06:37:17 cgd Exp $ d103 2 a104 2 assym.h: genassym.o ${ALPHA}/alpha/genassym.awk awk -f ${ALPHA}/alpha/genassym.awk < genassym.s > $@@ @ 1.35 log @lie to the compiler when doing mkdep so that it depends .s files correctly. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.34 1997/07/19 10:12:13 cgd Exp $ d128 2 a129 2 clean: cleankernel cleankernel: d131 8 a138 1 [Ee]rrs linterrs makelinks genassym genassym.o assym.h @ 1.34 log @* move COPTS out of the 'program variables' section of the makefile and into the 'argument variables' section. * define variables for CPP and SIZE, defaulting to cpp and size, respectively. * kill HOSTED_C*, since it's no longer used. * use ${SIZE} rather than using 'size' directly, so it can be overridden for cross-builds. * generate assym.h via assym.s and an awk script. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.33 1997/04/06 23:03:09 cgd Exp $ d154 2 a155 1 ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/locore.s d157 1 a157 1 ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} @ 1.34.2.1 log @Update marc-pcmcia branch from trunk. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.35 1997/08/22 06:37:17 cgd Exp $ d154 1 a154 2 ${MKDEP} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} \ ${ALPHA}/alpha/locore.s d156 1 a156 1 ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES} @ 1.34.2.2 log @Update marc-pcmcia branch from trunk. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.34.2.1 1997/08/23 07:06:37 thorpej Exp $ d103 2 a104 2 assym.h: genassym.o $S/kern/genassym.awk awk -f $S/kern/genassym.awk < genassym.s > $@@ d128 2 a129 2 __CLEANKERNEL: .USE @@echo "${.TARGET}ing the kernel objects" d131 1 a131 8 [Ee]rrs linterrs makelinks assym.h.tmp assym.h __CLEANDEPEND: .USE rm -f .depend clean: __CLEANKERNEL cleandir: __CLEANKERNEL __CLEANDEPEND @ 1.33 log @clean up NetBSD RCS ID strings @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.32 1997/02/04 05:08:27 perry Exp $ d25 1 d28 1 a29 1 COPTS?= -O2 d40 1 a48 4 HOSTED_CC= ${CC} HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//} HOSTED_CFLAGS= ${CFLAGS} a70 2 HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $< d88 1 a88 1 SYSTEM_LD_TAIL= @@size $@@; chmod 755 $@@ d102 7 a108 6 assym.h: genassym ./genassym >assym.h genassym: genassym.o ${CC} -o $@@ genassym.o d110 2 a111 1 ${HOSTED_C} d157 1 a157 2 ${MKDEP} -a ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} \ ${ALPHA}/alpha/genassym.c a170 1 @ 1.32 log @Nuke some options GENERIC residue. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.31 1997/02/04 04:31:55 perry Exp $ @ 1.31 log @Nuke some GENERIC residue. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.30 1997/01/23 22:47:31 cgd Exp $ d137 1 a137 1 ${ALPHA}/alpha/Locore.c ${CFILES} ${ALPHA}/alpha/swapgeneric.c \ @ 1.30 log @update for new kernel library Makefile.inc rules @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.29 1997/01/21 23:37:10 cgd Exp $ d136 1 a136 1 @@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \ @ 1.29 log @make load address settable via LOADADDRESS make option @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.28 1996/12/22 08:33:19 cgd Exp $ d130 2 a131 1 clean:: d154 1 a154 1 depend:: .depend @ 1.28 log @for now, -Wcast-qual is just not practical in the kernel @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $ d43 2 a44 1 LINKFLAGS= -N -Ttext fffffc0000230000 -e __start -G 4 @ 1.28.2.1 log @update from trunk @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.30 1997/01/23 22:47:31 cgd Exp $ d43 1 a43 2 LOADADDRESS?= fffffc0000230000 LINKFLAGS= -N -Ttext ${LOADADDRESS} -e __start -G 4 d129 1 a129 2 clean: cleankernel cleankernel: d152 1 a152 1 depend: .depend @ 1.27 log @* Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2. Lets users over-ride with makeoptions COPTS="..." in kernel config files. Leave `mandatory' flags (like -msoft-float which on m68k enforces no FP in kernel) in CFLAGS. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.26 1996/11/13 20:53:24 cgd Exp $ d40 1 a40 1 -Wcast-qual -Wno-format @ 1.27.2.1 log @sync with trunk @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.30 1997/01/23 22:47:31 cgd Exp $ d40 1 a40 1 -Wno-format d43 1 a43 2 LOADADDRESS?= fffffc0000230000 LINKFLAGS= -N -Ttext ${LOADADDRESS} -e __start -G 4 d129 1 a129 2 clean: cleankernel cleankernel: d152 1 a152 1 depend: .depend @ 1.27.2.2 log @sync the nwscons branch up with yesterday's version of the trunk. Lots of conflicts/changes because of the RCS Id format changes. Also, a few cleanups and corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.33 1997/04/06 23:03:09 cgd Exp $ d136 2 a137 2 @@lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ ${ALPHA}/alpha/Locore.c ${CFILES} \ @ 1.27.2.3 log @sync nwscons branch with changes in -current as of July 21, 1997 @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.27.2.2 1997/06/01 04:11:55 cgd Exp $ a24 1 CPP?= cpp a26 1 SIZE?= size d28 1 a38 1 COPTS?= -O2 d47 4 d73 2 d92 1 a92 1 SYSTEM_LD_TAIL= @@${SIZE} $@@; chmod 755 $@@ d106 6 a111 7 # Use awk to cross-build assym.h from the genassym.s file. assym.h: genassym.o ${ALPHA}/alpha/genassym.awk awk -f ${ALPHA}/alpha/genassym.awk < genassym.s > $@@ # The above rule lists genassym.o as a prerequisite so that the # generated .depend rule is effective, even though we actually # use genassym.s instead. This always creates both. d113 1 a113 2 ${CC} ${CPPFLAGS} -S $< ${CC} -c $*.s d159 2 a160 1 ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/genassym.c d174 1 @ 1.26 log @Set CWARNFLAGS to: -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wno-format (if not already set). -Wno-format is necessary because of the few bits of code in the tree that use NetBSD's special kernel printf() formats, and because there are a few bits of code that try to use the 'q' modifier to print int64_t's (but int64_t's are only 'long' on the alpha, not 'long long'). @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.25 1996/09/27 17:33:04 cgd Exp $ d28 1 d41 1 a41 1 CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -mno-fp-regs @ 1.25 log @compile .S files with cpp | sed | as, to work around a bug with the ELF-outputting version of the assembler. (It was dying when it saw some CPP line number markers.) This is temporary. (Workaround suggested by Matt Thomas.) @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.24 1996/09/09 21:06:55 mycroft Exp $ d38 2 a39 1 CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes @ 1.24 log @Move strip(1) flags into a separate variable, so that $STRIP can be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC, HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.23 1996/08/31 21:40:47 mycroft Exp $ d40 1 a40 1 AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE d68 1 a68 1 NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $< @ 1.23 log @Wrap the default definition of `S' in `.ifndef'. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.22 1996/08/20 22:23:01 cgd Exp $ d27 1 a27 2 STRIP?= strip -g -X -x TOUCH?= touch -f -c d42 5 d70 1 a70 1 HOSTED_C= ${NORMAL_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//} d96 1 a96 1 echo ${STRIP} $@@; ${STRIP} $@@ d155 2 a156 1 ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/genassym.c @ 1.22 log @kill 'microcode' Makefile.inc include, define CWARNFLAGS with ?=. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.21 1996/08/12 00:51:24 mycroft Exp $ d31 1 d33 1 @ 1.21 log @Put into . Remove hooks for `config-dependent' and `device-driver' flags. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.20 1996/08/10 06:07:57 mycroft Exp $ d37 1 a37 1 CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes a168 3 ### add microcode dependencies .include "$S/dev/microcode/Makefile.inc" @ 1.20 log @* Add a HOSTED_C_C variable, which strips `-p', `-pg', and `-nostdinc', and use it when building genassym. * Use `-nostdinc' just to be sure we're self-contained. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.19 1996/08/10 05:29:24 mycroft Exp $ d35 2 a36 1 CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dalpha d58 2 a59 4 # compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP} # where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix, # capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file # is marked as config-dependent. a61 5 NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $< DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $< a62 1 NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $< d64 1 a64 1 HOSTED_C_C= ${NORMAL_C_C:S/^-pg$//:S/^-p$//:S/^-nostdinc$//} d104 1 a104 1 ${HOSTED_C_C} d111 1 a111 1 ${NORMAL_C_C} d126 1 a126 1 @@lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \ d149 1 a149 1 ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${ALPHA}/alpha/genassym.c @ 1.19 log @* Define CWARNFLAGS and MKDEP in some moderately consistent fashion. * Make S expand to an absolute path at compile time. * Use `-S' rather than `-x' to remove debugging symbols. * Garbage collect unused variables. * Reverse a handful of port-specific changes that do not correspond to the common build model and are not needed. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.18 1996/07/14 20:20:10 cgd Exp $ d34 1 a34 1 INCLUDES= -I. -I$S/arch -I$S d71 2 d111 1 a111 1 ${NORMAL_C_C} @ 1.18 log @include 'microcode' dependencies, in case the aic7xxx driver is ever made to work on 64-bit systems or in case other drivers need it eventually. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.17 1996/07/09 00:46:01 cgd Exp $ a23 1 AS?= as a24 1 CPP?= cpp d26 1 d31 2 a32 2 S= ../../../.. ALPHA= ../.. d36 2 a37 2 CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS= ${DEBUG} -O2 -mno-fp-regs ${CWARNFLAGS} d97 1 a97 1 LINKFLAGS+= -x d151 4 a154 4 mkdep ${AFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/locore.s mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES} mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${ALPHA}/alpha/genassym.c @ 1.17 log @add -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes as CWARNFLAGS in the Makefile, but (for the time being, i.e. until that works) override that with 'makeoptions' in std.alpha. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.16 1996/05/19 21:16:51 cgd Exp $ d175 3 @ 1.16 log @add -O2 to the optimization flags. A reason why optimization seemed to fail on some systems was never found; hopefully it's gone away (or was never really there). @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.15 1996/05/11 16:11:30 mycroft Exp $ d37 2 a38 1 CFLAGS= ${DEBUG} -O2 -Werror -mno-fp-regs @ 1.15 log @Make `make depend' work for libraries. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.14 1996/02/29 20:54:58 cgd Exp $ d37 1 a37 1 CFLAGS= ${DEBUG} -Werror -mno-fp-regs @ 1.14 log @Do not build vnode_if.[ch] for each kernel. Build them once, like the various syscall sources/headers, and just compile them. From PR 2142, OK'd by mycroft. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.13 1996/02/26 02:53:20 mycroft Exp $ d149 1 a149 1 depend: .depend @ 1.13 log @Define build programs with `?=', so they can be overridden with `makeoptions'. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.11 1996/02/03 00:43:50 mycroft Exp $ a24 1 AWK?= awk d83 1 a83 1 vnode_if.o param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT} a110 3 vnode_if.c vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src AWK="${AWK}" sh $S/kern/vnode_if.sh $S/kern/vnode_if.src d127 1 a127 1 rm -f eddep *netbsd netbsd.gdb tags vnode_if.[ch] *.[io] [a-z]*.s \ d148 1 a148 1 vnode_if.c param.c ioconf.c ${CFILES} ${SFILES} d150 1 a150 1 .depend: ${SRCS} assym.h vnode_if.h param.c d152 1 a152 1 mkdep -a ${CFLAGS} ${CPPFLAGS} vnode_if.c param.c ioconf.c ${CFILES} @ 1.12 log @Fix mkdep problems due to missing flags. @ text @d24 7 a30 7 AS= as AWK= awk CC= cc CPP= cpp LD= ld STRIP= strip -g -X -x TOUCH= touch -f -c @ 1.11 log @Use `-traditional-cpp' when building .s and .S files. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.10 1996/02/02 20:08:17 mycroft Exp $ d39 1 a39 1 AFLAGS= -D_LOCORE d69 2 a70 2 NORMAL_S= ${CC} -traditional-cpp -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} -c $< NORMAL_S_C= ${CC} -traditional-cpp -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $< d155 1 a155 1 mkdep -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${ALPHA}/alpha/locore.s d157 1 a157 1 mkdep -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES} @ 1.10 log @Clone these, and fix many bugs. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.9 1996/02/02 02:34:09 mycroft Exp $ d69 2 a70 2 NORMAL_S= ${CC} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} -c $< NORMAL_S_C= ${CC} -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $< @ 1.9 log @assym.s -> assym.h (Some ports did this already.) @ text @d1 2 a2 2 # $NetBSD: Makefile.alpha,v 1.8 1995/11/23 02:35:16 cgd Exp $ # d8 1 a8 1 # /sys/conf/``machineid'' d10 1 a10 1 # config machineid d12 1 a12 1 # /sys/conf/Makefile.``machinetype'' d24 7 a30 6 AS?= as AWK?= awk CC?= cc CPP?= cpp LD?= ld TOUCH?= touch -f -c d36 5 a40 5 INCLUDES= -I. -I$S/arch -I$S -I$S/sys COPTS= ${INCLUDES} ${IDENT} -D_KERNEL CFLAGS= -Werror -fno-builtin -mno-fp-regs ${DEBUG} ${COPTS} -Dalpha #CFLAGS+=-Wmissing-prototypes -Wmissing-declarations AFLAGS= ${COPTS} d63 8 a70 8 NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $< NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $< NORMAL_S= rm -f $*.c; ln -s $< $*.c; \ ${CC} ${AFLAGS} -I${ALPHA}/alpha -E $*.c > $*.i; \ ${AS} -o $@@ $*.i; rm -f $*.c $*.i NORMAL_S_C= rm -f $*.c; ln -s $< $*.c; \ ${CC} ${AFLAGS} ${PARAM} -I${ALPHA}/alpha -E $*.c > $*.i; \ ${AS} -o $@@ $*.i; rm -f $*.c $*.i d76 2 d83 2 a84 9 DEBUG?= .if ${DEBUG} == "-g" LDX=-X .else LDX=-x .endif LDFLAGS= ${LDX} -G 4 -N -e __start -Ttext fffffc0000230000 SYSTEM_OBJ= locore.o vnode_if.o ${OBJS} param.o ioconf.o ${LIBKERN} \ ${LIBCOMPAT} d86 3 a88 3 SYSTEM_LD_HEAD= @@echo loading $@@; rm -f $@@ SYSTEM_LD= -@@echo ${LD} ${LDFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o ${XXX}; \ ${LD} ${LDFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o ${XXX} d90 2 d93 4 a96 3 .if 0 SYSTEM_LD_TAIL+=; echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \ echo strip -d $@@; strip -d $@@ d98 1 a98 3 SYSTEM_LD_TAIL+=; echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \ echo strip -g -X -x $@@; strip -g -X -x $@@ .endif d103 11 a113 3 newvers: sh $S/conf/newvers.sh ${CC} ${CFLAGS} -c vers.c d115 3 a117 3 clean:: rm -f eddep *netbsd netbsd.gdb tags tags1 vnode_if.[ch] *.[io] \ [a-z]*.s Errs errs linterrs makelinks genassym d119 2 d122 2 a123 3 locore.o: ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/pal.s \ ${ALPHA}/alpha/prom_disp.s ${ALPHA}/include/intrcnt.h assym.h ${NORMAL_S_C} d125 3 a127 2 # depend on maxusers assym.h: Makefile a128 3 ./assym.h: assym.h assym.h: genassym ./genassym >assym.h d130 3 a132 2 genassym: genassym.o ${CC} -o $@@ genassym.o d134 5 a138 2 genassym.o: ${ALPHA}/alpha/genassym.c ${CC} -c ${CFLAGS} ${PARAM} $< d140 2 a141 5 SRCS= ${CFILES} ${ALPHA}/alpha/genassym.c ioconf.c param.c vnode_if.c depend: .depend .depend: ${SRCS} assym.h mkdep ${COPTS} ${SRCS} mkdep -a -p ${COPTS} ${ALPHA}/alpha/genassym.c d148 1 a148 1 sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks d151 9 a159 4 tags: depend sh $S/conf/systags.sh rm -f tags1 sed -e 's, ../, ,' tags > tags1 d161 8 a168 2 ioconf.o: ioconf.c ${CC} -c ${CFLAGS} ioconf.c d170 2 a171 3 param.c: $S/conf/param.c rm -f param.c cp $S/conf/param.c . a172 2 param.o: param.c Makefile ${CC} -c ${CFLAGS} ${PARAM} param.c d174 2 a175 2 vnode_if.c vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src AWK="${AWK}" sh $S/kern/vnode_if.sh $S/kern/vnode_if.src @ 1.8 log @wholesale update from my NetBSD/Alpha source tree. Includes: Support for AXPpci CPUs, Support for AlphaStation 600 CPUs, new boot block structure, which requires an 'installboot' program and works a lot like the NetBSD/sparc boot blocks. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.7 1995/09/19 23:28:06 thorpej Exp $ d116 1 a116 1 ${ALPHA}/alpha/prom_disp.s ${ALPHA}/include/intrcnt.h assym.s d120 1 a120 1 assym.s: Makefile d122 3 a124 3 ./assym.s: assym.s assym.s: genassym ./genassym >assym.s d134 1 a134 1 .depend: ${SRCS} assym.s @ 1.7 log @Compile the kernel with -fno-builtin. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.6 1995/08/03 00:09:23 cgd Exp $ d38 1 d94 9 a102 4 #.if ${DEBUG} == "-g" #SYSTEM_LD_TAIL+=; echo cp $@@ $@@.gdb; rm -f $@@.gdb; cp $@@ $@@.gdb; \ # echo strip -d $@@; strip -d $@@ #.endif d116 1 a116 1 ${ALPHA}/alpha/prom_disp.s assym.s @ 1.6 log @update for all the latest bells and whistles @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.5 1995/06/24 20:40:45 christos Exp $ d37 1 a37 1 CFLAGS= -Werror -mno-fp-regs ${DEBUG} ${COPTS} -Dalpha @ 1.5 log @Makefile.`arch`: - Add -lcompat - Change clean: target to be a double dep one, so libraries can use the clean target too @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.4 1995/05/16 22:24:17 jtc Exp $ d37 1 a37 1 CFLAGS= -mno-fp-regs ${DEBUG} ${COPTS} -Dalpha @ 1.4 log @Removing -DKERNEL, transition to _KERNEL has been completed @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.3 1995/04/22 12:44:08 cgd Exp $ d48 8 d86 2 a87 1 SYSTEM_OBJ= locore.o vnode_if.o ${OBJS} param.o ioconf.o ${LIBKERN} d104 1 a104 1 clean: @ 1.3 log @kill some non-gnu-tools cruft, allow rest of programs to be parameterized @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.2 1995/03/23 19:46:18 jtc Exp $ d36 1 a36 1 COPTS= ${INCLUDES} ${IDENT} -DKERNEL -D_KERNEL @ 1.2 log @Added -D_KERNEL to CFLAGS alongside each -DKERNEL. @ text @d1 1 a1 1 # $NetBSD: Makefile.alpha,v 1.1 1995/02/13 23:07:25 cgd Exp $ d24 2 a25 2 AS= as AWK= awk d27 3 a29 2 CPP= cpp TOUCH= touch -f -c d37 1 a37 5 .if ${CC} == "cc" CFLAGS= -Wc,-nofloat -D__STDC__ -Dalpha ${DEBUG} ${COPTS} AFLAGS= -D__ALPHA_AS__ ${COPTS} .else CFLAGS= -mno-fp-regs ${DEBUG} ${COPTS} a38 1 .endif a76 4 .if ${CC} == "cc" LDFLAGS= ${LDX} -G 4 -N -w2 -e __start -T fffffc0000230000 XXX= -lc .else a77 2 XXX= .endif @ 1.1 log @preliminary Alpha support. note that NOT ALL OF THE MODIFICATIONS TO THE REST OF THE KERNEL ARE IN THE TREE YET. Also, some of this is _incredibly_ hack-ish, etc., but it works. @ text @d1 1 a1 1 # $NetBSD$ d35 1 a35 1 COPTS= ${INCLUDES} ${IDENT} -DKERNEL @