Get the source, either using CVS ( cf 6 ) or using the tgz package...
Go on now ! Let's customize the kernel.
The most simple if to download and to install the adjustkernel package and dependances from source:
cd /usr/pkgsrc/sysutils/adjustkernel && more DESCR
make && make install
Or, from the binary one :
_________________TODO_______________
Change to the directory containing kernel configuration files and adjust the kernel you are currently using. For me it's GENERIC_LAPTOP :
cd /usr/src/sys/arch/i386/conf
Now we can supprim configurations lines uneeded for your machine. Just type :
adjustkernel -f GENERIC_LAPTOP -r -o MYKERNEL
./sysupdate kernel
This will build the tool chain and your custumized kernel : MYKERNEL.