Freebsd building a kernel
Prerequisites
Install subversion
- pkg install -y subversion
- rehash
Get the kernel
- svn co https://svn0.us-east.FreeBSD.org/base/stable/10 /usr/src
Kernel building
Go to the right directory
- cd /usr/src/sys/`uname -m`/conf
Save the generic config
- cp GENERIC XINUXKERNEL
Add an option
- XINUXKERNEL
Example:
options IPSEC_NAT_T