Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2003 21:12:21 +1000
From:      John Birrell <jb@cimlogic.com.au>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        current@freebsd.org
Subject:   Re: config(8) KERNEL setting
Message-ID:  <20030904111221.GE14639@freebsd1.cimlogic.com.au>
In-Reply-To: <xzp3cfc7sl6.fsf@dwp.des.no>
References:  <20030904041632.GA14639@freebsd1.cimlogic.com.au> <xzp3cfc7sl6.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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