KERNCONF is used to point at the new configuration file being used. If this is omitted, GENERIC will be used.
If the system source files have not been updated:
# cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL
If system source has been updated, it is a good idea to also rebuild all of the user applications ("world") on the system in case significant changes have happened in the kernel or userland applications, and the existing version(s) would not match. This will take longer than a simple kernel build and installation.
Check /usr/src/UPDATING for any last-minute changes before starting.
# cd /usr/src # make buildworld # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # make installworld # make upgrade
A reboot will be needed.
Contact the Documentation Team for comments, suggestions and questions about this document.