makefile - How to build freebsd kernel ? -
according freebsd handbook, need use following targets build freebsd kernel :-
make kernconf=config_file buildkernel
now, if make small change in single source file, takes long time compile kernel. pretty sure because, built again including files not affected in anyway.
this creating big problem me build time large (around 45 minutes) .
how can build freebsd kernel , not rebuild ?
i have looked @ handbook , makefile couldn't find information related it.
use make kernconf=config_file buildkernel -dno_clean
. see build man page more details.
p.s. can put kernconf=config_file
in /etc/make.conf
, no_clean=true
in /etc/src.conf
avoid having type every time, don't have chance accidentally forget.