Bug 20325

Summary: [PATCH] allow KERNEL to be set in make.conf when using build/installkernel
Product: Base System Reporter: k <k>
Component: miscAssignee: Marcel Moolenaar <marcel>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description k 2000-07-31 21:20:00 UTC
	If one sets KERNEL=FOO in /etc/make.conf the build/install-kernel targets 
	of src/Makefile.inc1 while create/install a kernel called 'FOO'.
	
	From cvs log, i belive marcels intent was to still name it 'kernel'
==
1.162 Sun Jul 23 17:38:32 2000 UTC by marcel 
Diffs to 1.161 

Name all kernels 'kernel'. This fixes the incompatible behaviour
of the buildkernel and installkernel targets where the kernel
was called after the config name.
==

	This was in a way fixed in 1.150 but reverted by accident in 1.162

How-To-Repeat: 	
	#echo 'KERNEL=GENERIC' >> /etc/make.conf
	#cd /usr/src/
	#make buildkernel

	and see it link a kernel called 'GENERIC'

	#make installkernel

	and see it install as 'GENERIC'
Comment 1 Marcel Moolenaar freebsd_committer freebsd_triage 2000-07-31 22:01:43 UTC
Responsible Changed
From-To: freebsd-bugs->marcel
Comment 2 Marcel Moolenaar freebsd_committer freebsd_triage 2000-08-03 06:52:52 UTC
State Changed
From-To: open->closed

Patch applied. Thanks!