Subject: "make release" works on sparc64 for cross.
To: None <port-sparc@netbsd.org, port-sparc64@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: port-sparc
Date: 01/23/2002 22:10:40
hi folks.
i've recently commited changes to allow the sparc64 port to have
a release built fully from cross compilation environment (ie, the
new build.sh.) the miniroot.fs doesn't have a disklabel but it
doesn't appear to ever need one. one will be appearing again
soon, using sunlabel.
i've investigated making this also work for sparc, but there is
a stumbling block. installboot wants the path of /filesystem/boot
so it can get block numbers to load... this is a problem for
working on a bare filesystem image. i think i've convinced
installboot to cope with the image, but it still wants the /boot
so it can stat it to get it's inode, to look up it's blocks.
i think the easiest way around this is to remove the need for
the hard coded set of bootblocks and manage loading /boot by
name like the alpha & pmax do (both who have typically much
larger object code than sparc :-). anyone want to work on this? :-)
.mrg.