On Sun Dec  9 2012 11:59, John Long wrote:
> On Sun, Dec 09, 2012 at 12:21:34PM +0100, Paul de Weerd wrote:
> > Alternatively, you can `make` GENERIC and `make install` GENERIC.MP.
> > Or just skip making the SP kernel, you don't need to have it around
> > per se ;)
> 
> I didn't know if make generic would leave a finished bsd.sp kernel in /
> Not sure what the kernel make install target does, since I wasn't paying
> attention after building the kernel a bunch of times on my Fuloong box.

In both cases, whether it's GENERIC or GENERIC.MP, `make install` installs
the kernel to /bsd:

rm -f /obsd
ln /bsd /obsd
cp bsd /nbsd
mv /nbsd /bsd

> If make builds a kernel and leaves it in / and just doesn't point the
> bootloader at it that will be enough and I'll just make install the mp
> kernel like I think you are saying.

The bootloader loads /bsd by default. So, if you're about to provide
both versions, and you generally want GENERIC.MP to be loaded, you'd
`make install` GENERIC.MP, and than manually copy the binary from
GENERIC to /bsd.sp.

At the boot prompt, you may choose the SP kernel by typing `boot bsd.sp`.

Reply via email to