Compile a module

This afternoon i had some problems when i wanted to add a network kernel driver to my Raspberry PI (using FreeBSD 10.0 -current). When i ask some ideas to FreeBSD ARM list, i have learnt how to compile only ONE module, not all kernel. It’s very usefull for debug purposes or driver devel. Here are the commands.:

cd /usr/src/sys/modules/<module>/
make
make install
make load

Alea jacta est, you can prepare yourselves to kernel panic, because of a missing test !