Discrepancy between UPDATING and kernel config command

Remko Lodder remko at elvandar.org
Sun Apr 13 07:41:42 UTC 2008


Aaron Siegel wrote:
> Hello
> 
> I just recently notice a small discrepancy between the instructions for 
> building a kernel in the UPDATING file and the out put of the config command. 
> The output of the config command includes the "make cleandepend" which is not 
> included in the instructions listed in the UPDATING file.  The config comand 
> output:
> 
> ... Don't forget to do ``make cleandepend && make depend'' ...
> 
> The instruction listed in UPDATING 7.0 stable, 20080226;
> 	cd src/sys/${arch}/conf
>         config KERNEL_NAME_HERE
>         cd ../compile/KERNEL_NAME_HERE
>         make depend
>         make
>         make install
> 
> I am not sure if this deserves a problem report. I did search the PR and did 
> not find any related to this problem.
> 
> I am not subscribed to the bugs list, forward your reply to the reply to 
> address.
> 
> Aaron
> _______________________________________________

You should probably read:

http://www.freebsd.org/doc/en/books/handbook/makeworld.html

Note that KERNCONF=<YOURKERNELCONFIGHERE> in (For example) make 
buildkernel KERNCONF=<YOURKERNELCONFIGHERE> will build YOUR kernel 
configuration.

To make such a configuration implicit, add 
KERNCONF=<YOURKERNELCONFIGHERE> to /etc/make.conf

Note that the above could raise problems at some point, so do not forget 
the line was added :)

Hopefully this helps!

Best regards,
Remko

-- 

/"\   Best regards,                      | remko at FreeBSD.org
\ /   Remko Lodder                       | remko at EFnet
  X    http://www.evilcoder.org/          |
/ \   ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-bugs mailing list