head 1.32; access; symbols netbsd-9-5-RELEASE:1.29.4.1 netbsd-11-0-RELEASE:1.30 netbsd-11-0-RC7:1.30 netbsd-11-0-RC6:1.30 netbsd-11-0-RC5:1.30 netbsd-11-0-RC4:1.30 netbsd-11-0-RC3:1.30 netbsd-11-0-RC2:1.30 netbsd-11-0-RC1:1.30 perseant-exfatfs-base-20250801:1.30 netbsd-11:1.30.0.8 netbsd-11-base:1.30 netbsd-10-1-RELEASE:1.29.30.1 perseant-exfatfs-base-20240630:1.30 perseant-exfatfs:1.30.0.6 perseant-exfatfs-base:1.30 netbsd-8-3-RELEASE:1.27.10.1 netbsd-9-4-RELEASE:1.29.4.1 netbsd-10-0-RELEASE:1.29.30.1 netbsd-10-0-RC6:1.29.30.1 netbsd-10-0-RC5:1.29.30.1 netbsd-10-0-RC4:1.29.30.1 netbsd-10-0-RC3:1.29.30.1 netbsd-10-0-RC2:1.29.30.1 thorpej-ifq:1.30.0.4 thorpej-ifq-base:1.30 thorpej-altq-separation:1.30.0.2 thorpej-altq-separation-base:1.30 netbsd-10-0-RC1:1.29.30.1 netbsd-10:1.29.0.30 netbsd-10-base:1.29 bouyer-sunxi-drm:1.29.0.28 bouyer-sunxi-drm-base:1.29 netbsd-9-3-RELEASE:1.29 thorpej-i2c-spi-conf2:1.29.0.26 thorpej-i2c-spi-conf2-base:1.29 thorpej-futex2:1.29.0.24 thorpej-futex2-base:1.29 thorpej-cfargs2:1.29.0.22 thorpej-cfargs2-base:1.29 cjep_sun2x-base1:1.29 cjep_sun2x:1.29.0.20 cjep_sun2x-base:1.29 cjep_staticlib_x-base1:1.29 netbsd-9-2-RELEASE:1.29 cjep_staticlib_x:1.29.0.18 cjep_staticlib_x-base:1.29 thorpej-i2c-spi-conf:1.29.0.16 thorpej-i2c-spi-conf-base:1.29 thorpej-cfargs:1.29.0.14 thorpej-cfargs-base:1.29 thorpej-futex:1.29.0.12 thorpej-futex-base:1.29 netbsd-9-1-RELEASE:1.29 bouyer-xenpvh-base2:1.29 phil-wifi-20200421:1.29 bouyer-xenpvh-base1:1.29 phil-wifi-20200411:1.29 bouyer-xenpvh:1.29.0.10 bouyer-xenpvh-base:1.29 is-mlppp:1.29.0.8 is-mlppp-base:1.29 phil-wifi-20200406:1.29 netbsd-8-2-RELEASE:1.27 ad-namecache-base3:1.29 netbsd-9-0-RELEASE:1.29 netbsd-9-0-RC2:1.29 ad-namecache-base2:1.29 ad-namecache-base1:1.29 ad-namecache:1.29.0.6 ad-namecache-base:1.29 netbsd-9-0-RC1:1.29 phil-wifi-20191119:1.29 netbsd-9:1.29.0.4 netbsd-9-base:1.29 phil-wifi-20190609:1.29 netbsd-8-1-RELEASE:1.27 netbsd-8-1-RC1:1.27 isaki-audio2:1.29.0.2 isaki-audio2-base:1.29 pgoyette-compat-merge-20190127:1.28.2.1 pgoyette-compat-20190127:1.29 pgoyette-compat-20190118:1.29 pgoyette-compat-1226:1.29 pgoyette-compat-1126:1.29 pgoyette-compat-1020:1.29 pgoyette-compat-0930:1.29 pgoyette-compat-0906:1.28 netbsd-7-2-RELEASE:1.24 pgoyette-compat-0728:1.28 netbsd-8-0-RELEASE:1.27 phil-wifi:1.28.0.4 phil-wifi-base:1.28 pgoyette-compat-0625:1.28 netbsd-8-0-RC2:1.27 pgoyette-compat-0521:1.28 pgoyette-compat-0502:1.28 pgoyette-compat-0422:1.28 netbsd-8-0-RC1:1.27 pgoyette-compat-0415:1.28 pgoyette-compat-0407:1.28 pgoyette-compat-0330:1.28 pgoyette-compat-0322:1.28 pgoyette-compat-0315:1.28 netbsd-7-1-2-RELEASE:1.24 pgoyette-compat:1.28.0.2 pgoyette-compat-base:1.28 netbsd-7-1-1-RELEASE:1.24 tls-maxphys-base-20171202:1.27 matt-nb8-mediatek:1.27.0.14 matt-nb8-mediatek-base:1.27 nick-nhusb-base-20170825:1.27 perseant-stdc-iso10646:1.27.0.12 perseant-stdc-iso10646-base:1.27 netbsd-8:1.27.0.10 netbsd-8-base:1.27 prg-localcount2-base3:1.27 prg-localcount2-base2:1.27 prg-localcount2-base1:1.27 prg-localcount2:1.27.0.8 prg-localcount2-base:1.27 pgoyette-localcount-20170426:1.27 bouyer-socketcan-base1:1.27 jdolecek-ncq:1.27.0.6 jdolecek-ncq-base:1.27 pgoyette-localcount-20170320:1.27 netbsd-7-1:1.24.0.18 netbsd-7-1-RELEASE:1.24 netbsd-7-1-RC2:1.24 nick-nhusb-base-20170204:1.27 netbsd-7-nhusb-base-20170116:1.24 bouyer-socketcan:1.27.0.4 bouyer-socketcan-base:1.27 pgoyette-localcount-20170107:1.27 netbsd-7-1-RC1:1.24 nick-nhusb-base-20161204:1.27 pgoyette-localcount-20161104:1.27 netbsd-7-0-2-RELEASE:1.24 nick-nhusb-base-20161004:1.27 localcount-20160914:1.27 netbsd-7-nhusb:1.24.0.16 netbsd-7-nhusb-base:1.24 pgoyette-localcount-20160806:1.27 pgoyette-localcount-20160726:1.27 pgoyette-localcount:1.27.0.2 pgoyette-localcount-base:1.27 nick-nhusb-base-20160907:1.27 nick-nhusb-base-20160529:1.27 netbsd-7-0-1-RELEASE:1.24 nick-nhusb-base-20160422:1.27 nick-nhusb-base-20160319:1.27 nick-nhusb-base-20151226:1.27 netbsd-7-0:1.24.0.14 netbsd-7-0-RELEASE:1.24 nick-nhusb-base-20150921:1.27 netbsd-7-0-RC3:1.24 netbsd-7-0-RC2:1.24 netbsd-7-0-RC1:1.24 nick-nhusb-base-20150606:1.26 nick-nhusb-base-20150406:1.26 nick-nhusb:1.26.0.2 nick-nhusb-base:1.26 netbsd-5-2-3-RELEASE:1.19 netbsd-5-1-5-RELEASE:1.19 netbsd-6-0-6-RELEASE:1.23 netbsd-6-1-5-RELEASE:1.23 netbsd-7:1.24.0.12 netbsd-7-base:1.24 yamt-pagecache-base9:1.24 yamt-pagecache-tag8:1.22.2.1 netbsd-6-1-4-RELEASE:1.23 netbsd-6-0-5-RELEASE:1.23 tls-earlyentropy:1.24.0.10 tls-earlyentropy-base:1.24 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.24 riastradh-drm2-base3:1.24 netbsd-6-1-3-RELEASE:1.23 netbsd-6-0-4-RELEASE:1.23 netbsd-5-2-2-RELEASE:1.19 netbsd-5-1-4-RELEASE:1.19 netbsd-6-1-2-RELEASE:1.23 netbsd-6-0-3-RELEASE:1.23 netbsd-5-2-1-RELEASE:1.19 netbsd-5-1-3-RELEASE:1.19 rmind-smpnet-nbase:1.24 netbsd-6-1-1-RELEASE:1.23 riastradh-drm2-base2:1.24 riastradh-drm2-base1:1.24 riastradh-drm2:1.24.0.8 riastradh-drm2-base:1.24 rmind-smpnet:1.24.0.6 rmind-smpnet-base:1.24 netbsd-6-1:1.23.0.16 netbsd-6-0-2-RELEASE:1.23 netbsd-6-1-RELEASE:1.23 khorben-n900:1.24.0.4 netbsd-6-1-RC4:1.23 netbsd-6-1-RC3:1.23 agc-symver:1.24.0.2 agc-symver-base:1.24 netbsd-6-1-RC2:1.23 netbsd-6-1-RC1:1.23 yamt-pagecache-base8:1.23 netbsd-5-2:1.19.0.42 netbsd-6-0-1-RELEASE:1.23 yamt-pagecache-base7:1.23 netbsd-5-2-RELEASE:1.19 netbsd-5-2-RC1:1.19 matt-nb6-plus-nbase:1.23 yamt-pagecache-base6:1.23 netbsd-6-0:1.23.0.12 netbsd-6-0-RELEASE:1.23 netbsd-6-0-RC2:1.23 tls-maxphys:1.23.0.10 tls-maxphys-base:1.24 matt-nb6-plus:1.23.0.8 matt-nb6-plus-base:1.23 netbsd-6-0-RC1:1.23 jmcneill-usbmp-base10:1.23 yamt-pagecache-base5:1.23 jmcneill-usbmp-base9:1.23 yamt-pagecache-base4:1.23 jmcneill-usbmp-base8:1.23 jmcneill-usbmp-base7:1.23 jmcneill-usbmp-base6:1.23 jmcneill-usbmp-base5:1.23 jmcneill-usbmp-base4:1.23 jmcneill-usbmp-base3:1.23 jmcneill-usbmp-pre-base2:1.23 jmcneill-usbmp-base2:1.23 netbsd-6:1.23.0.6 netbsd-6-base:1.23 netbsd-5-1-2-RELEASE:1.19 netbsd-5-1-1-RELEASE:1.19 jmcneill-usbmp:1.23.0.4 jmcneill-usbmp-base:1.23 jmcneill-audiomp3:1.23.0.2 jmcneill-audiomp3-base:1.23 yamt-pagecache-base3:1.22 yamt-pagecache-base2:1.22 yamt-pagecache:1.22.0.2 yamt-pagecache-base:1.22 rmind-uvmplock-nbase:1.20 cherry-xenmp:1.20.0.2 cherry-xenmp-base:1.20 jym-xensuspend-nbase:1.20 uebayasi-xip-base7:1.20 bouyer-quota2-nbase:1.20 bouyer-quota2:1.19.0.40 bouyer-quota2-base:1.20 jruoho-x86intr:1.19.0.38 jruoho-x86intr-base:1.19 matt-mips64-premerge-20101231:1.19 matt-nb5-mips64-premerge-20101231:1.19 matt-nb5-pq3:1.19.0.36 matt-nb5-pq3-base:1.19 netbsd-5-1:1.19.0.34 uebayasi-xip-base6:1.19 uebayasi-xip-base5:1.19 netbsd-5-1-RELEASE:1.19 uebayasi-xip-base4:1.19 uebayasi-xip-base3:1.19 yamt-nfs-mp-base11:1.19 netbsd-5-1-RC4:1.19 matt-nb5-mips64-k15:1.19 uebayasi-xip-base2:1.19 yamt-nfs-mp-base10:1.19 netbsd-5-1-RC3:1.19 netbsd-5-1-RC2:1.19 uebayasi-xip-base1:1.19 netbsd-5-1-RC1:1.19 rmind-uvmplock:1.19.0.32 rmind-uvmplock-base:1.20 yamt-nfs-mp-base9:1.19 uebayasi-xip:1.19.0.30 uebayasi-xip-base:1.19 netbsd-5-0-2-RELEASE:1.19 matt-nb5-mips64-premerge-20091211:1.19 matt-premerge-20091211:1.19 yamt-nfs-mp-base8:1.19 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.19 matt-nb4-mips64-k7-u2a-k9b:1.19 matt-nb5-mips64-u1-k1-k5:1.19 yamt-nfs-mp-base7:1.19 matt-nb5-mips64:1.19.0.28 netbsd-5-0-1-RELEASE:1.19 jymxensuspend-base:1.19 yamt-nfs-mp-base6:1.19 yamt-nfs-mp-base5:1.19 yamt-nfs-mp-base4:1.19 yamt-nfs-mp-base3:1.19 nick-hppapmap-base4:1.19 nick-hppapmap-base3:1.19 netbsd-5-0:1.19.0.26 netbsd-5-0-RELEASE:1.19 netbsd-5-0-RC4:1.19 netbsd-5-0-RC3:1.19 nick-hppapmap-base2:1.19 netbsd-5-0-RC2:1.19 jym-xensuspend:1.19.0.24 jym-xensuspend-base:1.20 netbsd-5-0-RC1:1.19 haad-dm-base2:1.19 haad-nbase2:1.19 ad-audiomp2:1.19.0.22 ad-audiomp2-base:1.19 netbsd-5:1.19.0.20 netbsd-5-base:1.19 nick-hppapmap:1.19.0.18 nick-hppapmap-base:1.19 matt-mips64-base2:1.19 haad-dm-base1:1.19 wrstuden-revivesa-base-4:1.19 netbsd-4-0-1-RELEASE:1.18 wrstuden-revivesa-base-3:1.19 wrstuden-revivesa-base-2:1.19 wrstuden-fixsa-newbase:1.18 nick-csl-alignment-base5:1.18 haad-dm:1.19.0.16 haad-dm-base:1.19 wrstuden-revivesa-base-1:1.19 simonb-wapbl-nbase:1.19 yamt-pf42-base4:1.19 simonb-wapbl:1.19.0.14 simonb-wapbl-base:1.19 yamt-pf42-base3:1.19 hpcarm-cleanup-nbase:1.19 yamt-pf42-baseX:1.19 yamt-pf42-base2:1.19 yamt-nfs-mp-base2:1.19 wrstuden-revivesa:1.19.0.12 wrstuden-revivesa-base:1.19 yamt-nfs-mp:1.19.0.10 yamt-nfs-mp-base:1.19 yamt-pf42:1.19.0.8 yamt-pf42-base:1.19 ad-socklock-base1:1.19 yamt-lazymbuf-base15:1.19 yamt-lazymbuf-base14:1.19 keiichi-mipv6-nbase:1.19 mjf-devfs2:1.19.0.6 mjf-devfs2-base:1.19 nick-net80211-sync:1.19.0.4 nick-net80211-sync-base:1.19 keiichi-mipv6:1.19.0.2 keiichi-mipv6-base:1.19 bouyer-xeni386-merge1:1.18 matt-armv6-prevmlocking:1.18 wrstuden-fixsa-base-1:1.18 vmlocking2-base3:1.18 netbsd-4-0:1.18.0.68 netbsd-4-0-RELEASE:1.18 bouyer-xeni386-nbase:1.18 yamt-kmem-base3:1.18 cube-autoconf:1.18.0.66 cube-autoconf-base:1.18 yamt-kmem-base2:1.18 bouyer-xeni386:1.18.0.64 bouyer-xeni386-base:1.18 yamt-kmem:1.18.0.62 yamt-kmem-base:1.18 vmlocking2-base2:1.18 reinoud-bufcleanup-nbase:1.18 vmlocking2:1.18.0.60 vmlocking2-base1:1.18 netbsd-4-0-RC5:1.18 matt-nb4-arm:1.18.0.58 matt-nb4-arm-base:1.18 matt-armv6-nbase:1.19 jmcneill-base:1.18 netbsd-4-0-RC4:1.18 mjf-devfs:1.18.0.56 mjf-devfs-base:1.18 bouyer-xenamd64-base2:1.18 vmlocking-nbase:1.18 yamt-x86pmap-base4:1.18 bouyer-xenamd64:1.18.0.54 bouyer-xenamd64-base:1.18 netbsd-4-0-RC3:1.18 yamt-x86pmap-base3:1.18 yamt-x86pmap-base2:1.18 netbsd-4-0-RC2:1.18 yamt-x86pmap:1.18.0.52 yamt-x86pmap-base:1.18 netbsd-4-0-RC1:1.18 matt-armv6:1.18.0.50 matt-armv6-base:1.18 jmcneill-pm:1.18.0.48 jmcneill-pm-base:1.18 hpcarm-cleanup:1.18.0.46 hpcarm-cleanup-base:1.19 nick-csl-alignment:1.18.0.44 nick-csl-alignment-base:1.18 matt-mips64:1.18.0.42 matt-mips64-base:1.18 netbsd-3-1-1-RELEASE:1.16 netbsd-3-0-3-RELEASE:1.16 yamt-idlelwp-base8:1.18 wrstuden-fixsa:1.18.0.40 wrstuden-fixsa-base:1.18 ppcoea-renovation:1.18.0.38 ppcoea-renovation-base:1.18 thorpej-atomic:1.18.0.36 thorpej-atomic-base:1.18 reinoud-bufcleanup:1.18.0.34 reinoud-bufcleanup-base:1.18 mjf-ufs-trans:1.18.0.32 mjf-ufs-trans-base:1.18 vmlocking:1.18.0.30 vmlocking-base:1.18 ad-audiomp:1.18.0.28 ad-audiomp-base:1.18 yamt-idlelwp:1.18.0.26 post-newlock2-merge:1.18 newlock2-nbase:1.18 yamt-splraiseipl-base5:1.18 yamt-splraiseipl-base4:1.18 yamt-splraiseipl-base3:1.18 abandoned-netbsd-4-base:1.18 abandoned-netbsd-4:1.18.0.18 netbsd-3-1:1.16.0.14 netbsd-3-1-RELEASE:1.16 netbsd-3-0-2-RELEASE:1.16 yamt-splraiseipl-base2:1.18 netbsd-3-1-RC4:1.16 yamt-splraiseipl:1.18.0.22 yamt-splraiseipl-base:1.18 netbsd-3-1-RC3:1.16 yamt-pdpolicy-base9:1.18 newlock2:1.18.0.20 newlock2-base:1.18 yamt-pdpolicy-base8:1.18 netbsd-3-1-RC2:1.16 netbsd-3-1-RC1:1.16 yamt-pdpolicy-base7:1.18 netbsd-4:1.18.0.24 netbsd-4-base:1.18 yamt-pdpolicy-base6:1.18 chap-midi-nbase:1.18 netbsd-3-0-1-RELEASE:1.16 gdamore-uart:1.18.0.16 gdamore-uart-base:1.18 simonb-timcounters-final:1.18 yamt-pdpolicy-base5:1.18 chap-midi:1.18.0.14 chap-midi-base:1.18 yamt-pdpolicy-base4:1.18 yamt-pdpolicy-base3:1.18 peter-altq-base:1.18 peter-altq:1.18.0.12 yamt-pdpolicy-base2:1.18 elad-kernelauth-base:1.18 elad-kernelauth:1.18.0.10 yamt-pdpolicy:1.18.0.8 yamt-pdpolicy-base:1.18 yamt-uio_vmspace-base5:1.18 simonb-timecounters:1.18.0.6 simonb-timecounters-base:1.18 rpaulo-netinet-merge-pcb:1.18.0.4 rpaulo-netinet-merge-pcb-base:1.18 yamt-uio_vmspace:1.18.0.2 netbsd-3-0:1.16.0.12 netbsd-3-0-RELEASE:1.16 netbsd-3-0-RC6:1.16 yamt-readahead-base3:1.17 netbsd-3-0-RC5:1.16 netbsd-3-0-RC4:1.16 netbsd-3-0-RC3:1.16 yamt-readahead-base2:1.17 netbsd-3-0-RC2:1.16 yamt-readahead-pervnode:1.17 yamt-readahead-perfile:1.17 yamt-readahead:1.17.0.8 yamt-readahead-base:1.17 netbsd-3-0-RC1:1.16 yamt-vop-base3:1.17 netbsd-2-0-3-RELEASE:1.15 netbsd-2-1:1.15.10.1.0.2 yamt-vop-base2:1.17 thorpej-vnode-attr:1.17.0.6 thorpej-vnode-attr-base:1.17 netbsd-2-1-RELEASE:1.15.10.1 yamt-vop:1.17.0.4 yamt-vop-base:1.17 netbsd-2-1-RC6:1.15.10.1 netbsd-2-1-RC5:1.15.10.1 netbsd-2-1-RC4:1.15.10.1 netbsd-2-1-RC3:1.15.10.1 netbsd-2-1-RC2:1.15.10.1 netbsd-2-1-RC1:1.15.10.1 yamt-lazymbuf:1.17.0.2 yamt-km-base4:1.16 netbsd-2-0-2-RELEASE:1.15 yamt-km-base3:1.16 netbsd-3:1.16.0.10 netbsd-3-base:1.16 yamt-km-base2:1.16 yamt-km:1.16.0.6 yamt-km-base:1.16 kent-audio2:1.16.0.4 kent-audio2-base:1.16 netbsd-2-0-1-RELEASE:1.15 kent-audio1-beforemerge:1.16 netbsd-2:1.15.0.10 netbsd-2-base:1.15 kent-audio1:1.16.0.2 kent-audio1-base:1.16 netbsd-2-0-RELEASE:1.15 netbsd-2-0-RC5:1.15 netbsd-2-0-RC4:1.15 netbsd-2-0-RC3:1.15 netbsd-2-0-RC2:1.15 netbsd-2-0-RC1:1.15 netbsd-2-0:1.15.0.8 netbsd-2-0-base:1.15 netbsd-1-6-PATCH002-RELEASE:1.13 netbsd-1-6-PATCH002:1.13 netbsd-1-6-PATCH002-RC4:1.13 netbsd-1-6-PATCH002-RC3:1.13 netbsd-1-6-PATCH002-RC2:1.13 netbsd-1-6-PATCH002-RC1:1.13 ktrace-lwp:1.15.0.6 ktrace-lwp-base:1.17 netbsd-1-6-PATCH001:1.13 netbsd-1-6-PATCH001-RELEASE:1.13 netbsd-1-6-PATCH001-RC3:1.13 netbsd-1-6-PATCH001-RC2:1.13 netbsd-1-6-PATCH001-RC1:1.13 nathanw_sa_end:1.11.2.4 nathanw_sa_before_merge:1.15 fvdl_fs64_base:1.15 gmcgarry_ctxsw:1.15.0.4 gmcgarry_ctxsw_base:1.15 gmcgarry_ucred:1.15.0.2 gmcgarry_ucred_base:1.15 nathanw_sa_base:1.15 kqueue-aftermerge:1.14 kqueue-beforemerge:1.14 netbsd-1-6-RELEASE:1.13 netbsd-1-6-RC3:1.13 netbsd-1-6-RC2:1.13 netbsd-1-6-RC1:1.13 netbsd-1-6:1.13.0.10 netbsd-1-6-base:1.13 gehenna-devsw:1.13.0.8 gehenna-devsw-base:1.14 netbsd-1-5-PATCH003:1.7 eeh-devprop:1.13.0.6 eeh-devprop-base:1.13 newlock:1.13.0.4 newlock-base:1.13 ifpoll-base:1.13 nathanw_sa:1.11.0.2 thorpej-mips-cache:1.10.0.2 thorpej-mips-cache-base:1.11 thorpej-devvp-base3:1.9 thorpej-devvp-base2:1.9 post-chs-ubcperf:1.9 pre-chs-ubcperf:1.9 thorpej-devvp:1.9.0.4 thorpej-devvp-base:1.9 netbsd-1-5-PATCH002:1.7 kqueue:1.9.0.2 kqueue-base:1.14 netbsd-1-5-PATCH001:1.7 thorpej_scsipi_beforemerge:1.8 thorpej_scsipi_nbase:1.8 thorpej_scsipi_base:1.8 thorpej_scsipi:1.7.0.6 netbsd-1-5-RELEASE:1.7 netbsd-1-5-BETA2:1.7 netbsd-1-5-BETA:1.7 netbsd-1-5-ALPHA2:1.7 netbsd-1-5:1.7.0.4 netbsd-1-5-base:1.7 minoura-xpg4dl:1.7.0.2 minoura-xpg4dl-base:1.7 chs-ubc2-newbase:1.5; locks; strict; comment @# @; 1.32 date 2026.04.20.09.47.45; author thorpej; state Exp; branches; next 1.31; commitid gHqDysuna5nrhGCG; 1.31 date 2026.03.21.20.14.55; author thorpej; state Exp; branches; next 1.30; commitid etOtJrKRuTo8ISyG; 1.30 date 2023.04.11.13.26.19; author tsutsui; state Exp; branches; next 1.29; commitid 2YN9TzByf1yL0HkE; 1.29 date 2018.09.22.12.24.02; author rin; state Exp; branches 1.29.4.1 1.29.30.1; next 1.28; commitid oPiNEJ7VnAF626TA; 1.28 date 2018.02.25.00.27.16; author mrg; state Exp; branches 1.28.2.1 1.28.4.1; next 1.27; commitid rhNeBRRdy64OPasA; 1.27 date 2015.09.06.02.17.30; author uebayasi; state Exp; branches 1.27.10.1; next 1.26; 1.26 date 2014.11.13.16.18.38; author tsutsui; state Exp; branches 1.26.2.1; next 1.25; 1.25 date 2014.11.13.15.03.06; author uebayasi; state Exp; branches; next 1.24; 1.24 date 2013.03.10.07.18.20; author christos; state Exp; branches; next 1.23; 1.23 date 2011.11.12.13.44.26; author tsutsui; state Exp; branches 1.23.10.1; next 1.22; 1.22 date 2011.07.20.12.00.04; author tsutsui; state Exp; branches 1.22.2.1; next 1.21; 1.21 date 2011.07.16.15.52.21; author tsutsui; state Exp; branches; next 1.20; 1.20 date 2011.01.21.15.59.06; author joerg; state Exp; branches; next 1.19; 1.19 date 2008.02.19.14.38.14; author joerg; state Exp; branches 1.19.32.1 1.19.38.1 1.19.40.1; next 1.18; 1.18 date 2005.12.11.12.17.51; author christos; state Exp; branches 1.18.50.1; next 1.17; 1.17 date 2005.05.31.04.03.10; author christos; state Exp; branches 1.17.2.1; next 1.16; 1.16 date 2004.06.04.04.45.50; author thorpej; state Exp; branches; next 1.15; 1.15 date 2002.11.26.18.51.14; author thorpej; state Exp; branches 1.15.6.1 1.15.10.1; next 1.14; 1.14 date 2002.06.04.21.39.10; author thorpej; state Exp; branches; next 1.13; 1.13 date 2001.12.09.05.00.45; author atatat; state Exp; branches 1.13.8.1; next 1.12; 1.12 date 2001.11.20.12.56.31; author lukem; state Exp; branches; next 1.11; 1.11 date 2001.10.26.06.45.37; author jmc; state Exp; branches 1.11.2.1; next 1.10; 1.10 date 2001.10.23.19.26.45; author thorpej; state Exp; branches 1.10.2.1; next 1.9; 1.9 date 2001.05.29.02.20.23; author mrg; state Exp; branches 1.9.2.1; next 1.8; 1.8 date 2000.12.17.15.52.41; author jdolecek; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 2000.05.09.00.56.24; author hubertf; state Exp; branches 1.7.6.1; next 1.6; 1.6 date 2000.05.09.00.32.23; author thorpej; state Exp; branches; next 1.5; 1.5 date 2000.02.01.05.25.34; author tsutsui; state Exp; branches; next 1.4; 1.4 date 2000.01.24.20.36.13; author tron; state Exp; branches; next 1.3; 1.3 date 2000.01.19.16.30.05; author tsutsui; state Exp; branches; next 1.2; 1.2 date 2000.01.19.14.45.16; author tsutsui; state Exp; branches; next 1.1; 1.1 date 2000.01.05.08.48.54; author nisimura; state Exp; branches; next ; 1.29.4.1 date 2023.04.20.13.47.02; author martin; state Exp; branches; next ; commitid cY6LpTJViEIWPQlE; 1.29.30.1 date 2023.04.20.13.45.20; author martin; state Exp; branches; next ; commitid DZoXpnupRzimPQlE; 1.28.2.1 date 2018.09.30.01.45.45; author pgoyette; state Exp; branches; next ; commitid SQ44grEPCeKPh4UA; 1.28.4.1 date 2019.06.10.22.06.25; author christos; state Exp; branches; next ; commitid jtc8rnCzWiEEHGqB; 1.27.10.1 date 2023.04.20.13.49.10; author martin; state Exp; branches; next ; commitid oZKDmkyU9Q6GQQlE; 1.26.2.1 date 2015.09.22.12.05.45; author skrll; state Exp; branches; next ; 1.23.10.1 date 2013.06.23.06.20.07; author tls; state Exp; branches; next 1.23.10.2; 1.23.10.2 date 2017.12.03.11.36.23; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.22.2.1 date 2012.04.17.00.06.34; author yamt; state Exp; branches; next 1.22.2.2; 1.22.2.2 date 2014.05.22.11.39.55; author yamt; state Exp; branches; next ; 1.19.32.1 date 2011.03.05.20.50.52; author rmind; state Exp; branches; next ; 1.19.38.1 date 2011.06.06.09.05.56; author jruoho; state Exp; branches; next ; 1.19.40.1 date 2011.02.08.16.19.27; author bouyer; state Exp; branches; next ; 1.18.50.1 date 2008.03.23.02.04.09; author matt; state Exp; branches; next ; 1.17.2.1 date 2008.02.27.08.36.21; author yamt; state Exp; branches; next ; 1.15.6.1 date 2004.08.03.10.36.30; author skrll; state Exp; branches; next 1.15.6.2; 1.15.6.2 date 2004.09.18.14.36.06; author skrll; state Exp; branches; next 1.15.6.3; 1.15.6.3 date 2004.09.21.13.17.24; author skrll; state Exp; branches; next 1.15.6.4; 1.15.6.4 date 2005.11.10.13.57.09; author skrll; state Exp; branches; next ; 1.15.10.1 date 2005.02.06.07.45.25; author jmc; state Exp; branches; next ; 1.13.8.1 date 2002.07.14.17.48.04; author gehenna; state Exp; branches; next ; 1.11.2.1 date 2001.10.26.06.45.37; author nathanw; state dead; branches; next 1.11.2.2; 1.11.2.2 date 2002.01.08.00.25.50; author nathanw; state Exp; branches; next 1.11.2.3; 1.11.2.3 date 2002.06.20.03.39.18; author nathanw; state Exp; branches; next 1.11.2.4; 1.11.2.4 date 2002.12.11.06.10.37; author thorpej; state Exp; branches; next ; 1.10.2.1 date 2001.11.12.21.17.10; author thorpej; state Exp; branches; next ; 1.9.2.1 date 2002.01.10.19.45.16; author thorpej; state Exp; branches; next 1.9.2.2; 1.9.2.2 date 2002.06.23.17.37.37; author jdolecek; state Exp; branches; next ; 1.8.2.1 date 2001.06.21.19.26.19; author nathanw; state Exp; branches; next ; 1.7.6.1 date 2000.05.09.00.56.24; author bouyer; state dead; branches; next 1.7.6.2; 1.7.6.2 date 2000.11.20.20.10.25; author bouyer; state Exp; branches; next 1.7.6.3; 1.7.6.3 date 2001.01.05.17.34.34; author bouyer; state Exp; branches; next ; desc @@ 1.32 log @Re-factor genassym.cf into common m68k definitions and platform-specific ones. @ text @# $NetBSD: Makefile.luna68k,v 1.31 2026/03/21 20:14:55 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/luna68k/conf/``machineid'' # after which you should do # config machineid # Machine generic makefile changes should be made in # /sys/arch/luna68k/conf/Makefile.luna68k # 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=m68k USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no .include ## ## (1) port identification ## LUNA68K= $S/arch/luna68k GENASSYM_CONF= $S/arch/m68k/m68k/genassym.cf GENASSYM_EXTRAS+= ${LUNA68K}/luna68k/genassym.cf ## ## (2) compile settings ## CPPFLAGS+= -Dluna68k CFLAGS+= -msoft-float AFLAGS+= -x assembler-with-cpp ## ## (3) libkern and compat ## OPT_MODULAR= %MODULAR% ## ## (4) local objects, compile rules, and dependencies ## .include "$S/arch/m68k/conf/Makefile.kern.m68k.inc" # for the Motorola 68040 Floating Point Software Product .include "$S/arch/m68k/fpsp/Makefile.inc" MD_OBJS= locore.o MD_LIBS= ${FPSP} MD_CFILES= MD_SFILES= ${LUNA68K}/luna68k/locore.s locore.o: ${LUNA68K}/luna68k/locore.s assym.h ${NORMAL_S} .include "$S/arch/m68k/conf/Makefile.kern.m68k.inc" ## ## (5) link settings ## LINKFORMAT= -N TEXTADDR?= 0xc000 ## ## (6) port specific target dependencies ## # depend on CPU configuration machdep.c trap.o: Makefile copy.o copypage.o lock_stubs.o: assym.h ## ## (7) misc settings ## ## ## (8) config(8) generated machinery ## %INCLUDES %OBJS %CFILES %SFILES %LOAD %RULES ## ## (9) port independent kernel machinery ## .include "$S/conf/Makefile.kern.inc" ## ## (10) Appending make options. ## %MAKEOPTIONSAPPEND @ 1.31 log @Re-factor m68k FP exception handling: - Move the FP exception stubs into the shared trap_subr.s. Remove as many conditionals from the stubs as feasible, having separate stubs for each case that needs to be handled. This doesn't really result in any more (or duplicated) code, and makes it all a lot easier to read. - All platforms now call the new fpu_init() function, which is renamed from fpu_probe(), and centralizes all of the FP-related initialization. Platforms that don't need to probe for the FPU aren't forced to do so; the probe only occurs if the fputype is FPU_UNKNOWN at the time fpu_init() is called. - Even on platforms that don't actually need to probe the FPU, make sure the "nofault" code is present in trap() to do so; this is meant to reduce diffs that need to be resolved later then the trap() function is re-factored. - On Amiga and Atari, remove the bespoke vectab code and just use the shared vec_init(). Additional cleanup is possible in this area. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.30 2023/04/11 13:26:19 tsutsui Exp $ d28 2 a29 1 GENASSYM_CONF= ${LUNA68K}/luna68k/genassym.cf @ 1.30 log @Fix missing locore.d dependency output on make depend. Reported from isaki@@. Looks missed in rev 1.13 (22 years ago): http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13 Should be pulled up to netbsd-8, netbsd-9, and netbsd-10. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.29 2018/09/22 12:24:02 rin Exp $ d45 2 @ 1.29 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.luna68k,v 1.28 2018/02/25 00:27:16 mrg Exp $ d51 1 a51 1 MD_SFILES= @ 1.29.4.1 log @Pull up following revision(s) (requested by tsutsui in ticket #1627): sys/arch/luna68k/conf/Makefile.luna68k: revision 1.30 Fix missing locore.d dependency output on make depend. Reported from isaki@@. Looks missed in rev 1.13 (22 years ago): https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13 @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.29 2018/09/22 12:24:02 rin Exp $ d51 1 a51 1 MD_SFILES= ${LUNA68K}/luna68k/locore.s @ 1.29.30.1 log @Pull up following revision(s) (requested by tsutsui in ticket #143): sys/arch/luna68k/conf/Makefile.luna68k: revision 1.30 Fix missing locore.d dependency output on make depend. Reported from isaki@@. Looks missed in rev 1.13 (22 years ago): https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13 @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.29 2018/09/22 12:24:02 rin Exp $ d51 1 a51 1 MD_SFILES= ${LUNA68K}/luna68k/locore.s @ 1.28 log @add a special rule to build m68k/fpu.c to avoid passing -msoft-float. fixes GCC 6 kernel builds that use this file. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.27 2015/09/06 02:17:30 uebayasi Exp $ a40 5 .if !empty(OPT_MODULAR) KERN_AS= obj .else KERN_AS= library .endif @ 1.28.4.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.29 2018/09/22 12:24:02 rin Exp $ d41 5 @ 1.28.2.1 log @Ssync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.29 2018/09/22 12:24:02 rin Exp $ d41 5 @ 1.27 log @Declare dependency on fpsp.o via newly introduced ${MD_LIBS} instead of ${MD_OBJS}. ${MD_OBJS} should be used only for objects that must be linked first (i.e., start code). Objects have to be compiled following common compile rules, and have to be generated into common places (i.e., top of kernel build directory). ${MD_LIBS} defines libraries that are built by separate makefiles, under separate directories. `Makefile.kern.inc' doesn't know intermediate library objects. @ text @d1 1 a1 1 # $NetBSD$ d61 2 @ 1.27.10.1 log @Pull up following revision(s) (requested by tsutsui in ticket #1821): sys/arch/luna68k/conf/Makefile.luna68k: revision 1.30 Fix missing locore.d dependency output on make depend. Reported from isaki@@. Looks missed in rev 1.13 (22 years ago): https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13 @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.27 2015/09/06 02:17:30 uebayasi Exp $ d56 1 a56 1 MD_SFILES= ${LUNA68K}/luna68k/locore.s @ 1.26 log @Stop building a.out kernels so that mkldscript.sh is no longer necessary. Tested "build.sh release", and the default ELF GENERIC kernel loaded by the native bootloader just works on LUNA-II. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.25 2014/11/13 15:03:06 uebayasi Exp $ d53 2 a54 1 MD_OBJS= locore.o ${FPSP} @ 1.26.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.27 2015/09/06 02:17:30 uebayasi Exp $ d53 1 a53 2 MD_OBJS= locore.o MD_LIBS= ${FPSP} @ 1.25 log @Missing dependency on ldscript files. @ text @d1 1 a1 1 # $NetBSD$ d63 2 a64 17 LINKFORMAT= -N -T ldscript .if (${OBJECT_FMT} == "ELF") # Need to convert the kernel from ELF to a.out so that PROM can load it. SYSTEM_LD_HEAD_EXTRA+=; \ ( cat ${LUNA68K}/conf/kern.ldscript.head ; \ OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh \ ${SYSTEM_OBJ} ; \ cat ${LUNA68K}/conf/kern.ldscript.tail ) > ldscript SYSTEM_DEP+= ${LUNA68K}/conf/kern.ldscript.head \ $S/conf/mkldscript.sh \ ${LUNA68K}/conf/kern.ldscript.tail SYSTEM_LD_TAIL_EXTRA+=; \ echo "${ELF2AOUT} $@@ $@@.aout" ; \ ${ELF2AOUT} $@@ $@@.aout .endif @ 1.24 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.luna68k,v 1.23 2011/11/12 13:44:26 tsutsui Exp $ d72 3 @ 1.23 log @Finally complete LUNA-II support, after almost 12 years since initial import of NetBSD/luna68k. Note a working LUNA-II machine was found and provided by OMRON guys after LUNA demonstration at Open Source Conference 2011 Kansai @@ Kyoto: http://mail-index.NetBSD.org/source-changes/2011/07/16/msg024675.html and this resurrected LUNA-II which runs NetBSD/luna68k -current with Xserver was also demonstrated on the NetBSD booth at Kansai Open Source 2011: http://www.NetBSD.org/gallery/events.html#kansai-os-jp-2011 It's really pleasure to meet many OMRON LUNA developers and LUNA users at the NetBSD booth. Thank you everyone! Changes details: luna68k/luna68k/locore.s - don't use 68030 specific pflusha instruction in 68040 initialization path - use TBIA() to invalidate TLB instead of 68030's pflusha after MMU is turned on (as hp300 does) (these two bugs are fatal at early bootstrap) - pull loadustp() fixes from hp300/locore.s rev 1.82 (more flush ops are required in it otherwise causes random coredumps) - specify correct %tt1 mask value (the mask value means actually bit mask, not transparent range) luna68k/luna68k/machdep.c - use proper delay_divisor for 68040 25MHz LUNA-II luna68k/luna68k/mainbus.c - prepare and use per-model mainbus device lists for mainbus_attach_args luna68k/conf/GENERIC luna68k/conf/INSTALL - enable options M68040 and FPSP - enable secondary spc(4) on LUNA-II luna68k/conf/Makefile.luna68k - include arch/m68k/fpsp/Makefile.inc for FPSP luna68k/dev/lcd.c - promote LUNA-II model on LCD XXX: old and slow SCSI-1 drives like Hitachi DK312 seems to have XXX: some problem with spc(4) driver, even on the original LUNA @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.22 2011/07/20 12:00:04 tsutsui Exp $ d40 6 @ 1.23.10.1 log @resync from head @ text @d1 1 a1 1 # $NetBSD$ a39 6 OPT_MODULAR= %MODULAR% .if !empty(OPT_MODULAR) KERN_AS= obj .else KERN_AS= library .endif @ 1.23.10.2 log @update from HEAD @ text @d53 1 a53 2 MD_OBJS= locore.o MD_LIBS= ${FPSP} d63 14 a76 2 LINKFORMAT= -N TEXTADDR?= 0xc000 @ 1.22 log @Fix thinko. src/sys/conf/mkldscript.sh requires $OBJDUMP, not $ELF2AOUT. (note generated faked a.out kernels can still be loaded and work fine) @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.21 2011/07/16 15:52:21 tsutsui Exp $ d45 1 a45 1 # .include "$S/arch/m68k/fpsp/Makefile.inc" @ 1.22.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.22 2011/07/20 12:00:04 tsutsui Exp $ d45 1 a45 1 .include "$S/arch/m68k/fpsp/Makefile.inc" @ 1.22.2.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.luna68k,v 1.22.2.1 2012/04/17 00:06:34 yamt Exp $ a39 6 OPT_MODULAR= %MODULAR% .if !empty(OPT_MODULAR) KERN_AS= obj .else KERN_AS= library .endif @ 1.21 log @Revive NetBSD/luna68k. Even after almost a lost decade since NetBSD/luna68k was switched to using ELF format by default back in 2001, actually only one fix (bus.h) is required for a GENERIC kernel itself to get multiuser login: prompt on a real hardware. Hurrahhh!!! Demonstrated with a working Xorg mono server on the NetBSD booth at Open Source Conference 2011 Kansai @@ Kyoto: http://www.ospn.jp/osc2011-kyoto/ "Very impressed," commented by Tomoko YOSHIDA, Program Committee Chair of the Conference, and some other OMRON guys. Special Thanks to Tadashi Okamura, for providing a working SX-9100/DT "LUNA" for this mission. Changes details: sys/arch/luna68k/include/bus.h - handle stride properly even on multi and region ops for MI spc(4) - also fix stride handling of (currently unused) 2 and 4 byte ops sys/arch/luna68k/conf/Makefile.luna68k sys/arch/luna68k/conf/kern.ldscript.head sys/arch/luna68k/conf/kern.ldscript.tail - build a faked a.out kernel using elf2aout(8) tool and a linker script derived from cats and shark for the LUNA firmware that loads a.out binary directly via network or from a UNIOS partition on a local disk sys/arch/luna68k/dev/omrasops.c sys/arch/luna68k/dev/omron_rfont.h - use the original OMRON font derived from 4.4BSD-Lite/luna68k rather than gallant19 which is used on Sun workstations (XXX omrasops.c should be rewritten to use generic wsfont(4)) distrib/luna68k/* distrib/utils/sysinst/arch/luna68k/* etc/etc.luna68k/MAKEDEV.conf etc/etc.luna68k/Makefile.inc sys/arch/luna68k/conf/INSTALL - build a ramdisk based INSTALL kernel with sysinst(8) for luna68k - also build an installation iso image for luna68k sys/arch/luna68k/conf/GENERIC - enable SYSVSHM (and other SYSV*) options for Xorg server More Xorg changes (which need some more cleanup) and isiboot.c fixes will come soon. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.20 2011/01/21 15:59:06 joerg Exp $ d63 1 a63 1 ELF2AOUT=${ELF2AOUT} ${HOST_SH} $S/conf/mkldscript.sh \ @ 1.20 log @Switch remaining platforms to modern CPP for assembler. @ text @d1 1 a1 1 # $NetBSD: src/sys/arch/luna68k/conf/Makefile.luna68k,v 1.19 2008-02-19 14:38:14 joerg Exp $ d57 14 a70 2 LINKFORMAT= -N TEXTADDR?= 0xc000 @ 1.19 log @Add missing assym.h dependencies. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.18 2005/12/11 12:17:51 christos Exp $ d35 1 a35 1 AFLAGS+= -x assembler-with-cpp -traditional-cpp @ 1.19.38.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.20 2011/01/21 15:59:06 joerg Exp $ d35 1 a35 1 AFLAGS+= -x assembler-with-cpp @ 1.19.32.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD$ d35 1 a35 1 AFLAGS+= -x assembler-with-cpp @ 1.19.40.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.20 2011/01/21 15:59:06 joerg Exp $ d35 1 a35 1 AFLAGS+= -x assembler-with-cpp @ 1.18 log @merge ktrace-lwp. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.15.6.4 2005/11/10 13:57:09 skrll Exp $ d67 2 @ 1.18.50.1 log @sync with HEAD @ text @d1 1 a1 1 # Makefile.luna68k,v 1.18 2005/12/11 12:17:51 christos Exp a66 2 copy.o copypage.o lock_stubs.o: assym.h @ 1.17 log @s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.16 2004/06/04 04:45:50 thorpej Exp $ @ 1.17.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.17 2005/05/31 04:03:10 christos Exp $ a66 2 copy.o copypage.o lock_stubs.o: assym.h @ 1.16 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.luna68k,v 1.15 2002/11/26 18:51:14 thorpej Exp $ d28 1 a28 1 GENASSYM= ${LUNA68K}/luna68k/genassym.cf @ 1.15 log @The traditional C preprocessor is fixed in GCC 3.3 now, so no need to skip -traditional-cpp for HAVE_GCC3. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.14 2002/06/04 21:39:10 thorpej Exp $ d90 5 @ 1.15.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.luna68k,v 1.15 2002/11/26 18:51:14 thorpej Exp $ a89 5 ## ## (10) IPF source directory ## CPPFLAGS+= -I$S/dist/ipf @ 1.15.6.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.16 2004/06/04 04:45:50 thorpej Exp $ a89 5 ## ## (10) Appending make options. ## %MAKEOPTIONSAPPEND @ 1.15.6.2 log @Sync with HEAD. @ text @@ 1.15.6.3 log @Fix the sync with head I botched. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.15.6.1 2004/08/03 10:36:30 skrll Exp $ @ 1.15.6.4 log @Sync with HEAD. Here we go again... @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.15.6.3 2004/09/21 13:17:24 skrll Exp $ d28 1 a28 1 GENASSYM_CONF= ${LUNA68K}/luna68k/genassym.cf @ 1.14 log @Don't use -traditional-cpp if HAVE_GCC3. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.13 2001/12/09 05:00:45 atatat Exp $ a34 3 .if defined(HAVE_GCC3) AFLAGS+= -x assembler-with-cpp .else a35 1 .endif @ 1.13 log @Roll the rest of the ports over to the new MI kernel build machinery. Any problems reported by testers have been fixed, and massive cross-compiling of kernels has shown that any problems that remain with actually building kernels are not related to this. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.12 2001/11/20 12:56:31 lukem Exp $ d35 3 d39 1 @ 1.13.8.1 log @catch up with -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.14 2002/06/04 21:39:10 thorpej Exp $ a34 3 .if defined(HAVE_GCC3) AFLAGS+= -x assembler-with-cpp .else a35 1 .endif @ 1.12 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.luna68k,v 1.11 2001/10/26 06:45:37 jmc Exp $ d14 4 d21 1 a21 1 d24 22 a45 2 # DEBUG is set to -g if debugging. # PROF is set to -pg if profiling. d47 3 a49 39 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 OBJCOPY?= objcopy COPTS?= -O2 # source tree is located via $S relative to the compilation directory .ifndef S S!= cd ../../../..; pwd .endif LUNA68K=$S/arch/luna68k # Override CPP defaults entirely, so cross-compilation works. # Keep -nostdinc before all -I flags, similar for -undef ... HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo INCLUDES= -nostdinc -I. -I$S/arch -I$S CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dluna68k 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} -msoft-float AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE LINKFLAGS= -N -Ttext 0xc000 -e start STRIPFLAGS= -g d51 2 a52 1 %INCLUDES d54 9 a62 19 HOSTED_CC= ${CC} HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//} HOSTED_CFLAGS= ${CFLAGS} ### 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 d64 2 a65 2 ### for the Motorola 68040 Floating Point Software Product # .include "$S/arch/m68k/fpsp/Makefile.inc" d67 8 a74 8 # compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or # HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file). NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< NOPROF_C= ${CC} ${CFLAGS} ${CPPFLAGS} -c $< NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $< HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $< a81 24 # load lines for config "xxx" will be emitted as: # xxx: ${SYSTEM_DEP} swapxxx.o # ${SYSTEM_LD_HEAD} # ${SYSTEM_LD} swapxxx.o # ${SYSTEM_LD_TAIL} SYSTEM_OBJ= locore.o ${FPSP} \ param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN} SYSTEM_DEP= Makefile ${SYSTEM_OBJ} SYSTEM_LD_HEAD= @@rm -f $@@ SYSTEM_LD= @@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \ ${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o SYSTEM_LD_TAIL= @@${SIZE} $@@; chmod 755 $@@ DEBUG?= .if ${DEBUG} == "-g" LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb .else LINKFLAGS+= -S .endif d84 1 a84 66 assym.h: $S/kern/genassym.sh ${LUNA68K}/luna68k/genassym.cf sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \ < ${LUNA68K}/luna68k/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 \ ${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= ${LUNA68K}/luna68k/locore.s \ param.c ioconf.c ${CFILES} ${SFILES} depend: .depend .depend: ${SRCS} assym.h param.c ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${LUNA68K}/luna68k/locore.s ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \ ${CPPFLAGS} < ${LUNA68K}/luna68k/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 d86 4 a89 22 # depend on maxusers machdep.o: Makefile # depend on CPU configuration machdep.c trap.o: Makefile locore.o: ${LUNA68K}/luna68k/locore.s assym.h ${NORMAL_S} # The install target can be redefined by putting a # install-kernel-${MACHINE_NAME} target into /etc/mk.conf MACHINE_NAME!= uname -n install: install-kernel-${MACHINE_NAME} .if !target(install-kernel-${MACHINE_NAME}}) install-kernel-${MACHINE_NAME}: rm -f /onetbsd ln /netbsd /onetbsd cp netbsd /nnetbsd mv /nnetbsd /netbsd .endif %RULES @ 1.11 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.luna68k,v 1.10 2001/10/23 19:26:45 thorpej Exp $ d47 1 a47 1 HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo d53 1 a53 1 # XXX always get it right. --thorpej d192 3 a194 3 # depend on network or filesystem configuration uipc_proto.o vfs_conf.o: Makefile d199 1 a199 1 # depend on CPU configuration @ 1.11.2.1 log @file Makefile.luna68k was added on branch nathanw_sa on 2002-01-08 00:25:50 +0000 @ text @d1 217 @ 1.11.2.2 log @Catch up to -current. @ text @a0 89 # $NetBSD: Makefile.luna68k,v 1.11.2.1 2002/01/08 00:25:50 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/luna68k/conf/``machineid'' # after which you should do # config machineid # Machine generic makefile changes should be made in # /sys/arch/luna68k/conf/Makefile.luna68k # 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=m68k USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no .include ## ## (1) port identification ## LUNA68K= $S/arch/luna68k GENASSYM= ${LUNA68K}/luna68k/genassym.cf ## ## (2) compile settings ## CPPFLAGS+= -Dluna68k CFLAGS+= -msoft-float AFLAGS+= -x assembler-with-cpp -traditional-cpp ## ## (3) libkern and compat ## ## ## (4) local objects, compile rules, and dependencies ## # for the Motorola 68040 Floating Point Software Product # .include "$S/arch/m68k/fpsp/Makefile.inc" MD_OBJS= locore.o ${FPSP} MD_CFILES= MD_SFILES= locore.o: ${LUNA68K}/luna68k/locore.s assym.h ${NORMAL_S} ## ## (5) link settings ## LINKFORMAT= -N TEXTADDR?= 0xc000 ## ## (6) port specific target dependencies ## # depend on CPU configuration machdep.c trap.o: Makefile ## ## (7) misc settings ## ## ## (8) config(8) generated machinery ## %INCLUDES %OBJS %CFILES %SFILES %LOAD %RULES ## ## (9) port independent kernel machinery ## .include "$S/conf/Makefile.kern.inc" @ 1.11.2.3 log @Catch up to -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.11.2.2 2002/06/20 03:39:18 nathanw Exp $ a34 3 .if defined(HAVE_GCC3) AFLAGS+= -x assembler-with-cpp .else a35 1 .endif @ 1.11.2.4 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.11.2.3 2002/12/11 06:10:37 thorpej Exp $ d35 3 d39 1 @ 1.10 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.luna68k,v 1.9 2001/05/29 02:20:23 mrg Exp $ d16 3 @ 1.10.2.1 log @Sync the thorpej-mips-cache branch with -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.11 2001/10/26 06:45:37 jmc Exp $ a15 3 USETOOLS?= no .include @ 1.9 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.luna68k,v 1.8 2000/12/17 15:52:41 jdolecek Exp $ d14 2 @ 1.9.2.1 log @Sync kqueue branch with -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.13 2001/12/09 05:00:45 atatat Exp $ a13 4 # To specify debugging, add the config line: makeoptions DEBUG="-g" # A better way is to specify -g only for a few files. # # makeoptions DEBUGLIST="uvm* trap if_*" d15 44 a58 27 MACHINE_ARCH=m68k USETOOLS?= no NEED_OWN_INSTALL_TARGET?=no .include ## ## (1) port identification ## LUNA68K= $S/arch/luna68k GENASSYM= ${LUNA68K}/luna68k/genassym.cf ## ## (2) compile settings ## CPPFLAGS+= -Dluna68k CFLAGS+= -msoft-float AFLAGS+= -x assembler-with-cpp -traditional-cpp ## ## (3) libkern and compat ## ## ## (4) local objects, compile rules, and dependencies ## # for the Motorola 68040 Floating Point Software Product # .include "$S/arch/m68k/fpsp/Makefile.inc" d60 19 a78 3 MD_OBJS= locore.o ${FPSP} MD_CFILES= MD_SFILES= d80 2 a81 2 locore.o: ${LUNA68K}/luna68k/locore.s assym.h ${NORMAL_S} d83 2 a84 9 ## ## (5) link settings ## LINKFORMAT= -N TEXTADDR?= 0xc000 ## ## (6) port specific target dependencies ## d86 3 a88 2 # depend on CPU configuration machdep.c trap.o: Makefile d90 1 a90 8 ## ## (7) misc settings ## ## ## (8) config(8) generated machinery ## %INCLUDES d98 24 d124 88 a212 5 ## ## (9) port independent kernel machinery ## .include "$S/conf/Makefile.kern.inc" @ 1.9.2.2 log @catch up with -current on kqueue branch @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.9.2.1 2002/01/10 19:45:16 thorpej Exp $ a34 3 .if defined(HAVE_GCC3) AFLAGS+= -x assembler-with-cpp .else a35 1 .endif @ 1.8 log @delete obsolete comment @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.7 2000/05/09 00:56:24 hubertf Exp $ d44 1 a44 1 CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dluna68k @ 1.8.2.1 log @Catch up to -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.8 2000/12/17 15:52:41 jdolecek Exp $ d44 1 a44 1 CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dluna68k @ 1.7 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.luna68k,v 1.6 2000/05/09 00:32:23 thorpej 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.7.6.1 log @file Makefile.luna68k was added on branch thorpej_scsipi on 2000-11-20 20:10:25 +0000 @ text @d1 218 @ 1.7.6.2 log @Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code. @ text @a0 218 # $NetBSD: Makefile.luna68k,v 1.7.6.1 2000/11/20 20:10:25 bouyer 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/luna68k/conf/``machineid'' # after which you should do # config machineid # Machine generic makefile changes should be made in # /sys/arch/luna68k/conf/Makefile.luna68k # after which config should be rerun for all machines of that type. # # 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 # DEBUG is set to -g if debugging. # PROF is set to -pg if profiling. AR?= ar AS?= as CC?= cc CPP?= cpp LD?= ld LORDER?=lorder MKDEP?= mkdep NM?= nm RANLIB?=ranlib SIZE?= size STRIP?= strip TSORT?= tsort -q OBJCOPY?= objcopy COPTS?= -O2 # source tree is located via $S relative to the compilation directory .ifndef S S!= cd ../../../..; pwd .endif LUNA68K=$S/arch/luna68k # Override CPP defaults entirely, so cross-compilation works. # Keep -nostdinc before all -I flags, similar for -undef ... HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo INCLUDES= -nostdinc -I. -I$S/arch -I$S CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dluna68k 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} -msoft-float AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE LINKFLAGS= -N -Ttext 0xc000 -e start STRIPFLAGS= -g %INCLUDES HOSTED_CC= ${CC} HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//} HOSTED_CFLAGS= ${CFLAGS} ### 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 ### for the Motorola 68040 Floating Point Software Product # .include "$S/arch/m68k/fpsp/Makefile.inc" # compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or # HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file). NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< NOPROF_C= ${CC} ${CFLAGS} ${CPPFLAGS} -c $< NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $< HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $< %OBJS %CFILES %SFILES # 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 ${FPSP} \ param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN} SYSTEM_DEP= Makefile ${SYSTEM_OBJ} SYSTEM_LD_HEAD= @@rm -f $@@ SYSTEM_LD= @@echo ${LD} ${LINKFLAGS} -o $@@ '$${SYSTEM_OBJ}' vers.o; \ ${LD} ${LINKFLAGS} -o $@@ ${SYSTEM_OBJ} vers.o SYSTEM_LD_TAIL= @@${SIZE} $@@; chmod 755 $@@ DEBUG?= .if ${DEBUG} == "-g" LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ echo mv -f $@@ $@@.gdb; mv -f $@@ $@@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb .else LINKFLAGS+= -S .endif %LOAD assym.h: $S/kern/genassym.sh ${LUNA68K}/luna68k/genassym.cf sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \ < ${LUNA68K}/luna68k/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 \ ${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= ${LUNA68K}/luna68k/locore.s \ param.c ioconf.c ${CFILES} ${SFILES} depend: .depend .depend: ${SRCS} assym.h param.c ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${LUNA68K}/luna68k/locore.s ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \ ${CPPFLAGS} < ${LUNA68K}/luna68k/genassym.cf @@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend @@rm -f assym.dep dependall: depend all # depend on root or device configuration autoconf.o conf.o: Makefile # depend on network or filesystem configuration uipc_proto.o vfs_conf.o: Makefile # depend on maxusers machdep.o: Makefile # depend on CPU configuration machdep.c trap.o: Makefile locore.o: ${LUNA68K}/luna68k/locore.s assym.h ${NORMAL_S} # The install target can be redefined by putting a # install-kernel-${MACHINE_NAME} target into /etc/mk.conf MACHINE_NAME!= uname -n install: install-kernel-${MACHINE_NAME} .if !target(install-kernel-${MACHINE_NAME}}) install-kernel-${MACHINE_NAME}: rm -f /onetbsd ln /netbsd /onetbsd cp netbsd /nnetbsd mv /nnetbsd /netbsd .endif %RULES @ 1.7.6.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.7.6.2 2001/01/05 17:34:34 bouyer Exp $ d14 6 @ 1.6 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.luna68k,v 1.5 2000/02/01 05:25:34 tsutsui Exp $ d205 12 @ 1.5 log @Revert STRIPPROG -> STRIP @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.4 2000/01/24 20:36:13 tron Exp $ d48 1 a48 1 HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo d51 6 a56 2 CWARNFLAGS?= -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes .if (${HAVE_GCC28} != "") @ 1.4 log @Add "dependall" target for comfort. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.3 2000/01/19 16:30:05 tsutsui Exp $ d34 1 a34 1 STRIPPROG?=strip d118 2 a119 2 echo ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIPPROG} ${STRIPFLAGS} -o $@@ $@@.gdb @ 1.3 log @STRIP -> STRIPPROG @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.2 2000/01/19 14:45:16 tsutsui Exp $ d183 3 @ 1.2 log @Change STRIPFLAGS=-g for cross-toolchains. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.1 2000/01/05 08:48:54 nisimura Exp $ d34 1 a34 1 STRIP?= strip d118 2 a119 2 echo ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@@ $@@.gdb @ 1.1 log @Introduce NetBSD/luna68k port into CVS repository. @ text @d1 1 a1 1 # $NetBSD: Makefile.luna68k,v 1.24 1997/04/08 22:04:16 gwr Exp $ d58 1 a58 1 STRIPFLAGS= -d @