Willie Walker wrote:
> Hi All:
>
> I'm toying with creating a patch for 
> http://defect.opensolaris.org/bz/show_bug.cgi?id=5908, which involves 
> modifying GRUB.
>
> The problem is that I'm not quite sure how to go about building it and 
> then updating the MBR once I've done so. I've grabbed the sources from 
> anon at hg.opensolaris.org/hg/onnv/onnv-gate and I've played with the 
> config file.  From the -Wall entries and such in the configure file, 
> it appears to rely upon gcc, but I can't get past the configure phase 
> even if I install SUNWgcc.
I think grub sources in onnv gate do not build with gnu tools, looks 
they require sysv make and sun compiler, e.g. Makefile.solaris. So I 
guess applying your patch to the local workspace which is a clone of 
onnv gate and build that workspace with /opt/onbld/bin/nightly 
(delivered by SUNWonbld) could be easier.

>
> Does anyone have any tips or tricks for how I might go about building 
> this?
I'm not sure how to build some components selectively, probably you need 
/opt/onbld/bin/bldenv.
Here is a long guide: http://opensolaris.org/os/community/on/devref_toc/

lin


Reply via email to