From owner-freebsd-current@FreeBSD.ORG Thu Sep 4 04:10:52 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DAA316A4BF for ; Thu, 4 Sep 2003 04:10:52 -0700 (PDT) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0A4243FA3 for ; Thu, 4 Sep 2003 04:10:46 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: from freebsd1.cimlogic.com.au (localhost [127.0.0.1]) by cimlogic.com.au (8.12.9/8.12.9) with ESMTP id h84BCLbZ016882; Thu, 4 Sep 2003 21:12:21 +1000 (EST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.12.9/8.12.9/Submit) id h84BCLeg016881; Thu, 4 Sep 2003 21:12:21 +1000 (EST) Date: Thu, 4 Sep 2003 21:12:21 +1000 From: John Birrell To: Dag-Erling Sm?rgrav Message-ID: <20030904111221.GE14639@freebsd1.cimlogic.com.au> References: <20030904041632.GA14639@freebsd1.cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: config(8) KERNEL setting X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 11:10:52 -0000 On Thu, Sep 04, 2003 at 12:31:33PM +0200, Dag-Erling Sm?rgrav wrote: > I have > > Index: kern.pre.mk > =================================================================== > RCS file: /home/ncvs/src/sys/conf/kern.pre.mk,v > retrieving revision 1.34 > diff -u -r1.34 kern.pre.mk > --- kern.pre.mk 22 Aug 2003 15:41:44 -0000 1.34 > +++ kern.pre.mk 29 Aug 2003 21:06:02 -0000 > @@ -9,7 +9,8 @@ > # Can be overridden by makeoptions or /etc/make.conf > KERNEL_KO?= kernel > KERNEL?= kernel > -KODIR?= /boot/${KERNEL} > +KODIR?= /boot/${KERN_IDENT} > +BOOTKODIR?= /boot/${KERNEL} > > M= ${MACHINE_ARCH} > > > and in /boot/loader.conf: > > kernel="dwp_smp" > #kernel="dwp_up" My kernel is intended for netbooting and the loader isn't needed. It seems what I really should be using is: makeoptions KERNEL_KO=foo That gives me what I need. -- John Birrell