[Debian] compiling new kernel - potty-dzmeia/libraries GitHub Wiki

  1. wget http://ww.kernel.org/pub/linux/kernel/v3.0/linux-3.4.tar.bx2

  2. tar xvf linux-3.4.tar.bz2

  3. cd /tmp/linux-3.4.

  4. /boot/config-3.2.0-4-486 .config

  5. make menuconfig

  6. make-kpkg clean

  7. export CONCURRENCY_LEVEL=3

  8. fakeroot make-kpkg --append-to-version "-gm3688support" --revision "2" --initrd kernel_image kernel_headers

  9. dpkg --install nameofthepackage