Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2006 08:34:14 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: installkernel target.
Message-ID:  <200610050834.14877.jhb@freebsd.org>
In-Reply-To: <84dead720610040910l7683f6c0l543cbd6077c8993e@mail.gmail.com>
References:  <20061004155844.GA3652@zone3000.net> <84dead720610040910l7683f6c0l543cbd6077c8993e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 04 October 2006 12:10, Joseph Koshy wrote:
> > Is there any supported way to make installkernel directly to some
> > directory. I want to build two kernels (like /boot/kernel.SMP/ and
> > /boot/kernel.UP/) in my installation script and DESTDIR is quite useless
> > is this case.
> 
>        make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel

Or:

make installkernel KERNCONF=FOO INSTKERNNAME=bar

will install to /boot/bar/kernel.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610050834.14877.jhb>