Re: config(8) KERNEL setting

From: John Birrell <jb_at_cimlogic.com.au>
Date: Thu, 4 Sep 2003 21:12:21 +1000
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
> _at__at_ -9,7 +9,8 _at__at_
>  # 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
Received on Thu Sep 04 2003 - 02:10:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC