On 10/10/07, Darren J Moffat <[EMAIL PROTECTED]> wrote: > Robin du wrote: > > HI list, > > > > If I just want to build the kernel image for intel x64 machine only and > > upgrade the system. > > What is the best way? I mean I want to get the shortest the building > > time,not building SUN sparc staff. > > When you build the kernel (or any of ON for that matter) you always only > build x86 or sparc since there is no cross compilation support. The > makefiles are setup to only build the binaries relevant for each > architecture.
My steps as follows: 1) #cd $(SRC)/uts 2) dmake all 3) make install 4) Install -G kernel.robin -k i86pc 5) extract kernel image and update another menu.lst entry. It will take a long time even I change only one line of the source. I can't bear with it. Can this be improved? > > If you really only want to build and install the kernel then run "make > install" in $SRC/uts and if you really know what you are doing you can > use Install(1) (from SUNWonbld) to install just a kernel - but note this > is very fragile and may cause panic's depending on what you change. It > is recommended to build the whole ON tree and use bfu unless you are > 100% certain your changes are kernel only. Hmm..., I thought Cap-Eye-Install is safer than BFU, because it doesn't overwrite the current kernel image. Why BFU is recommended? any known issue about Cap-Eye-Install? Thanks, -Robin _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
