Clone Linux source

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
git branch mybranch
git checkout mybranch
make clean ; make mrporper
cp /boot/config .config
make localmodconfig

In most Linux distributions build with:

make -j2
make modules_install

En Debian la siguiente línea se hace cargo de ejecutar make y crea un paquete .deb

sudo apt-get install kernel-package git libssl-dev
make deb-pgk

Referencias