From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 5 12:53:14 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A663616A519 for ; Thu, 5 Oct 2006 12:53:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36D7E43D76 for ; Thu, 5 Oct 2006 12:53:10 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k95Cr702043407; Thu, 5 Oct 2006 08:53:08 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 5 Oct 2006 08:34:14 -0400 User-Agent: KMail/1.9.1 References: <20061004155844.GA3652@zone3000.net> <84dead720610040910l7683f6c0l543cbd6077c8993e@mail.gmail.com> In-Reply-To: <84dead720610040910l7683f6c0l543cbd6077c8993e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610050834.14877.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Thu, 05 Oct 2006 08:53:08 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1997/Wed Oct 4 11:20:43 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: installkernel target. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Oct 2006 12:53:14 -0000 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