Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2003 14:16:32 +1000
From:      John Birrell <jb@cimlogic.com.au>
To:        current@freebsd.org
Subject:   config(8) KERNEL setting
Message-ID:  <20030904041632.GA14639@freebsd1.cimlogic.com.au>

next in thread | raw e-mail | index | archive | help
In a RELENG_4 kernel build, I'm accustomed to setting 'config foo' in
a kernel configuration file and ending up with a kernel called 'foo'.

In current, kern.pre.mk contains:

KERNEL_KO?=	kernel
KERNEL?=	kernel
KODIR?=		/boot/${KERNEL}

however kern.post.mk only uses KERNEL_KO, so even though config(8) has
set KERNEL for me, that name only gets used for the boot directory.
There doesn't seem to be any way of getting KERNEL_KO set from the
kernel config file.

It would make more sense to me if kern.pre.mk contained this:

KERNEL?=	kernel
KERNEL_KO?=	${KERNEL}
KODIR?=		/boot/${KERNEL}

Comments?

-- 
John Birrell



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