head	1.6;
access;
symbols
	netbsd-11-0-RC4:1.6
	netbsd-11-0-RC3:1.6
	netbsd-11-0-RC2:1.6
	netbsd-11-0-RC1:1.6
	perseant-exfatfs-base-20250801:1.6
	netbsd-11:1.6.0.68
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.66
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.6
	netbsd-9-4-RELEASE:1.6
	netbsd-10-0-RELEASE:1.6
	netbsd-10-0-RC6:1.6
	netbsd-10-0-RC5:1.6
	netbsd-10-0-RC4:1.6
	netbsd-10-0-RC3:1.6
	netbsd-10-0-RC2:1.6
	thorpej-ifq:1.6.0.64
	thorpej-ifq-base:1.6
	thorpej-altq-separation:1.6.0.62
	thorpej-altq-separation-base:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.60
	netbsd-10-base:1.6
	bouyer-sunxi-drm:1.6.0.58
	bouyer-sunxi-drm-base:1.6
	netbsd-9-3-RELEASE:1.6
	thorpej-i2c-spi-conf2:1.6.0.56
	thorpej-i2c-spi-conf2-base:1.6
	thorpej-futex2:1.6.0.54
	thorpej-futex2-base:1.6
	thorpej-cfargs2:1.6.0.52
	thorpej-cfargs2-base:1.6
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.50
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.6
	cjep_staticlib_x:1.6.0.48
	cjep_staticlib_x-base:1.6
	thorpej-i2c-spi-conf:1.6.0.46
	thorpej-i2c-spi-conf-base:1.6
	thorpej-cfargs:1.6.0.44
	thorpej-cfargs-base:1.6
	thorpej-futex:1.6.0.42
	thorpej-futex-base:1.6
	netbsd-9-1-RELEASE:1.6
	bouyer-xenpvh-base2:1.6
	phil-wifi-20200421:1.6
	bouyer-xenpvh-base1:1.6
	phil-wifi-20200411:1.6
	bouyer-xenpvh:1.6.0.40
	bouyer-xenpvh-base:1.6
	is-mlppp:1.6.0.38
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	netbsd-8-2-RELEASE:1.6
	ad-namecache-base3:1.6
	netbsd-9-0-RELEASE:1.6
	netbsd-9-0-RC2:1.6
	ad-namecache-base2:1.6
	ad-namecache-base1:1.6
	ad-namecache:1.6.0.36
	ad-namecache-base:1.6
	netbsd-9-0-RC1:1.6
	phil-wifi-20191119:1.6
	netbsd-9:1.6.0.34
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.6
	netbsd-8-1-RC1:1.6
	isaki-audio2:1.6.0.32
	isaki-audio2-base:1.6
	pgoyette-compat-merge-20190127:1.6
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.6
	pgoyette-compat-1020:1.6
	pgoyette-compat-0930:1.6
	pgoyette-compat-0906:1.6
	netbsd-7-2-RELEASE:1.6
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.6
	phil-wifi:1.6.0.30
	phil-wifi-base:1.6
	pgoyette-compat-0625:1.6
	netbsd-8-0-RC2:1.6
	pgoyette-compat-0521:1.6
	pgoyette-compat-0502:1.6
	pgoyette-compat-0422:1.6
	netbsd-8-0-RC1:1.6
	pgoyette-compat-0415:1.6
	pgoyette-compat-0407:1.6
	pgoyette-compat-0330:1.6
	pgoyette-compat-0322:1.6
	pgoyette-compat-0315:1.6
	netbsd-7-1-2-RELEASE:1.6
	pgoyette-compat:1.6.0.28
	pgoyette-compat-base:1.6
	netbsd-7-1-1-RELEASE:1.6
	tls-maxphys-base-20171202:1.6
	matt-nb8-mediatek:1.6.0.26
	matt-nb8-mediatek-base:1.6
	nick-nhusb-base-20170825:1.6
	perseant-stdc-iso10646:1.6.0.24
	perseant-stdc-iso10646-base:1.6
	netbsd-8:1.6.0.22
	netbsd-8-base:1.6
	prg-localcount2-base3:1.6
	prg-localcount2-base2:1.6
	prg-localcount2-base1:1.6
	prg-localcount2:1.6.0.20
	prg-localcount2-base:1.6
	pgoyette-localcount-20170426:1.6
	bouyer-socketcan-base1:1.6
	jdolecek-ncq:1.6.0.18
	jdolecek-ncq-base:1.6
	pgoyette-localcount-20170320:1.6
	netbsd-7-1:1.6.0.16
	netbsd-7-1-RELEASE:1.6
	netbsd-7-1-RC2:1.6
	nick-nhusb-base-20170204:1.6
	netbsd-7-nhusb-base-20170116:1.6
	bouyer-socketcan:1.6.0.14
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	netbsd-7-1-RC1:1.6
	nick-nhusb-base-20161204:1.6
	pgoyette-localcount-20161104:1.6
	netbsd-7-0-2-RELEASE:1.6
	nick-nhusb-base-20161004:1.6
	localcount-20160914:1.6
	netbsd-7-nhusb:1.6.0.12
	netbsd-7-nhusb-base:1.6
	pgoyette-localcount-20160806:1.6
	pgoyette-localcount-20160726:1.6
	pgoyette-localcount:1.6.0.10
	pgoyette-localcount-base:1.6
	nick-nhusb-base-20160907:1.6
	nick-nhusb-base-20160529:1.6
	netbsd-7-0-1-RELEASE:1.6
	nick-nhusb-base-20160422:1.6
	nick-nhusb-base-20160319:1.6
	nick-nhusb-base-20151226:1.6
	netbsd-7-0:1.6.0.8
	netbsd-7-0-RELEASE:1.6
	nick-nhusb-base-20150921:1.6
	netbsd-7-0-RC3:1.6
	netbsd-7-0-RC2:1.6
	netbsd-7-0-RC1:1.6
	nick-nhusb-base-20150606:1.6
	nick-nhusb-base-20150406:1.6
	nick-nhusb:1.6.0.6
	nick-nhusb-base:1.6
	netbsd-5-2-3-RELEASE:1.4
	netbsd-5-1-5-RELEASE:1.4
	netbsd-6-0-6-RELEASE:1.5.20.1
	netbsd-6-1-5-RELEASE:1.5.28.1
	netbsd-7:1.6.0.4
	netbsd-7-base:1.6
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.5
	netbsd-6-1-4-RELEASE:1.5.28.1
	netbsd-6-0-5-RELEASE:1.5.20.1
	tls-earlyentropy:1.6.0.2
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	netbsd-6-1-3-RELEASE:1.5.28.1
	netbsd-6-0-4-RELEASE:1.5.20.1
	netbsd-5-2-2-RELEASE:1.4
	netbsd-5-1-4-RELEASE:1.4
	netbsd-6-1-2-RELEASE:1.5.28.1
	netbsd-6-0-3-RELEASE:1.5.20.1
	netbsd-5-2-1-RELEASE:1.4
	netbsd-5-1-3-RELEASE:1.4
	rmind-smpnet-nbase:1.6
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.30
	riastradh-drm2-base:1.5
	rmind-smpnet:1.5.0.22
	rmind-smpnet-base:1.6
	netbsd-6-1:1.5.0.28
	netbsd-6-0-2-RELEASE:1.5
	netbsd-6-1-RELEASE:1.5
	khorben-n900:1.5.0.26
	netbsd-6-1-RC4:1.5
	netbsd-6-1-RC3:1.5
	agc-symver:1.5.0.24
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.5
	netbsd-6-1-RC1:1.5
	yamt-pagecache-base8:1.5
	netbsd-5-2:1.4.0.102
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.4
	netbsd-5-2-RC1:1.4
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.20
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.18
	tls-maxphys-base:1.6
	matt-nb6-plus:1.5.0.16
	matt-nb6-plus-base:1.5
	netbsd-6-0-RC1:1.5
	jmcneill-usbmp-base10:1.5
	yamt-pagecache-base5:1.5
	jmcneill-usbmp-base9:1.5
	yamt-pagecache-base4:1.5
	jmcneill-usbmp-base8:1.5
	jmcneill-usbmp-base7:1.5
	jmcneill-usbmp-base6:1.5
	jmcneill-usbmp-base5:1.5
	jmcneill-usbmp-base4:1.5
	jmcneill-usbmp-base3:1.5
	jmcneill-usbmp-pre-base2:1.5
	jmcneill-usbmp-base2:1.5
	netbsd-6:1.5.0.14
	netbsd-6-base:1.5
	netbsd-5-1-2-RELEASE:1.4
	netbsd-5-1-1-RELEASE:1.4
	jmcneill-usbmp:1.5.0.12
	jmcneill-usbmp-base:1.5
	jmcneill-audiomp3:1.5.0.10
	jmcneill-audiomp3-base:1.5
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.8
	yamt-pagecache-base:1.5
	rmind-uvmplock-nbase:1.5
	cherry-xenmp:1.5.0.6
	cherry-xenmp-base:1.5
	jym-xensuspend-nbase:1.5
	uebayasi-xip-base7:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.4
	bouyer-quota2-base:1.5
	jruoho-x86intr:1.5.0.2
	jruoho-x86intr-base:1.5
	matt-mips64-premerge-20101231:1.5
	matt-nb5-pq3:1.4.0.100
	matt-nb5-pq3-base:1.4
	netbsd-5-1:1.4.0.98
	netbsd-5-1-RELEASE:1.4
	yamt-nfs-mp-base11:1.4
	netbsd-5-1-RC4:1.4
	uebayasi-xip-base2:1.4
	yamt-nfs-mp-base10:1.4
	netbsd-5-1-RC3:1.4
	netbsd-5-1-RC2:1.4
	netbsd-5-1-RC1:1.4
	rmind-uvmplock:1.4.0.96
	rmind-uvmplock-base:1.5
	yamt-nfs-mp-base9:1.4
	uebayasi-xip:1.4.0.94
	uebayasi-xip-base:1.4
	netbsd-5-0-2-RELEASE:1.4
	yamt-nfs-mp-base8:1.4
	yamt-nfs-mp-base7:1.4
	netbsd-5-0-1-RELEASE:1.4
	jymxensuspend-base:1.4
	yamt-nfs-mp-base6:1.4
	yamt-nfs-mp-base5:1.4
	yamt-nfs-mp-base4:1.4
	yamt-nfs-mp-base3:1.4
	netbsd-5-0:1.4.0.92
	netbsd-5-0-RELEASE:1.4
	netbsd-5-0-RC4:1.4
	netbsd-5-0-RC3:1.4
	netbsd-5-0-RC2:1.4
	jym-xensuspend:1.4.0.90
	jym-xensuspend-base:1.5
	netbsd-5-0-RC1:1.4
	haad-dm-base2:1.4
	haad-nbase2:1.4
	ad-audiomp2:1.4.0.88
	ad-audiomp2-base:1.4
	netbsd-5:1.4.0.86
	netbsd-5-base:1.4
	haad-dm-base1:1.4
	haad-dm:1.4.0.84
	haad-dm-base:1.4
	simonb-wapbl-nbase:1.4
	yamt-pf42-base4:1.4
	simonb-wapbl:1.4.0.82
	simonb-wapbl-base:1.4
	yamt-pf42-base3:1.4
	hpcarm-cleanup-nbase:1.4
	yamt-pf42-base2:1.4
	yamt-nfs-mp-base2:1.4
	yamt-nfs-mp:1.4.0.80
	yamt-nfs-mp-base:1.4
	yamt-pf42:1.4.0.78
	yamt-pf42-base:1.4
	ad-socklock-base1:1.4
	yamt-lazymbuf-base15:1.4
	yamt-lazymbuf-base14:1.4
	keiichi-mipv6-nbase:1.4
	mjf-devfs2:1.4.0.76
	mjf-devfs2-base:1.4
	keiichi-mipv6:1.4.0.74
	keiichi-mipv6-base:1.4
	bouyer-xeni386-merge1:1.4
	vmlocking2-base3:1.4
	bouyer-xeni386-nbase:1.4
	yamt-kmem-base3:1.4
	cube-autoconf:1.4.0.72
	cube-autoconf-base:1.4
	yamt-kmem-base2:1.4
	bouyer-xeni386:1.4.0.70
	bouyer-xeni386-base:1.4
	yamt-kmem:1.4.0.68
	yamt-kmem-base:1.4
	vmlocking2-base2:1.4
	reinoud-bufcleanup-nbase:1.4
	vmlocking2:1.4.0.66
	vmlocking2-base1:1.4
	jmcneill-base:1.4
	mjf-devfs:1.4.0.64
	mjf-devfs-base:1.4
	bouyer-xenamd64-base2:1.4
	vmlocking-nbase:1.4
	yamt-x86pmap-base4:1.4
	bouyer-xenamd64:1.4.0.62
	bouyer-xenamd64-base:1.4
	yamt-x86pmap-base3:1.4
	yamt-x86pmap-base2:1.4
	yamt-x86pmap:1.4.0.60
	yamt-x86pmap-base:1.4
	jmcneill-pm:1.4.0.58
	jmcneill-pm-base:1.4
	hpcarm-cleanup:1.4.0.56
	hpcarm-cleanup-base:1.4
	mjf-ufs-trans-base:1.4
	yamt-idlelwp-base8:1.4
	ppcoea-renovation:1.4.0.54
	ppcoea-renovation-base:1.4
	reinoud-bufcleanup-base:1.4
	vmlocking:1.4.0.52
	vmlocking-base:1.4
	ad-audiomp:1.4.0.50
	ad-audiomp-base:1.4
	yamt-idlelwp:1.4.0.48
	post-newlock2-merge:1.4
	newlock2-nbase:1.4
	yamt-splraiseipl-base5:1.4
	yamt-splraiseipl-base4:1.4
	yamt-splraiseipl-base3:1.4
	yamt-splraiseipl-base2:1.4
	yamt-splraiseipl:1.4.0.46
	yamt-splraiseipl-base:1.4
	newlock2:1.4.0.44
	newlock2-base:1.4
	yamt-pdpolicy-base8:1.4
	yamt-pdpolicy-base7:1.4
	yamt-pdpolicy-base6:1.4
	gdamore-uart:1.4.0.42
	gdamore-uart-base:1.4
	simonb-timcounters-final:1.4
	yamt-pdpolicy-base5:1.4
	elad-kernelauth-nbase:1.4
	yamt-pdpolicy-base4:1.4
	yamt-pdpolicy-base3:1.4
	yamt-pdpolicy-base2:1.4
	yamt-pdpolicy:1.4.0.40
	yamt-pdpolicy-base:1.4
	yamt-uio_vmspace-base5:1.4
	simonb-timecounters:1.4.0.38
	simonb-timecounters-base:1.4
	rpaulo-netinet-merge-pcb:1.4.0.36
	rpaulo-netinet-merge-pcb-base:1.4
	yamt-uio_vmspace:1.4.0.34
	yamt-readahead-base3:1.4
	yamt-readahead-base2:1.4
	yamt-readahead:1.4.0.32
	yamt-readahead-base:1.4
	yamt-vop-base3:1.4
	yamt-vop-base2:1.4
	thorpej-vnode-attr:1.4.0.30
	thorpej-vnode-attr-base:1.4
	yamt-vop:1.4.0.28
	yamt-vop-base:1.4
	yamt-lazymbuf:1.4.0.26
	yamt-km-base4:1.4
	yamt-km-base3:1.4
	yamt-km-base2:1.4
	yamt-km:1.4.0.24
	yamt-km-base:1.4
	kent-audio2:1.4.0.22
	kent-audio2-base:1.4
	ktrace-lwp:1.4.0.20
	ktrace-lwp-base:1.4
	nathanw_sa_before_merge:1.4
	gmcgarry_ctxsw:1.4.0.18
	gmcgarry_ctxsw_base:1.4
	gmcgarry_ucred:1.4.0.16
	gmcgarry_ucred_base:1.4
	nathanw_sa_base:1.4
	gehenna-devsw:1.4.0.14
	gehenna-devsw-base:1.4
	netbsd-1-5-PATCH003:1.3
	eeh-devprop:1.4.0.12
	eeh-devprop-base:1.4
	newlock:1.4.0.10
	newlock-base:1.4
	ifpoll-base:1.4
	thorpej-mips-cache:1.4.0.6
	thorpej-mips-cache-base:1.4
	thorpej-devvp:1.4.0.4
	thorpej-devvp-base:1.4
	netbsd-1-5-PATCH002:1.3
	kqueue:1.4.0.2
	kqueue-base:1.4
	netbsd-1-5-PATCH001:1.3
	thorpej_scsipi_beforemerge:1.4
	thorpej_scsipi_nbase:1.4
	netbsd-1-5-RELEASE:1.3
	netbsd-1-5-BETA2:1.3
	netbsd-1-5-BETA:1.3
	netbsd-1-4-PATCH003:1.3
	netbsd-1-5-ALPHA2:1.3
	netbsd-1-5:1.3.0.28
	netbsd-1-5-base:1.3
	minoura-xpg4dl-base:1.3
	minoura-xpg4dl:1.3.0.26
	scw_mvme68k_bus_space:1.3.0.24
	netbsd-1-4-PATCH002:1.3
	chs-ubc2-newbase:1.3
	wrstuden-devbsize-19991221:1.3
	wrstuden-devbsize:1.3.0.22
	wrstuden-devbsize-base:1.3
	kame_141_19991130:1.3
	comdex-fall-1999:1.3.0.20
	comdex-fall-1999-base:1.3
	fvdl-softdep:1.3.0.18
	fvdl-softdep-base:1.3
	thorpej_scsipi:1.3.0.16
	thorpej_scsipi_base:1.4
	netbsd-1-4-PATCH001:1.3
	kame_14_19990705:1.3
	kame_14_19990628:1.3
	kame:1.3.0.14
	chs-ubc2:1.3.0.12
	chs-ubc2-base:1.3
	netbsd-1-4-RELEASE:1.3
	netbsd-1-4:1.3.0.10
	netbsd-1-4-base:1.3
	scw-mvme167:1.3.0.8
	netbsd-1-3-PATCH003:1.2
	netbsd-1-3-PATCH003-CANDIDATE2:1.2
	kenh-if-detach:1.3.0.6
	kenh-if-detach-base:1.3
	netbsd-1-3-PATCH003-CANDIDATE1:1.2
	netbsd-1-3-PATCH003-CANDIDATE0:1.2
	chs-ubc:1.3.0.4
	chs-ubc-base:1.3
	eeh-paddr_t:1.3.0.2
	eeh-paddr_t-base:1.3
	netbsd-1-3-PATCH002:1.2
	netbsd-1-3-PATCH001:1.2
	netbsd-1-3-RELEASE:1.2
	netbsd-1-3-BETA:1.2
	netbsd-1-3:1.2.0.8
	netbsd-1-3-base:1.2
	thorpej-signal:1.2.0.6
	thorpej-signal-base:1.2
	marc-pcmcia:1.2.0.4
	marc-pcmcia-bp:1.2
	marc-pcmcia-base:1.2
	bouyer-scsipi:1.2.0.2
	is-newarp-before-merge:1.1
	is-newarp:1.1.0.8
	is-newarp-base:1.1
	netbsd-1-2-PATCH001:1.1
	mrg-vm-swap:1.1.0.6
	thorpej-setroot:1.1.0.2
	netbsd-1-2-RELEASE:1.1
	netbsd-1-2-BETA:1.1
	netbsd-1-2:1.1.0.4
	netbsd-1-2-base:1.1;
locks; strict;
comment	@# @;


1.6
date	2013.09.21.08.32.39;	author tsutsui;	state Exp;
branches;
next	1.5;

1.5
date	2011.01.02.05.30.12;	author tsutsui;	state Exp;
branches
	1.5.8.1
	1.5.14.1
	1.5.18.1
	1.5.20.1
	1.5.22.1
	1.5.28.1;
next	1.4;

1.4
date	2000.07.24.18.39.44;	author jdolecek;	state dead;
branches
	1.4.90.1
	1.4.96.1;
next	1.3;

1.3
date	98.06.12.23.11.46;	author cgd;	state Exp;
branches
	1.3.16.1;
next	1.2;

1.2
date	97.05.07.07.15.47;	author mycroft;	state Exp;
branches;
next	1.1;

1.1
date	96.05.17.20.52.47;	author chuck;	state Exp;
branches;
next	;

1.5.8.1
date	2014.05.22.11.39.59;	author yamt;	state Exp;
branches;
next	;

1.5.14.1
date	2013.09.23.14.20.42;	author riz;	state Exp;
branches;
next	;

1.5.18.1
date	2014.08.20.00.03.14;	author tls;	state Exp;
branches;
next	;

1.5.20.1
date	2013.09.26.15.58.31;	author riz;	state Exp;
branches;
next	;

1.5.22.1
date	2014.05.18.17.45.18;	author rmind;	state Exp;
branches;
next	;

1.5.28.1
date	2013.09.23.14.21.20;	author riz;	state Exp;
branches;
next	;

1.4.90.1
date	2011.01.10.00.37.35;	author jym;	state Exp;
branches;
next	;

1.4.96.1
date	2011.03.05.20.51.19;	author rmind;	state Exp;
branches;
next	;

1.3.16.1
date	2000.11.20.22.16.52;	author bouyer;	state dead;
branches;
next	;


desc
@@


1.6
log
@Explicitly link SRT0.o (Standalone RunTime startup code) first.

This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.

The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.

Should be pulled up to netbsd-6 branches.
@
text
@#	$NetBSD: Makefile.inc,v 1.5 2011/01/02 05:30:12 tsutsui Exp $

S!= cd ${SA_EXTRADIR}/../../../..; pwd

.PATH.c: ${SA_EXTRADIR}
.PATH.S: ${SA_EXTRADIR}

SRC_sa=   dev_net.c

SRC_mvme= exec_mvme.c

SRC_here= bugdev.c \
	  chiptotime.c clock.c \
	  parse_args.c

SRCS+= ${SRC_sa} ${SRC_mvme} ${SRC_here}
@


1.5
log
@Switch mvme68k standalone problams to using MI libsa and libkern
for maintainablility. Also bump version for note.

Compile test only, but no functional changes.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
a12 2
SRC_here= SRT0.S \
	  bugdev.c \
@


1.5.18.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d12 2
a13 1
SRC_here= bugdev.c \
@


1.5.8.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.inc,v 1.5 2011/01/02 05:30:12 tsutsui Exp $
d12 2
a13 1
SRC_here= bugdev.c \
@


1.5.22.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2011/01/02 05:30:12 tsutsui Exp $
d12 2
a13 1
SRC_here= bugdev.c \
@


1.5.20.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #954):
	sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
	sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
	sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
	sys/arch/mvme68k/include/prom.h: revision 1.18
	sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
	sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2011/01/02 05:30:12 tsutsui Exp $
d12 2
a13 1
SRC_here= bugdev.c \
@


1.5.28.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #954):
	sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
	sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
	sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
	sys/arch/mvme68k/include/prom.h: revision 1.18
	sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
	sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2011/01/02 05:30:12 tsutsui Exp $
d12 2
a13 1
SRC_here= bugdev.c \
@


1.5.14.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #954):
	sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
	sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
	sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
	sys/arch/mvme68k/include/prom.h: revision 1.18
	sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
	sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2011/01/02 05:30:12 tsutsui Exp $
d12 2
a13 1
SRC_here= bugdev.c \
@


1.4
log
@cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
	stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
	-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
	and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
	stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
	instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)

Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 1998/06/12 23:11:46 cgd Exp $
d3 1
a3 1
LIB_SA_DIR=${S}/arch/mvme68k/stand/libsa
d5 2
a6 2
LIBSA_DIR!=cd ${LIB_SA_DIR}; \
     printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
d8 1
a8 2
LIBSA=${LIBSA_DIR}/libsa.a
SRTOBJ?= ${LIBSA_DIR}/SRT0.o 
d10 1
a10 3
$(LIBSA):	.NOTMAIN __always_make_libsa
	@@echo making sure the libsa is up to date...
	@@(cd ${LIB_SA_DIR}; ${MAKE})
d12 6
a17 1
__always_make_libsa:	.NOTMAIN
@


1.4.96.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
a3 1
S!= cd ${SA_EXTRADIR}/../../../..; pwd
d5 2
a6 2
.PATH.c: ${SA_EXTRADIR}
.PATH.S: ${SA_EXTRADIR}
d8 2
a9 1
SRC_sa=   dev_net.c
d11 3
a13 1
SRC_mvme= exec_mvme.c
d15 1
a15 6
SRC_here= SRT0.S \
	  bugdev.c \
	  chiptotime.c clock.c \
	  parse_args.c

SRCS+= ${SRC_sa} ${SRC_mvme} ${SRC_here}
@


1.4.90.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 2011/01/02 05:30:12 tsutsui Exp $
d3 1
a3 1
S!= cd ${SA_EXTRADIR}/../../../..; pwd
d5 2
a6 2
.PATH.c: ${SA_EXTRADIR}
.PATH.S: ${SA_EXTRADIR}
d8 2
a9 1
SRC_sa=   dev_net.c
d11 3
a13 1
SRC_mvme= exec_mvme.c
d15 1
a15 6
SRC_here= SRT0.S \
	  bugdev.c \
	  chiptotime.c clock.c \
	  parse_args.c

SRCS+= ${SRC_sa} ${SRC_mvme} ${SRC_here}
@


1.3
log
@replace ${MACHINE} with mvme68k, so that these Makefiles can safely
be run when MACHINE != mvme68k.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.2 1997/05/07 07:15:47 mycroft Exp $
@


1.3.16.1
log
@Remove files that are no longer on the trunck
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.3 1998/06/12 23:11:46 cgd Exp $
@


1.2
log
@Add .MAKE to the .OBJDIR hacks, so they work with `make -n'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1 1996/05/17 20:52:47 chuck Exp $
d3 1
a3 1
LIB_SA_DIR=${S}/arch/${MACHINE}/stand/libsa
@


1.1
log
@update for my reorg
@
text
@d1 1
a1 1
#	$NetBSD$
d5 2
a6 2
LIBSA_DIR!= cd ${LIB_SA_DIR}; \
     printf "xxx:\n\techo \$${.OBJDIR}\n" | ${MAKE} -r -s -f - xxx
@
